[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 01:45:16 PDT 2014


Hi David,
I have made the changes as per your comments.

Please review the updated revision.
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.15114.patch
Type: text/x-patch
Size: 5734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141018/6d0552e0/attachment.bin>


More information about the llvm-commits mailing list