[llvm] [AMDGPU][MC] Fix disassemble of image_gather4 with d16 (PR #114609)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 15:03:03 PDT 2024


================
@@ -1508,9 +1508,9 @@ multiclass MIMG_Gather <mimgopc op, AMDGPUSampleVariant sample, bit wqm = 0,
   let BaseOpcode = !cast<MIMGBaseOpcode>(NAME), WQM = wqm,
       Gather4 = 1 in {
     let VDataDwords = 2 in
-    defm _V2 : MIMG_Sampler_Src_Helper<op, asm, sample, VReg_64>; /* for packed D16 only */
+    defm _V2 : MIMG_Sampler_Src_Helper<op, asm, sample, VReg_64, 1>; /* for packed D16 only */
----------------
arsenm wrote:

Use true and comment operand name? 

https://github.com/llvm/llvm-project/pull/114609


More information about the llvm-commits mailing list