[llvm] [WPD]: Enable speculative devirtualizatoin. (PR #159048)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 8 13:31:47 PDT 2025
================
@@ -226,6 +226,10 @@ struct WholeProgramDevirtPass : public PassInfoMixin<WholeProgramDevirtPass> {
ModuleSummaryIndex *ExportSummary;
const ModuleSummaryIndex *ImportSummary;
bool UseCommandLine = false;
+ // True if ExportSummary was built locally from the module rather than
+ // provided externally to the pass (e.g., during LTO). Default value is false
+ // unless explicitly set when the Summary is explicitly built.
+ bool HasLocalSummary = false;
----------------
hassnaaHamdi wrote:
Yes, It's not built locally. But for future patches it will be built locally. So here I want to add the default behaviour (no summary is built)
https://github.com/llvm/llvm-project/pull/159048
More information about the llvm-commits
mailing list