[llvm] [AMDGPU] Diagnose unsupported permlane16/mov.dpp8/tanh intrinsics (PR #200585)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 02:56:36 PDT 2026


================
@@ -495,7 +495,7 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
   }
 
   /// \returns true if the subtarget has the v_permlanex16_b32 instruction.
-  bool hasPermLaneX16() const { return getGeneration() >= GFX10; }
+  bool hasPermLaneX16() const { return hasPermlane16Insts(); }
----------------
aobolensk wrote:

Done

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


More information about the llvm-commits mailing list