[llvm] Port `NVPTXTargetLowering::LowerCONCAT_VECTORS` to SelectionDAG (PR #120030)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 14:29:20 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);
----------------
justinfargnoli wrote:

```suggestion
  SDLoc DL(Node);
```

https://github.com/llvm/llvm-project/pull/120030


More information about the llvm-commits mailing list