[llvm-branch-commits] [llvm] [Transforms] Refactor CreateControlFlowHub (PR #103013)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Aug 13 07:17:05 PDT 2024
================
@@ -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
More information about the llvm-branch-commits
mailing list