Skip to content

Commit 50c0305

Browse files
committed
!fixup Use getCustomMem for the high memory location.
1 parent 90484af commit 50c0305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16443,7 +16443,7 @@ bool RISCV::CC_RISCV(const DataLayout &DL, RISCVABI::ABI ABI, unsigned ValNo,
1644316443
} else {
1644416444
unsigned StackOffset = State.AllocateStack(4, Align(4));
1644516445
State.addLoc(
16446-
CCValAssign::getMem(ValNo, ValVT, StackOffset, LocVT, LocInfo));
16446+
CCValAssign::getCustomMem(ValNo, ValVT, StackOffset, LocVT, LocInfo));
1644716447
}
1644816448
return false;
1644916449
}

0 commit comments

Comments
 (0)