[clang] [llvm] [WPD] Enable speculative devirtualization with LTO (PR #233380)

Hassnaa Hamdi via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 05:56:41 PDT 2026


================
@@ -0,0 +1,68 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -S -passes=wholeprogramdevirt -wholeprogramdevirt-check=fallback -whole-program-visibility -pass-remarks=wholeprogramdevirt %s 2>&1 | FileCheck %s
+
+; Check whether the type.test intrinsic is removed after devirtualization when
+; the fallback mode is used for WPD.
+
----------------
hassnaaHamdi wrote:

How is this test related to the feature ?

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


More information about the cfe-commits mailing list