================ @@ -140,53 +141,43 @@ static void restoreSSA(const DominatorTree &DT, const Loop *L, } } +static bool isExitBlock(Loop *L, BasicBlock *Succ, LoopInfo &LI) { + Loop *SL = LI.getLoopFor(Succ); + if (SL == L || L->contains(SL)) + return false; + return true; ---------------- arsenm wrote:
return bool expression https://github.com/llvm/llvm-project/pull/103013 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits