[PATCH] D45278: [LoopInterchange] Preserve LoopInfo after interchanging.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 14:30:46 PDT 2018


fhahn updated this revision to Diff 141059.
fhahn marked an inline comment as done.
fhahn added a comment.

Thanks Eli! I added `-verify-loop-info` to all tests. I also renamed the parameters of `restructureLoops` to NewInner and NewOuter, which makes things slightly clearer, I hope.


https://reviews.llvm.org/D45278

Files:
  lib/Transforms/Scalar/LoopInterchange.cpp
  test/Transforms/LoopInterchange/call-instructions.ll
  test/Transforms/LoopInterchange/currentLimitation.ll
  test/Transforms/LoopInterchange/interchange-flow-dep-outer.ll
  test/Transforms/LoopInterchange/interchange-insts-between-indvar.ll
  test/Transforms/LoopInterchange/interchange-no-deps.ll
  test/Transforms/LoopInterchange/interchangeable.ll
  test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
  test/Transforms/LoopInterchange/not-interchanged-dependencies-1.ll
  test/Transforms/LoopInterchange/not-interchanged-loop-nest-3.ll
  test/Transforms/LoopInterchange/not-interchanged-tightly-nested.ll
  test/Transforms/LoopInterchange/phi-ordering.ll
  test/Transforms/LoopInterchange/profitability.ll
  test/Transforms/LoopInterchange/reductions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45278.141059.patch
Type: text/x-patch
Size: 12612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180404/2bb87aa0/attachment.bin>


More information about the llvm-commits mailing list