We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d95555e commit 1c9fa8eCopy full SHA for 1c9fa8e
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -3397,9 +3397,9 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
3397
Results.push_back(ExpandInsertToVectorThroughStack(SDValue(Node, 0)));
3398
break;
3399
case ISD::CONCAT_VECTORS:
3400
- if (Node->getValueType().isScalableVector() ||
3401
- TLI.isOperationExpand(ISD::EXTRACT_VECTOR_ELT,
3402
- Node->getOperand(0).getValueType()))
+ if (EVT VectorValueType = Node->getOperand(0).getValueType();
+ VectorValueType.isScalableVector() ||
+ TLI.isOperationExpand(ISD::EXTRACT_VECTOR_ELT, VectorValueType))
3403
Results.push_back(ExpandVectorBuildThroughStack(Node));
3404
else
3405
Results.push_back(ExpandConcatVectors(Node));
0 commit comments