[PATCH] D45279: [LoopInterchange] Use getExitBlock()/getExitingBlock instead of manual impl.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 23 10:18:37 PDT 2018


fhahn updated this revision to Diff 143596.
fhahn retitled this revision from "[LoopInterchange] Use LoopInfo::getExitBlock() instead of manual impl." to "[LoopInterchange] Use getExitBlock()/getExitingBlock instead of manual impl.".
fhahn added a comment.

Thank you very much for having a look Eli and sorry for the delay, I needed to find some time to investigate another failure in the test suite with this change. Together with https://reviews.llvm.org/D45970 and this patch, building the test-suite with LoopInterchange + LTO passes.

I've updated the code to make sure the exiting's block's terminator is a branch instruction.


https://reviews.llvm.org/D45279

Files:
  lib/Transforms/Scalar/LoopInterchange.cpp
  test/Transforms/LoopInterchange/currentLimitation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45279.143596.patch
Type: text/x-patch
Size: 7422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180423/515cde6d/attachment.bin>


More information about the llvm-commits mailing list