[PATCH] Added InstCombine for ((1 << X) & C) pattern

Dinesh Dwivedi dinesh.d at samsung.com
Fri May 9 15:32:27 PDT 2014


Thanks for review. I have tested it for test cases with if(..) and saw that select instruction I introduced is getting combined with select instruction from if statement and resulted code had less instructions.

I agree with you point and will update patch accordingly.

http://reviews.llvm.org/D3678






More information about the llvm-commits mailing list