[llvm] [SelectionDAG] WidenVecOp_INSERT_SUBVECTOR - Replace `INSERT_SUBVECTOR` with series of `INSERT_VECTOR_ELT` (PR #124420)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 09:57:32 PST 2025
================
@@ -7040,8 +7040,11 @@ SDValue DAGTypeLegalizer::WidenVecOp_INSERT_SUBVECTOR(SDNode *N) {
SDValue SubVec = N->getOperand(1);
SDValue InVec = N->getOperand(0);
- if (getTypeAction(SubVec.getValueType()) == TargetLowering::TypeWidenVector)
+ EVT OrigVT;
----------------
RKSimon wrote:
Pull this out - no need to limit it the widencase - `EVT OrigVT = SubVec.getValueType();`
https://github.com/llvm/llvm-project/pull/124420
More information about the llvm-commits
mailing list