[llvm] [AArch64] Specify SETCCCARRY as custom for MVT::i32 on AArch64 (PR #185477)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 07:13:39 PDT 2026
https://github.com/SiliconA-Z updated https://github.com/llvm/llvm-project/pull/185477
>From 20f9781e08e108315bc8b26ed5c9cd9bae8e564b Mon Sep 17 00:00:00 2001
From: AZero13 <gfunni234 at gmail.com>
Date: Tue, 10 Mar 2026 10:13:25 -0400
Subject: [PATCH] [AArch64] Specify SETCCCARRY as custom for MVT::i32 on
AArch64
---
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index dc5a3736ecaa1..97673fd889006 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -546,6 +546,7 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
setOperationAction(ISD::BR_JT, MVT::Other, Custom);
setOperationAction(ISD::JumpTable, MVT::i64, Custom);
setOperationAction(ISD::BRIND, MVT::Other, Custom);
+ setOperationAction(ISD::SETCCCARRY, MVT::i32, Custom);
setOperationAction(ISD::SETCCCARRY, MVT::i64, Custom);
setOperationAction(ISD::PtrAuthGlobalAddress, MVT::i64, Custom);
More information about the llvm-commits
mailing list