[llvm] [SelectionDAG] Add PARTIAL_REDUCE_U/SMLA ISD Nodes (PR #125207)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 6 08:46:35 PST 2025
================
@@ -7883,6 +7854,30 @@ SDValue SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, EVT VT,
break;
}
+ case ISD::PARTIAL_REDUCE_UMLA:
+ case ISD::PARTIAL_REDUCE_SMLA: {
+ EVT AccVT = N1.getValueType();
+ EVT Input1VT = N2.getValueType();
+ EVT Input2VT = N3.getValueType();
+ assert(Input1VT == Input2VT &&
----------------
paulwalker-arm wrote:
Probably worth adding `Input1VT.isVectorTy() &&` just to be certain.
https://github.com/llvm/llvm-project/pull/125207
More information about the llvm-commits
mailing list