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

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6e86ab7e4ff9: [AMDGPU] Make VOPD insts with a FMAMK or FMAMK component have a fixed size (authored by mbrkusanin).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157857/new/

https://reviews.llvm.org/D157857

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


Index: llvm/lib/Target/AMDGPU/VOPDInstructions.td
===================================================================
--- llvm/lib/Target/AMDGPU/VOPDInstructions.td
+++ llvm/lib/Target/AMDGPU/VOPDInstructions.td
@@ -111,6 +111,7 @@
   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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157857.549877.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/402b8c46/attachment.bin>


More information about the llvm-commits mailing list