[PATCH] D66084: Remove asserts in getLoopGuardBranch

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 08:19:06 PDT 2019


Whitney added a comment.

or you can add `EXPECT_EQ(L->getLoopGuardBranch(), nullptr);` to existing tests, e.g. LoopWithSingleLatch....in that test case, you can see that the loop is not rotated, i.e. the latch for.inc is not the exiting block, the exiting block is for.cond.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66084





More information about the llvm-commits mailing list