Skip to content

Commit b0cb58f

Browse files
committed
comment
1 parent c4abc8d commit b0cb58f

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

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

0 commit comments

Comments
 (0)