Skip to content

Commit f3e724d

Browse files
committed
Address review comment
1 parent 381c8ac commit f3e724d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18108,7 +18108,7 @@ static SDValue performVECREDUCECombine(SDNode *N, SelectionDAG &DAG,
1810818108
return SDValue();
1810918109

1811018110
SDLoc DL(N);
18111-
MVT VT = N->getSimpleValueType(0);
18111+
EVT VT = N->getValueType(0);
1811218112
SDValue InVec = N->getOperand(0);
1811318113
if (SDValue V = foldReduceOperandViaVQDOT(InVec, DL, DAG, Subtarget, TLI))
1811418114
return DAG.getNode(ISD::VECREDUCE_ADD, DL, VT, V);

0 commit comments

Comments
 (0)