[llvm-branch-commits] [llvm] AMDGPU: Fix src2_modifiers for v_dot2_f32_f16/bf16 on gfx11+ (PR #179224)
Petar Avramovic via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Mar 13 05:18:29 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:
Would hasGFX11Insts() be fine? Or we need new named one
https://github.com/llvm/llvm-project/pull/179224
More information about the llvm-branch-commits
mailing list