Skip to content

Commit 2afa975

Browse files
committed
[RISCV] Use MCRegister for vectors in CC_RISCV_FastCC. NFC
1 parent 470f55f commit 2afa975

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
@@ -19573,7 +19573,7 @@ bool RISCV::CC_RISCV_FastCC(const DataLayout &DL, RISCVABI::ABI ABI,
1957319573
}
1957419574

1957519575
if (LocVT.isVector()) {
19576-
if (unsigned Reg =
19576+
if (MCRegister Reg =
1957719577
allocateRVVReg(ValVT, ValNo, FirstMaskArgument, State, TLI)) {
1957819578
// Fixed-length vectors are located in the corresponding scalable-vector
1957919579
// container types.

0 commit comments

Comments
 (0)