Skip to content

Commit 92d9492

Browse files
committed
[RISCV] Address post-commit review feedback on 1ac489c
As noted by @s-barannikov, the last argument wasn't reflected in the type profile for the SDNode, nor was it being used by the patterns.
1 parent 0df1a52 commit 92d9492

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18054,10 +18054,8 @@ static SDValue lowerVQDOT(unsigned Opc, SDValue Op0, SDValue Op1,
1805418054
Op1 = convertToScalableVector(ContainerVT, Op1, DAG, Subtarget);
1805518055

1805618056
auto [Mask, VL] = getDefaultVLOps(VT, ContainerVT, DL, DAG, Subtarget);
18057-
const unsigned Policy = RISCVVType::TAIL_AGNOSTIC | RISCVVType::MASK_AGNOSTIC;
18058-
SDValue PolicyOp = DAG.getTargetConstant(Policy, DL, Subtarget.getXLenVT());
1805918057
SDValue LocalAccum = DAG.getNode(Opc, DL, ContainerVT,
18060-
{Op0, Op1, Passthru, Mask, VL, PolicyOp});
18058+
{Op0, Op1, Passthru, Mask, VL});
1806118059
return convertFromScalableVector(VT, LocalAccum, DAG, Subtarget);
1806218060
}
1806318061

0 commit comments

Comments
 (0)