mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[Sparc] Fix multiclass template parameter types. NFC.
Fixes TableGen parser errors reported by D95874.
This commit is contained in:
parent
2f67d723bc
commit
ea992bdd8f
@ -224,7 +224,7 @@ class F3_Si<bits<2> opVal, bits<6> op3val, bit xVal, dag outs, dag ins,
|
||||
|
||||
// Define rr and ri shift instructions with patterns.
|
||||
multiclass F3_S<string OpcStr, bits<6> Op3Val, bit XVal, SDNode OpNode,
|
||||
ValueType VT, ValueType SIT, RegisterClass RC,
|
||||
ValueType VT, Operand SIT, RegisterClass RC,
|
||||
InstrItinClass itin = IIC_iu_instr> {
|
||||
def rr : F3_Sr<2, Op3Val, XVal, (outs RC:$rd), (ins RC:$rs1, IntRegs:$rs2),
|
||||
!strconcat(OpcStr, " $rs1, $rs2, $rd"),
|
||||
@ -237,7 +237,7 @@ multiclass F3_S<string OpcStr, bits<6> Op3Val, bit XVal, SDNode OpNode,
|
||||
}
|
||||
|
||||
class F4<bits<6> op3, dag outs, dag ins, string asmstr, list<dag> pattern,
|
||||
InstrItinClass itin = NoItinerary>
|
||||
InstrItinClass itin = NoItinerary>
|
||||
: InstSP<outs, ins, asmstr, pattern, itin> {
|
||||
bits<5> rd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user