Skip to content

Commit e439009

Browse files
committed
[RISCV] Fix FP64 DinX R Regclass
This was a typo in llvm#112983 that didn't cause build failures but is still wrong.
1 parent 486e1d9 commit e439009

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
@@ -20531,7 +20531,7 @@ RISCVTargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
2053120531
break;
2053220532
case 'R':
2053320533
if (VT == MVT::f64 && !Subtarget.is64Bit() && Subtarget.hasStdExtZdinx())
20534-
return std::make_pair(0U, &RISCV::GPRF64PairCRegClass);
20534+
return std::make_pair(0U, &RISCV::GPRF64PairNoX0RegClass);
2053520535
return std::make_pair(0U, &RISCV::GPRPairNoX0RegClass);
2053620536
default:
2053720537
break;

0 commit comments

Comments
 (0)