[llvm] [Xtensa] Fix function signature after e92b7e9641 (PR #153054)

Augie Fackler via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 10:30:54 PDT 2025


https://github.com/durin42 created https://github.com/llvm/llvm-project/pull/153054

Noticed this in the Rust/LLVM-HEAD CI, which for some obscure reason bothers to build Xtensa.

>From c44335a0393a01a7d899796dc1961918eedf8f06 Mon Sep 17 00:00:00 2001
From: Augie Fackler <augie at google.com>
Date: Mon, 11 Aug 2025 13:09:28 -0400
Subject: [PATCH] [Xtensa] Fix function signature after e92b7e9641

Noticed this in the Rust/LLVM-HEAD CI, which for some obscure reason
bothers to build Xtensa.
---
 llvm/lib/Target/Xtensa/XtensaISelLowering.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/Xtensa/XtensaISelLowering.cpp b/llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
index 6a07bd865a15a..954e623b8c7c4 100644
--- a/llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
+++ b/llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
@@ -353,7 +353,7 @@ static const MCPhysReg IntRegs[] = {Xtensa::A2, Xtensa::A3, Xtensa::A4,
 
 static bool CC_Xtensa_Custom(unsigned ValNo, MVT ValVT, MVT LocVT,
                              CCValAssign::LocInfo LocInfo,
-                             ISD::ArgFlagsTy ArgFlags, CCState &State) {
+                             ISD::ArgFlagsTy ArgFlags, Type *OrigTy, CCState &State) {
   if (ArgFlags.isByVal()) {
     Align ByValAlign = ArgFlags.getNonZeroByValAlign();
     unsigned ByValSize = ArgFlags.getByValSize();



More information about the llvm-commits mailing list