[llvm] [PGO] Implement PGO counter promotion for atomic updates (PR #202487)

Wael Yehia via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 12:22:17 PDT 2026


w2yehia wrote:

> I am of the opinion that we should just fix this properly rather than doing a carve out specifically for PGO counters.

I agree and that was my first approach but gave up because it looked to be a disruptive change and I wasn't sure there's interest in the community for generalizing LoadStorePromoter to handle relaxed atomics. 
I can look into it again after this patch.

https://github.com/llvm/llvm-project/pull/202487


More information about the llvm-commits mailing list