[llvm] [RISCV] Handle zeroinitializer of vector tuple Type (PR #113995)
Brandon Wu via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 18:18:11 PDT 2024
================
@@ -6288,6 +6288,9 @@ SDValue SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, EVT VT,
return getNode(ISD::VECREDUCE_AND, DL, VT, N1);
break;
case ISD::SPLAT_VECTOR:
+ // RISC-V vector tuple type is not a vector type.
+ if (VT.isRISCVVectorTuple())
----------------
4vtomat wrote:
Hmm, but I guess there's no way to skip this check lol~
https://github.com/llvm/llvm-project/pull/113995
More information about the llvm-commits
mailing list