Skip to content

Commit 70ed31a

Browse files
Update DAGCombiner.cpp
1 parent 2e1f708 commit 70ed31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22606,7 +22606,7 @@ static SDValue foldToMaskedStore(StoreSDNode *Store, SelectionDAG &DAG,
2260622606

2260722607
// Skip this combine for non-vector types and for <1 x ty> vectors, as they
2260822608
// will be scalarized later.
22609-
if (!VT.isVector() || VT.getVectorNumElements() == 1)
22609+
if (!VT.isVector() || VT.isScalableVector() || VT.getVectorNumElements() == 1)
2261022610
return SDValue();
2261122611

2261222612
unsigned AddrSpace = Store->getAddressSpace();

0 commit comments

Comments
 (0)