Skip to content

Commit fcdac81

Browse files
authored
[RISCV] Use frmarg instead of ixlenimm in PseudoFROUND. NFC (llvm#171563)
This is expanded with a custom inserter and this immediate will be copied to the frm operand of a non-pseudo instruction.
1 parent 13d99e3 commit fcdac81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoF.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ multiclass FPCmp_rr_m<bits<7> funct7, bits<3> funct3, string opcodestr,
316316
}
317317

318318
class PseudoFROUND<DAGOperand Ty, ValueType vt, ValueType intvt = XLenVT>
319-
: Pseudo<(outs Ty:$rd), (ins Ty:$rs1, Ty:$rs2, ixlenimm:$rm),
319+
: Pseudo<(outs Ty:$rd), (ins Ty:$rs1, Ty:$rs2, frmarg:$rm),
320320
[(set Ty:$rd, (vt (riscv_fround Ty:$rs1, Ty:$rs2, (intvt timm:$rm))))]> {
321321
let hasSideEffects = 0;
322322
let mayLoad = 0;

0 commit comments

Comments
 (0)