From 7d424aae138f5c238516b391849ad970d14b1bbc Mon Sep 17 00:00:00 2001 From: Konstantin Zhuravlyov Date: Thu, 27 Sep 2018 19:24:05 +0000 Subject: AMDGPU/NFC: Simplify VOP_MAC_F16/F32 llvm-svn: 343254 --- llvm/lib/Target/AMDGPU/VOP2Instructions.td | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/AMDGPU/VOP2Instructions.td b/llvm/lib/Target/AMDGPU/VOP2Instructions.td index accca812a62..bc02978b1a5 100644 --- a/llvm/lib/Target/AMDGPU/VOP2Instructions.td +++ b/llvm/lib/Target/AMDGPU/VOP2Instructions.td @@ -234,17 +234,8 @@ class VOP_MAC : VOPProfile <[vt, vt, vt, vt]> { let HasSDWA9 = 0; } -def VOP_MAC_F16 : VOP_MAC { - // FIXME: Move 'Asm64' definition to VOP_MAC, and use 'vt'. Currently it gives - // 'not a string initializer' error. - let Asm64 = getAsm64<1, 2, 0, HasModifiers, HasOMod, f16>.ret; -} - -def VOP_MAC_F32 : VOP_MAC { - // FIXME: Move 'Asm64' definition to VOP_MAC, and use 'vt'. Currently it gives - // 'not a string initializer' error. - let Asm64 = getAsm64<1, 2, 0, HasModifiers, HasOMod, f32>.ret; -} +def VOP_MAC_F16 : VOP_MAC ; +def VOP_MAC_F32 : VOP_MAC ; // Write out to vcc or arbitrary SGPR. def VOP2b_I32_I1_I32_I32 : VOPProfile<[i32, i32, i32, untyped]> { -- cgit v1.2.3