// RUN: tblgen %s | grep "bit IsDouble = 1;" | count 3 // XFAIL: vg_leak class Instruction opc, string Name> { bits<4> opcode = opc; string name = Name; bit IsDouble = 0; } multiclass basic_r opc> { let name = "newname" in { def rr : Instruction; def rm : Instruction; } let name = "othername" in def rx : Instruction; } multiclass basic_ss opc> { let IsDouble = 0 in defm SS : basic_r; let IsDouble = 1 in defm SD : basic_r; } defm ADD : basic_ss<0xf>;