[llvm] [AMDGPU] Only try DecoderTables for the current subtarget. NFCI. (PR #82992)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 04:11:38 PST 2024


================
@@ -527,7 +527,7 @@ multiclass MIMG_NoSampler_Src_Helper <mimgopc op, string asm,
     let ssamp = 0 in {
       if op.HAS_GFX10M then {
         def _V1 : MIMG_NoSampler_Helper <op, asm, dst_rc, VGPR_32,
-                                         !if(enableDisasm, "GFX10", "")>;
+                                         !if(enableDisasm, "GFX8", "")>;
----------------
jayfoad wrote:

This is fixing a mistake that was previously harmless because we tried all namespaces on all subtargets.

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


More information about the llvm-commits mailing list