diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-07-06 17:26:29 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-07-15 23:29:09 -0400 |
commit | de98a0ce8f184c9653477ee41602f999c7a381e1 (patch) | |
tree | 0a4ecccb30c949934e1b07e69c66f77f88b6b088 /testsuite/tests/perf | |
parent | 9992159318d0f0c3fcf1c1ae060bb15d0b5fc1a8 (diff) | |
download | haskell-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')
0 files changed, 0 insertions, 0 deletions