Skip to content

Commit 9e0e65f

Browse files
committed
comment
1 parent 22a64b3 commit 9e0e65f

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
@@ -15285,7 +15285,7 @@ SDValue DAGCombiner::visitAssertExt(SDNode *N) {
1528515285

1528615286
// Remove AssertZext entirely if the mask guarantees the assertion cannot
1528715287
// fail.
15288-
if (Mask.isMask() && Mask.countr_one() <= AssertVT.getScalarSizeInBits())
15288+
if (Mask.isIntN(AssertVT.getScalarSizeInBits()))
1528915289
return N0;
1529015290
}
1529115291

0 commit comments

Comments
 (0)