Skip to content

Commit 859e66f

Browse files
committed
[Sparc] Fix multiclass template parameter types. NFC.
Fixes TableGen parser errors reported by D95874.
1 parent 3c90738 commit 859e66f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/Sparc/SparcInstrFormats.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class F3_Si<bits<2> opVal, bits<6> op3val, bit xVal, dag outs, dag ins,
224224

225225
// Define rr and ri shift instructions with patterns.
226226
multiclass F3_S<string OpcStr, bits<6> Op3Val, bit XVal, SDNode OpNode,
227-
ValueType VT, ValueType SIT, RegisterClass RC,
227+
ValueType VT, Operand SIT, RegisterClass RC,
228228
InstrItinClass itin = IIC_iu_instr> {
229229
def rr : F3_Sr<2, Op3Val, XVal, (outs RC:$rd), (ins RC:$rs1, IntRegs:$rs2),
230230
!strconcat(OpcStr, " $rs1, $rs2, $rd"),
@@ -237,7 +237,7 @@ multiclass F3_S<string OpcStr, bits<6> Op3Val, bit XVal, SDNode OpNode,
237237
}
238238

239239
class F4<bits<6> op3, dag outs, dag ins, string asmstr, list<dag> pattern,
240-
InstrItinClass itin = NoItinerary>
240+
InstrItinClass itin = NoItinerary>
241241
: InstSP<outs, ins, asmstr, pattern, itin> {
242242
bits<5> rd;
243243

0 commit comments

Comments
 (0)