[PATCH] Added instruction combine to transform few more negative values addition to subtraction

Dinesh Dwivedi dinesh.d at samsung.com
Tue May 13 00:01:47 PDT 2014


Removed hasOneUse() check and updated test cases. This patch takes care of PR14365

http://reviews.llvm.org/D3733

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/add2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3733.9333.patch
Type: text/x-patch
Size: 3616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140513/8f5e1f1b/attachment.bin>


More information about the llvm-commits mailing list