[llvm-branch-commits] [llvm] Add IR and codegen support for deactivation symbols. (PR #133536)

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 25 22:18:54 PST 2025


================
@@ -3067,6 +3067,11 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
   }
   case Intrinsic::ptrauth_auth:
   case Intrinsic::ptrauth_resign: {
+    // We don't support this optimization on intrinsic calls with deactivation
+    // symbols, which are represented using operand bundles.
+    if (II->hasOperandBundles())
----------------
pcc wrote:

I don't think we support any other types of operand bundles on intrinsics (at least according to LangRef). I reckon we can make this more specific if there is a need.

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


More information about the llvm-branch-commits mailing list