[PATCH] D45945: [LoopRotate] Fix incorrect SCEV invalidation in loop rotation
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 23 04:45:12 PDT 2018
mkazantsev created this revision.
mkazantsev added reviewers: chandlerc, sanjoy, reames, hfinkel.
Herald added a subscriber: javed.absar.
LoopRotate only invalidates innermost loops while the changes that it makes may
also affert any of this parents. It is possible after the patch With patch https://reviews.llvm.org/rL329047,
SCEV becomes much smarter about calculation of exit counts for outer loops, so
we cannot assume that they are not affected.
https://reviews.llvm.org/D45945
Files:
lib/Transforms/Utils/LoopRotationUtils.cpp
test/Transforms/LoopRotate/pr37205.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45945.143527.patch
Type: text/x-patch
Size: 5131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180423/76533db5/attachment.bin>
More information about the llvm-commits
mailing list