[PATCH] [InstCombineAddSub] Transformation for the expression (X | Y) - X --> (~X & Y)

Ankur Garg ankur29.garg at samsung.com
Sun Nov 2 21:28:27 PST 2014


Added the test case. Forgot to include it in the last revision.

http://reviews.llvm.org/D5791

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/sub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5791.15683.patch
Type: text/x-patch
Size: 2404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141103/4956c7a5/attachment.bin>


More information about the llvm-commits mailing list