[clang] [InstrProf] Add frontend temporal profiling flag (PR #122385)

David Li via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 9 21:02:32 PST 2025


================
@@ -3035,6 +3035,38 @@ indexed format, regardeless whether it is produced by frontend or the IR pass.
   overhead. ``prefer-atomic`` will be transformed to ``atomic`` when supported
   by the target, or ``single`` otherwise.
 
+.. option:: -fprofile-generate-temporal
----------------
david-xl wrote:

Since this option is used together with the primary option -fprofile-generate, the naming consistency is not important. I suggest making it even simpler: -ftemporal-profile

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


More information about the cfe-commits mailing list