From 26ec7853863842e05b5a25fadbf3ae1ffe1ae8f0 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 3 Feb 2021 16:20:12 +0000 Subject: [PATCH] [AMDGPU] Fix multiclass template parameter types. NFC. This fixes TableGen parser errors that will be reported when D95874 is applied. Differential Revision: https://reviews.llvm.org/D95955 --- llvm/lib/Target/AMDGPU/VOPCInstructions.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/AMDGPU/VOPCInstructions.td b/llvm/lib/Target/AMDGPU/VOPCInstructions.td index 99599c5cd667..7ca244fcc70a 100644 --- a/llvm/lib/Target/AMDGPU/VOPCInstructions.td +++ b/llvm/lib/Target/AMDGPU/VOPCInstructions.td @@ -760,7 +760,7 @@ defm V_CMPX_CLASS_F16 : VOPCX_CLASS_F16 <"v_cmpx_class_f16">; // We need to use COPY_TO_REGCLASS to w/a the problem when ReplaceAllUsesWith() // complaints it cannot replace i1 <-> i64/i32 if node was not morphed in place. -multiclass ICMP_Pattern { +multiclass ICMP_Pattern { let WaveSizePredicate = isWave64 in def : GCNPat < (i64 (AMDGPUsetcc vt:$src0, vt:$src1, cond)), @@ -807,7 +807,7 @@ defm : ICMP_Pattern ; defm : ICMP_Pattern ; defm : ICMP_Pattern ; -multiclass FCMP_Pattern { +multiclass FCMP_Pattern { let WaveSizePredicate = isWave64 in def : GCNPat < (i64 (AMDGPUsetcc (vt (VOP3Mods vt:$src0, i32:$src0_modifiers)),