[llvm] [coro][pgo] Don't promote pgo counters in the suspend basic block (PR #71263)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 08:38:57 PST 2023
================
@@ -705,6 +705,9 @@ void InvertBranch(BranchInst *PBI, IRBuilderBase &Builder);
// Check whether the function only has simple terminator:
// br/brcond/unreachable/ret
bool hasOnlySimpleTerminator(const Function &F);
+
+bool isPresplitCoroSuspendExitEdge(const BasicBlock &Src,
----------------
mtrofin wrote:
good point, done.
https://github.com/llvm/llvm-project/pull/71263
More information about the llvm-commits
mailing list