[llvm] [WPD]: Enable speculative devirtualizatoin. (PR #159048)

Hassnaa Hamdi via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 08:24:17 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:

done.

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


More information about the llvm-commits mailing list