[llvm] [WPD]: Enable speculative devirtualizatoin. (PR #159048)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 27 14:32:52 PDT 2025
================
@@ -2350,6 +2392,11 @@ bool DevirtModule::run() {
Function *TypeTestFunc =
Intrinsic::getDeclarationIfExists(&M, Intrinsic::type_test);
+ // If we are in speculative devirtualization mode, we can work on the public
+ // type test intrinsics.
+ if (!TypeTestFunc && DevirtSpeculatively)
----------------
hassnaaHamdi wrote:
Great notice, thanks.
https://github.com/llvm/llvm-project/pull/159048
More information about the llvm-commits
mailing list