[PATCH] D63440: [WIP][LoopUnroll] Enable unrolled loops to have scevable trip counts.

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 07:58:59 PDT 2019


samparker updated this revision to Diff 205351.
samparker retitled this revision from "[LoopUnroll] Generate sub nuw for loop index" to "[WIP][LoopUnroll] Enable unrolled loops to have scevable trip counts.".
samparker edited the summary of this revision.
samparker added a comment.
Herald added a subscriber: javed.absar.

Currently using a mask to calculate the unrolled body test value, this looks like it solves the problem but causes regressions! Next I will try counting up with adds instead of down...


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

https://reviews.llvm.org/D63440

Files:
  lib/Transforms/Utils/LoopUnrollRuntime.cpp
  test/Transforms/LoopUnroll/nuw-backedge.ll
  test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
  test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
  test/Transforms/LoopUnrollAndJam/unroll-and-jam.ll
  test/Transforms/PhaseOrdering/reassociate-after-unroll.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63440.205351.patch
Type: text/x-patch
Size: 7797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190618/6678b915/attachment.bin>


More information about the llvm-commits mailing list