[llvm-branch-commits] [llvm] AMDGPU: Fix src2_modifiers for v_dot2_f32_f16/bf16 (PR #179224)

Petar Avramovic via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Mar 18 05:22:56 PDT 2026


================
@@ -3658,6 +3658,18 @@ bool AMDGPUDAGToDAGISel::SelectVOP3PModsDOT(SDValue In, SDValue &Src,
   return SelectVOP3PMods(In, Src, SrcMods, true);
 }
 
+bool AMDGPUDAGToDAGISel::SelectVOP3PModsF32(SDValue In, SDValue &Src,
+                                            SDValue &SrcMods) const {
+  unsigned Mods = SISrcMods::OP_SEL_1;
+  Src = In;
+  if (Subtarget->isGFX11Plus()) {
----------------
petar-avramovic wrote:

removed feature check since it was not needed in the first place

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


More information about the llvm-branch-commits mailing list