[llvm] 6e86ab7 - [AMDGPU] Make VOPD insts with a FMAMK or FMAMK component have a fixed size

Mirko Brkusanin via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 04:35:04 PDT 2023


Author: Mirko Brkusanin
Date: 2023-08-14T13:32:41+02:00
New Revision: 6e86ab7e4ff92a3d18a20e61fe632a5fb2766af2

URL: https://github.com/llvm/llvm-project/commit/6e86ab7e4ff92a3d18a20e61fe632a5fb2766af2
DIFF: https://github.com/llvm/llvm-project/commit/6e86ab7e4ff92a3d18a20e61fe632a5fb2766af2.diff

LOG: [AMDGPU] Make VOPD insts with a FMAMK or FMAMK component have a fixed size

This fixes a failure from the expensive-checks buildbot

Differential Revision: https://reviews.llvm.org/D157857

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/VOPDInstructions.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/VOPDInstructions.td b/llvm/lib/Target/AMDGPU/VOPDInstructions.td
index eb2e9f04022ed6..c6dc4dd765e515 100644
--- a/llvm/lib/Target/AMDGPU/VOPDInstructions.td
+++ b/llvm/lib/Target/AMDGPU/VOPDInstructions.td
@@ -111,6 +111,7 @@ class VOPD_MADK<dag outs, dag ins, string asm, VOP_Pseudo VDX, VOP_Pseudo VDY,
   let Inst{16-9} = !if (!eq(VDX.Mnemonic, "v_mov_b32"), 0x0, vsrc1X);
   let Inst{48-41} = !if (!eq(VDY.Mnemonic, "v_mov_b32"), 0x0, vsrc1Y);
   let Size = 12;
+  let FixedSize = 1;
 }
 
 // V_DUAL_DOT2ACC_F32_BF16 is a legal instruction, but V_DOT2ACC_F32_BF16 is


        


More information about the llvm-commits mailing list