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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 12:50:52 PDT 2025


================
@@ -226,11 +226,14 @@ struct WholeProgramDevirtPass : public PassInfoMixin<WholeProgramDevirtPass> {
   ModuleSummaryIndex *ExportSummary;
   const ModuleSummaryIndex *ImportSummary;
   bool UseCommandLine = false;
+  bool DevirtSpeculatively = false;
----------------
teresajohnson wrote:

This is never set by this PR. Probably this should move into PR159685.

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


More information about the llvm-commits mailing list