[PATCH] [Instcombine/InstSimplify] Move optimization from instcombine to instsimplify

Rahul Jain rahul1.jain at samsung.com
Wed Jun 18 07:18:06 PDT 2014


Hi Nick,

Thanks a lot for the review.
Updated patch as per your comment.
1) Sinked variable declarations next to their usage.
2) Folded if statements.
3) Added testcase.

Please help review the same.
If it looks good to you, please commit it for me. 
Soon will ask for commit access.

Thanks,
Rahul

http://reviews.llvm.org/D4100

Files:
  lib/Analysis/InstructionSimplify.cpp
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  test/Transforms/InstSimplify/apint-or.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4100.10565.patch
Type: text/x-patch
Size: 4626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140618/f077644c/attachment.bin>


More information about the llvm-commits mailing list