Skip to content

Commit 76e6a24

Browse files
authored
Update InstCombineAndOrXor.cpp
1 parent 2889778 commit 76e6a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ Value *InstCombinerImpl::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1,
703703
Input = Cmp1Op0;
704704
RangeEnd = Cmp1Op1;
705705
} else if (match(Cmp1Op1, m_SExtOrSelf(m_Specific(Input)))) {
706-
// For the upper range compare we have: icmp n, (sext x)
706+
// For the upper range compare we have: icmp n, x
707707
Input = Cmp1Op1;
708708
RangeEnd = Cmp1Op0;
709709
Pred1 = ICmpInst::getSwappedPredicate(Pred1);

0 commit comments

Comments
 (0)