[clang] [llvm] [WPD]: Apply speculative WPD in non-lto mode. (PR #145031)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 4 10:56:27 PDT 2025


================
@@ -611,11 +628,13 @@ struct DevirtModule {
   std::map<CallInst *, unsigned> NumUnsafeUsesForTypeTest;
   PatternList FunctionsToSkip;
 
+  const bool InLTOMode;
----------------
teresajohnson wrote:

I'm not sure whether this is needed anymore with the proposed changes.

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


More information about the cfe-commits mailing list