[llvm] [AMDGPU] Disable dpp src1 sgpr on gfx11 (PR #164241)
Paul Trojahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 30 06:16:58 PDT 2026
================
@@ -307,10 +307,12 @@ MachineInstr *GCNDPPCombine::createDPPInst(MachineInstr &OrigMI,
if (Src1) {
assert(AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::src1) &&
"dpp version of instruction missing src1");
- // If subtarget does not support SGPRs for src1 operand then the
- // requirements are the same as for src0. We check src0 instead because
- // pseudos are shared between subtargets and allow SGPR for src1 on all.
----------------
ptrojahn wrote:
The line "OpNum = Src0Idx;" that this comment refers to and that was introduced in the original PR was removed in https://github.com/llvm/llvm-project/pull/155595 so I think it is stale now?
https://github.com/llvm/llvm-project/pull/164241
More information about the llvm-commits
mailing list