Skip to content

Commit 10f8cd7

Browse files
authored
Update RISCVInstrInfoXqci.td
1 parent 87da7f6 commit 10f8cd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,23 +113,23 @@ class QCISELECTICCI<bits<3> funct3, string opcodestr>
113113
}
114114

115115
let hasSideEffects = 0, mayLoad = 1, mayStore = 0 in
116-
class QCILoadMultiple<bits<2> func2, DAGOperand InTyRs2, string opcodestr>
116+
class QCILoadMultiple<bits<2> funct2, DAGOperand InTyRs2, string opcodestr>
117117
: RVInstRBase<0b111, OPC_CUSTOM_0, (outs GPRNoX0:$rd),
118118
(ins GPR:$rs1, InTyRs2:$rs2, uimm7_lsb00:$imm),
119119
opcodestr, "$rd, $rs2, ${imm}(${rs1})"> {
120120
bits<7> imm;
121-
let Inst{31-25} = {func2, imm{6-2}};
121+
let Inst{31-25} = {funct2, imm{6-2}};
122122
}
123123

124124

125125
// rd corresponds to the source for the store 'rs3' described in the spec.
126126
let hasSideEffects = 0, mayLoad = 0, mayStore = 1 in
127-
class QCIStoreMultiple<bits<2> func2, DAGOperand InTyRs2, string opcodestr>
127+
class QCIStoreMultiple<bits<2> funct2, DAGOperand InTyRs2, string opcodestr>
128128
: RVInstRBase<0b111, OPC_CUSTOM_1, (outs),
129129
(ins GPR:$rd, GPR:$rs1, InTyRs2:$rs2, uimm7_lsb00:$imm),
130130
opcodestr, "$rd, $rs2, ${imm}(${rs1})"> {
131131
bits<7> imm;
132-
let Inst{31-25} = {func2, imm{6-2}};
132+
let Inst{31-25} = {funct2, imm{6-2}};
133133
}
134134

135135
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)