[llvm] AMDGPU: Fix packed 16-bit inline constants (PR #76522)

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 17:19:43 PST 2024


================
@@ -1096,7 +1096,7 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
   bool hasDstSelForwardingHazard() const { return GFX940Insts; }
 
   // Cannot use op_sel with v_dot instructions.
-  bool hasDOTOpSelHazard() const { return GFX940Insts; }
+  bool hasDOTOpSelHazard() const { return GFX940Insts || GFX11Insts; }
----------------
nhaehnle wrote:

Yes, that's right.

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


More information about the llvm-commits mailing list