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

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 11:49:00 PDT 2018


fhahn created this revision.
fhahn added reviewers: efriedma, davide, karthikthecool.

This also means we have to check if the latch is the exiting block now, as `transform` expects the latches to be the exiting blocks too.

https://bugs.llvm.org/show_bug.cgi?id=36586


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.141015.patch
Type: text/x-patch
Size: 5728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180404/5d4bb806/attachment-0001.bin>


More information about the llvm-commits mailing list