Skip to content

WIP: Implement testBit via tagToEnum# for Int*/Word* types.

Dmitry Ivanov requested to merge ethercrow/ghc:testBit-via-tagToEnum into master

I took a stab at implementing #18014.

I also have no idea how to check if it's correct or faster.

Please take a few moments to verify that your commits fulfill the following:

  • are either individually buildable or squashed
  • have commit messages which describe what they do (referring to [Notes][notes] and tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a [Note][notes] and cross-reference it from the relevant places.
  • add a testcase to the testsuite.
  • replace this message with a description motivating your change

Merge request reports