[clang] [llvm] [Clang]: Enable speculative devirtualization (PR #159685)

Hassnaa Hamdi via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 26 17:03:40 PST 2025


================
@@ -0,0 +1,78 @@
+// Test that the vtable metadata that are emitted by Clang when speculative devirtualization
+// is enabled can be used by the WholeProgramDevirt pass without being dropped on the way.
----------------
hassnaaHamdi wrote:

I don't want to test the DropUnnecessaryAssumes pass specifically, because the intrinsics could be dropped by any other pass but I moved it to llvm/test/Transforms/WholeProgramDevirt. Does that make sense ?

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


More information about the llvm-commits mailing list