================
@@ -1688,6 +1688,11 @@ def fprofile_sample_accurate : Flag<["-"], 
"fprofile-sample-accurate">,
                as cold. Otherwise, treat callsites without profile samples as 
if
                we have no profile}]>,
    MarshallingInfoFlag<CodeGenOpts<"ProfileSampleAccurate">>;
+def fpropeller_profile_use_EQ : Joined<["-"], "fpropeller-profile-use=">,
+    Group<f_Group>, Visibility<[ClangOption, CC1Option, CLOption]>, 
+    MetaVarName<"<pathname>">,
----------------
rlavaee wrote:

We don't need the new flag. The CFG edge profile is already being written to 
the basic-block-sections profile 
(https://github.com/google/llvm-propeller/blob/main/propeller/testdata/sample_verbose_cc_directives.golden.txt),
 as a comment which is [currently 
ignored](https://llvm.org/doxygen/BasicBlockSectionsProfileReader_8h_source.html#l00079)
 by the compiler. We can introduce the CFG profile under a [new 
specifier](https://llvm.org/doxygen/BasicBlockSectionsProfileReader_8cpp_source.html#l00155)

https://github.com/llvm/llvm-project/pull/139008
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to