[PATCH] D43237: [LoopInterchange] Allow some loops with PHI nodes in the exit block.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 13 12:35:12 PDT 2018
fhahn updated this revision to Diff 138244.
fhahn edited the summary of this revision.
fhahn added a comment.
Made check slightly more direct. I went ahead and limited it loop latches with a single predecessor, because we need additional logic to update the PHI nodes in that case. The LI tests also changed a bit after https://reviews.llvm.org/D35430, so I updated the tests this patch touches.
https://reviews.llvm.org/D43237
Files:
lib/Transforms/Scalar/LoopInterchange.cpp
test/Transforms/LoopInterchange/current-limitations-lcssa.ll
test/Transforms/LoopInterchange/lcssa.ll
test/Transforms/LoopInterchange/reductions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43237.138244.patch
Type: text/x-patch
Size: 15731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/0e047c21/attachment.bin>
More information about the llvm-commits
mailing list