Skip to content

Commit 8588389

Browse files
committed
add todo
1 parent 9e0e65f commit 8588389

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15285,6 +15285,7 @@ SDValue DAGCombiner::visitAssertExt(SDNode *N) {
1528515285

1528615286
// Remove AssertZext entirely if the mask guarantees the assertion cannot
1528715287
// fail.
15288+
// TODO: Use KB countMinLeadingZeros to handle non-constant masks?
1528815289
if (Mask.isIntN(AssertVT.getScalarSizeInBits()))
1528915290
return N0;
1529015291
}

0 commit comments

Comments
 (0)