[PATCH] D102234: [SimpleLoopBoundSplit] Split Bound of Loop which has conditional branch with IV

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 31 02:09:24 PDT 2021


mkazantsev added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp:278
+    BasicBlock *Succ1Succ = Succ1->getSingleSuccessor();
+    if (Succ0Succ != Succ1Succ)
+      return false;
----------------
mkazantsev wrote:
> What if both of them are nullptr?
Ah I see, they will fail the next check.


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

https://reviews.llvm.org/D102234



More information about the llvm-commits mailing list