[PATCH] D84399: [SCEVExpander] Avoid re-using existing casts if it means updating users.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 31 10:36:35 PDT 2020
fhahn updated this revision to Diff 282261.
fhahn added a comment.
Handle the case where MustDominate is in InsertedInstructions more obviously, by including the check in the loop condition.
This also requires us to track the inserted LCSSA phis, so I put up D85037 <https://reviews.llvm.org/D85037>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84399/new/
https://reviews.llvm.org/D84399
Files:
llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
llvm/test/Transforms/LoopDistribute/bounds-expansion-bug.ll
llvm/test/Transforms/LoopIdiom/reuse-cast.ll
llvm/test/Transforms/LoopStrengthReduce/pr27056.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84399.282261.patch
Type: text/x-patch
Size: 7439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200731/dedb4536/attachment.bin>
More information about the llvm-commits
mailing list