Skip to content

Commit f5c9ad1

Browse files
committed
fixup! [RISCV] Support cR Inline Asm Constraint
1 parent d26d237 commit f5c9ad1

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
@@ -20993,7 +20993,7 @@ RISCVTargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
2099320993
if (!VT.isVector())
2099420994
return std::make_pair(0U, &RISCV::GPRCRegClass);
2099520995
} else if (Constraint == "cR") {
20996-
return std::make_pair(0U, &RISCV::GPRPairCRegClass);
20996+
return std::make_pair(0U, &RISCV::GPRPairCRegClass);
2099720997
} else if (Constraint == "cf") {
2099820998
if (VT == MVT::f16) {
2099920999
if (Subtarget.hasStdExtZfhmin())

0 commit comments

Comments
 (0)