[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:36 PDT 2024
================
@@ -5859,7 +5866,11 @@ SDValue DAGTypeLegalizer::PromoteIntRes_ScalarOp(SDNode *N) {
EVT NOutElemVT = NOutVT.getVectorElementType();
SDValue Op = DAG.getNode(ISD::ANY_EXTEND, dl, NOutElemVT, N->getOperand(0));
-
+ if (N->isVPOpcode()) {
+ SDValue Mask = N->getOperand(1);
----------------
yetingk wrote:
Done.
https://github.com/llvm/llvm-project/pull/98731
More information about the llvm-commits
mailing list