Skip to content

Commit acbc2c1

Browse files
Update DAGCombiner.cpp
1 parent efcf75a commit acbc2c1

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
@@ -22490,7 +22490,7 @@ SDValue DAGCombiner::visitATOMIC_STORE(SDNode *N) {
2249022490

2249122491
static SDValue foldToMaskedStore(StoreSDNode *Store, SelectionDAG &DAG,
2249222492
const SDLoc &Dl) {
22493-
if (!Store->isSimple() || Store->isTruncatingStore())
22493+
if (!Store->isSimple() || !ISD::isNormalStore(Store))
2249422494
return SDValue();
2249522495

2249622496
SDValue StoredVal = Store->getValue();

0 commit comments

Comments
 (0)