[PATCH] D27469: [LoopVersioning] Require loop-simplify form for loop versioning.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 05:38:33 PST 2016


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

@ashutosh.nema  thanks for pointing that out, I've moved the check to `legalLoopStructure` and removed the redundant checks.


https://reviews.llvm.org/D27469

Files:
  lib/Transforms/Scalar/LoopDistribute.cpp
  lib/Transforms/Scalar/LoopLoadElimination.cpp
  lib/Transforms/Scalar/LoopVersioningLICM.cpp
  lib/Transforms/Utils/LoopVersioning.cpp
  test/Transforms/LoopDistribute/diagnostics-with-hotness.ll
  test/Transforms/LoopDistribute/diagnostics.ll
  test/Transforms/LoopVectorize/diag-with-hotness-info.ll
  test/Transforms/LoopVersioning/exit-block-dominates-rt-check-block.ll
  test/Transforms/LoopVersioning/noalias-version-twice.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27469.81941.patch
Type: text/x-patch
Size: 9347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161219/b62a4b6c/attachment.bin>


More information about the llvm-commits mailing list