1 // RUN: llvm-tblgen %s | grep "bit IsDouble = 1;" | count 3
3 class Instruction<bits<4> opc, string Name> {
9 multiclass basic_r<bits<4> opc> {
10 let name = "newname" in {
11 def rr : Instruction<opc, "rr">;
12 def rm : Instruction<opc, "rm">;
15 let name = "othername" in
16 def rx : Instruction<opc, "rx">;
19 multiclass basic_ss<bits<4> opc> {
21 defm SS : basic_r<opc>;
24 defm SD : basic_r<opc>;
27 defm ADD : basic_ss<0xf>;