[clang] [PGO] Add a clang option -fprofile-continuous that enables PGO continuous mode (PR #124353)
Wael Yehia via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 27 07:24:19 PST 2025
================
@@ -1886,6 +1886,11 @@ def fprofile_update_EQ : Joined<["-"], "fprofile-update=">,
Values<"atomic,prefer-atomic,single">,
MetaVarName<"<method>">, HelpText<"Set update method of profile counters">,
MarshallingInfoFlag<CodeGenOpts<"AtomicProfileUpdate">>;
+def fprofile_continuous : Flag<["-"], "fprofile-continuous">,
----------------
w2yehia wrote:
Thanks for the feedback. I prefer `-fprofile-continuous` since everywhere we call this feature the "continuous mode". If others feel strongly about changing it, then I can ofcourse change it.
https://github.com/llvm/llvm-project/pull/124353
More information about the cfe-commits
mailing list