[clang] [flang] [llvm] Add IR Profile-Guided Optimization (IR PGO) support to the Flang compiler (PR #136098)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 16:18:36 PDT 2025


================
@@ -36,6 +37,15 @@ enum class VectorLibrary {
 TargetLibraryInfoImpl *createTLII(const llvm::Triple &TargetTriple,
                                   VectorLibrary Veclib);
 
+enum ProfileInstrKind {
----------------
tarunprabhu wrote:

Nit: It may be better to move this above the declaration of `createTLII` so the types are together followed by the function declarations. This is not a hard and fast rule, but we should try to keep this as organized as possible

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


More information about the cfe-commits mailing list