[PATCH] D43245: [LoopInterchange] Support reductions across inner and outer loop.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 9 10:20:42 PDT 2018


fhahn updated this revision to Diff 168824.
fhahn added a comment.

Updated based on https://reviews.llvm.org/D53027, to keep sets PHIs that are part of inner loop only and  across the inner and outer loop. This makes the checks during transform trivial. It also ensures that we do not deal with unclassified PHIs.


https://reviews.llvm.org/D43245

Files:
  lib/Transforms/Scalar/LoopInterchange.cpp
  test/Transforms/LoopInterchange/inner-only-reductions.ll
  test/Transforms/LoopInterchange/lcssa.ll
  test/Transforms/LoopInterchange/reductions-across-inner-and-outer-loop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43245.168824.patch
Type: text/x-patch
Size: 19945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181009/668f835b/attachment-0001.bin>


More information about the llvm-commits mailing list