Skip to content

Commit

Permalink
[RISCV] Use MCRegister for vectors in CC_RISCV_FastCC. NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
topperc committed Aug 31, 2024
1 parent 470f55f commit 2afa975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19573,7 +19573,7 @@ bool RISCV::CC_RISCV_FastCC(const DataLayout &DL, RISCVABI::ABI ABI,
}

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

0 comments on commit 2afa975

Please sign in to comment.