[PATCH] D114917: [LoopInterchange] Enable loop interchange with multiple inner loop indvars

Congzhe Cao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 22:55:08 PST 2022


congzhe updated this revision to Diff 399213.
congzhe added a comment.

Patch updated:

1. Rebased on https://reviews.llvm.org/D115238.

2. Reworked on test cases to make them more canonical and more straightforward, by removing unnecessary instructions and variables, etc.

3. Created a new function `findInductions()` such that we initialize `InnerLoopInductions` early, hence removed a potential order constraint.


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

https://reviews.llvm.org/D114917

Files:
  llvm/lib/Transforms/Scalar/LoopInterchange.cpp
  llvm/test/Transforms/LoopInterchange/interchangeable-innerloop-multiple-indvars.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114917.399213.patch
Type: text/x-patch
Size: 22716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220112/0bd7a5f1/attachment.bin>


More information about the llvm-commits mailing list