diff --git a/llvm/lib/Target/R600/SIInstrInfo.td b/llvm/lib/Target/R600/SIInstrInfo.td index 14c517a3ed78..9a098abea1bf 100644 --- a/llvm/lib/Target/R600/SIInstrInfo.td +++ b/llvm/lib/Target/R600/SIInstrInfo.td @@ -640,31 +640,12 @@ class getVOPSrc1ForVT { RegisterClass ret = !if(!eq(VT.Size, 32), VGPR_32, VReg_64); } -// Returns the register classes for the source arguments of a VOP[12C] -// instruction for the given SrcVTs. -class getInRC32 SrcVT> { - list ret = [ - getVOPSrc0ForVT.ret, - getVOPSrc1ForVT.ret - ]; -} - // Returns the register class to use for sources of VOP3 instructions for the // given VT. class getVOP3SrcForVT { RegisterOperand ret = !if(!eq(VT.Size, 32), VCSrc_32, VCSrc_64); } -// Returns the register classes for the source arguments of a VOP3 -// instruction for the given SrcVTs. -class getInRC64 SrcVT> { - list ret = [ - getVOP3SrcForVT.ret, - getVOP3SrcForVT.ret, - getVOP3SrcForVT.ret - ]; -} - // Returns 1 if the source arguments have modifiers, 0 if they do not. class hasModifiers { bit ret = !if(!eq(SrcVT.Value, f32.Value), 1,