// RUN: tblgen %s | grep ADDPSrr | count 1 // XFAIL: vg_leak class Instruction opc, string Name> { bits<4> opcode = opc; string name = Name; } multiclass basic_r opc> { def rr : Instruction; def rm : Instruction; } multiclass basic_s opc> { defm SS : basic_r; defm SD : basic_r; } multiclass basic_p opc> { defm PS : basic_r; defm PD : basic_r; } defm ADD : basic_s<0xf>, basic_p<0xf>; defm SUB : basic_s<0xe>, basic_p<0xe>;