[PATCH] D45453: [InstCombine] Enable Add/Sub simplifications with only 'reassoc' FMF

Warren Ristow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 9 13:27:31 PDT 2018


wristow created this revision.
wristow added reviewers: spatel, majnemer, efriedma.

These simplifications were previously enabled only with isFast(), but that
is more restrictive than required.  Since r317488, FMF has 'reassoc' to
control these cases at a finer level.


https://reviews.llvm.org/D45453

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/Reassociate/fast-MissedTree.ll
  test/Transforms/Reassociate/fast-SubReassociate.ll
  test/Transforms/Reassociate/fast-basictest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45453.141724.patch
Type: text/x-patch
Size: 6544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180409/dadbaf39/attachment.bin>


More information about the llvm-commits mailing list