[PATCH] Added a new transformation " (X + Y) - (X + Z) --> (Y - Z) "

sonam kumari sonam.kumari at samsung.com
Wed Oct 15 23:44:00 PDT 2014


Hi dexonsmith, majnemer, suyog,

Hi All,

Submitted a patch related to subtraction optimization.

The optimization is :
(X + Y) - (X + Z) --> (Y - Z)

Please help in reviewing it.

Regards,
Sonam.

http://reviews.llvm.org/D5813

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/sub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5813.14982.patch
Type: text/x-patch
Size: 1205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141016/b0cda0af/attachment.bin>


More information about the llvm-commits mailing list