[PATCH] D56679: [InstCombine] Don't undo 0 - (X * Y) canonicalization when combining subs.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 14 12:18:29 PST 2019


fhahn updated this revision to Diff 181627.
fhahn added a comment.

Thanks, added check for ConstantExpr.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56679/new/

https://reviews.llvm.org/D56679

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56679.181627.patch
Type: text/x-patch
Size: 3862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190114/aa67d55c/attachment.bin>


More information about the llvm-commits mailing list