Skip to content

Commit e0f5e28

Browse files
authored
[Xtensa] Fix function signature after e92b7e9 (#153054)
Noticed this in the Rust/LLVM-HEAD CI, which for some obscure reason bothers to build Xtensa.
1 parent f5f5824 commit e0f5e28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/Xtensa/XtensaISelLowering.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ static const MCPhysReg IntRegs[] = {Xtensa::A2, Xtensa::A3, Xtensa::A4,
353353

354354
static bool CC_Xtensa_Custom(unsigned ValNo, MVT ValVT, MVT LocVT,
355355
CCValAssign::LocInfo LocInfo,
356-
ISD::ArgFlagsTy ArgFlags, CCState &State) {
356+
ISD::ArgFlagsTy ArgFlags, Type *OrigTy,
357+
CCState &State) {
357358
if (ArgFlags.isByVal()) {
358359
Align ByValAlign = ArgFlags.getNonZeroByValAlign();
359360
unsigned ByValSize = ArgFlags.getByValSize();

0 commit comments

Comments
 (0)