summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/compiler/all.T
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-07-06 17:26:29 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-07-15 23:29:09 -0400
commitde98a0ce8f184c9653477ee41602f999c7a381e1 (patch)
tree0a4ecccb30c949934e1b07e69c66f77f88b6b088 /testsuite/tests/perf/compiler/all.T
parent9992159318d0f0c3fcf1c1ae060bb15d0b5fc1a8 (diff)
downloadhaskell-de98a0ce8f184c9653477ee41602f999c7a381e1.tar.gz
Additional constant-folding rule for binary AND/OR
Add a constant folding rule allowing the subsumption of an application if the same argument is applied twice, e.g. (v .&. 0xFF) .&. 0xFF ~~> v .&. 0xFF (v .|. 0xFF) .|. 0xFF ~~> v .|. 0xFF
Diffstat (limited to 'testsuite/tests/perf/compiler/all.T')
0 files changed, 0 insertions, 0 deletions