[llvm] [VP][RISCV] Introduce vp.splat and RISC-V. (PR #98731)
Yeting Kuo via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 02:10:30 PDT 2024
================
@@ -2211,10 +2213,14 @@ SDValue DAGTypeLegalizer::PromoteIntOp_INSERT_VECTOR_ELT(SDNode *N,
}
SDValue DAGTypeLegalizer::PromoteIntOp_ScalarOp(SDNode *N) {
+ SDValue Op = GetPromotedInteger(N->getOperand(0));
+ if (N->getOpcode() == ISD::EXPERIMENTAL_VP_SPLAT)
+ return DAG.getNode(ISD::EXPERIMENTAL_VP_SPLAT, SDLoc(N), N->getValueType(0),
----------------
yetingk wrote:
Done.
https://github.com/llvm/llvm-project/pull/98731
More information about the llvm-commits
mailing list