[PATCH] D80619: [UnJ] Update LI for inner nested loops

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 03:44:48 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: Whitney, fhahn, Meinersbur, efriedma.
Herald added subscribers: zzheng, hiraditya.
Herald added a project: LLVM.
dmgreen updated this revision to Diff 266476.

This makes sure to correctly register the loop info of the child loops of unroll and jammed loops. It re-uses some code from the unroller for registering subloops.

Note that I just found D73129 <https://reviews.llvm.org/D73129> again whilst writing this summary. This is a smaller version of the same thing. My understanding is that the plan is to change unroll and jam to jam the inner loop? (although I thought some of that was already done?). This fixes the problem in a minimal way until then.


https://reviews.llvm.org/D80619

Files:
  llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
  llvm/test/Transforms/LoopUnrollAndJam/innerloop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80619.266476.patch
Type: text/x-patch
Size: 6115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/b700748d/attachment.bin>


More information about the llvm-commits mailing list