InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...
InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x is smaller than 2^n and it fuses with a following add. This was intended to undo the sub canonicalization in cases where it's not profitable, but it also finds some cases on it's own. llvm-svn: 147256
Loading
Please register or sign in to comment