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

David Li via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 09:40:27 PDT 2026


================
@@ -660,6 +698,7 @@ class PGOCounterPromoter {
   Loop &L;
   LoopInfo &LI;
   BlockFrequencyInfo *BFI;
+  const bool IsAtomic;
----------------
david-xl wrote:

Add a comment documenting the field.

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


More information about the cfe-commits mailing list