[llvm] [PGO] Implement PGO counter promotion for atomic updates (PR #202487)
Wael Yehia via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 11 19:12:49 PDT 2026
================
@@ -567,6 +612,7 @@ class PGOCounterPromoter {
L.getLoopPreheader(), ExitBlocks,
InsertPts, LoopToCandidates, LI);
Promoter.run(SmallVector<Instruction *, 2>({Cand.first, Cand.second}));
+ Cand = {nullptr, nullptr};
----------------
w2yehia wrote:
can you please elaborate more?
https://github.com/llvm/llvm-project/pull/202487
More information about the llvm-commits
mailing list