================
@@ -524,6 +547,16 @@ class PGOCounterPromoter {
}
bool run(int64_t *NumPromoted) {
+ bool RC = promoteCandidates(NumPromoted);
+ if (IsAtomic)
----------------
david-xl wrote:
Add a comment about this step.
https://github.com/llvm/llvm-project/pull/202487