================
@@ -117,6 +119,16 @@ cl::opt<bool> AtomicCounterUpdateAll(
cl::desc("Make all profile counter updates atomic (for testing only)"),
cl::init(false));
+cl::opt<bool> AtomicCounterPromote(
+ "atomic-counter-promote",
+ cl::desc("Atomize profile counter updates and promote where possible"),
----------------
david-xl wrote:
It is overly conservative -- the order of counter update does not matter, so it
can be relaxed.
https://github.com/llvm/llvm-project/pull/202487
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits