[PATCH] D70462: [InstCombine] Change InstCombineAddSub to not perform constant folding when there is an intermediate use of the source register.

Danilo Carvalho Grael via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 12:04:26 PST 2019


dancgr updated this revision to Diff 231119.
dancgr added a comment.

- [Transform][InstCombine] Add new test case for the specified scenario.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70462

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/test/Transforms/InstCombine/addsub-constant-folding.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70462.231119.patch
Type: text/x-patch
Size: 6696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191126/1372c586/attachment.bin>


More information about the llvm-commits mailing list