[PATCH] [InstCombineCompares] Added shl optimization for the instruction - icmp ugt/ult/uge/ule (shl Const2, A), Const1

Ankur Garg ankur29.garg at samsung.com
Thu Nov 27 03:11:22 PST 2014


This transformation is not possible for 'shl' instruction (example in the previous comment).

Thanks.

http://reviews.llvm.org/D6131






More information about the llvm-commits mailing list