[PATCH] D72420: [LoopRotate] Add support for rotating loops with switch exit

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 6 15:21:24 PST 2021


nikic updated this revision to Diff 321967.
nikic edited the summary of this revision.
nikic added a comment.

Make this patch independent of D72519 <https://reviews.llvm.org/D72519>, by not handling multi-edges from the header into the loop yet. This means this patch doesn't address my motivating case anymore, but it would be a one line change to support it after D72519 <https://reviews.llvm.org/D72519>.


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

https://reviews.llvm.org/D72420

Files:
  llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
  llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
  llvm/test/Transforms/LoopRotate/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72420.321967.patch
Type: text/x-patch
Size: 12619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210206/3cf22806/attachment.bin>


More information about the llvm-commits mailing list