[PATCH] [InstCombineCompares] Added shl optimization for the instruction - icmp eq/ne (shl Const2, A), Const1
Ankur Garg
ankur29.garg at samsung.com
Sat Oct 18 22:25:39 PDT 2014
Hi David,
Thanks for reviewing the patch.
I have renamed the variable 'Zeros' to 'AP2TrailingZeros' as per your comments.
Also, Can you please commit this patch, as I don't have commit access.
Thanks.
http://reviews.llvm.org/D5839
Files:
lib/Transforms/InstCombine/InstCombine.h
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5839.15129.patch
Type: text/x-patch
Size: 5574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141019/a97c4f9f/attachment.bin>
More information about the llvm-commits
mailing list