Skip to content
Snippets Groups Projects
Commit faf164db authored by John Ericson's avatar John Ericson Committed by Marge Bot
Browse files

Cleanup primop constant folding rules in a few ways

 - `leftZero`, `rightZero` and `zeroElem` could all be written using `isZeroLit`

 - "modulo 1" rules could be written with `nonOneLit 1 $> Lit zero<type>`

All are due to @hsyl20; thanks!
parent 22d01924
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment