[llvm] Port `NVPTXTargetLowering::LowerCONCAT_VECTORS` to SelectionDAG (PR #120030)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 20:30:11 PST 2024
================
@@ -1517,10 +1518,28 @@ SDValue SelectionDAGLegalize::ExpandInsertToVectorThroughStack(SDValue Op) {
BaseVecAlignment);
}
+SDValue SelectionDAGLegalize::ExpandConcatVectors(SDNode *Node) {
+ assert(Node->getOpcode() == ISD::CONCAT_VECTORS && "Unexpected opcode!");
+ SDLoc Dl(Node);
+ SmallVector<SDValue, 0> Ops;
----------------
arsenm wrote:
```suggestion
SmallVector<SDValue, 16> Ops;
```
https://github.com/llvm/llvm-project/pull/120030
More information about the llvm-commits
mailing list