]> granicus.if.org Git - llvm/commitdiff
[InstCombine] Update comment I missed in r366649. NFC
authorCraig Topper <craig.topper@intel.com>
Sun, 21 Jul 2019 16:15:03 +0000 (16:15 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 21 Jul 2019 16:15:03 +0000 (16:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366658 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

index 1a7a25b21c31d115a2c1033c14564d7fcfe6b8e5..9db0824aba9ed01cfa85784b9ab6938b3dc053cc 100644 (file)
@@ -160,7 +160,7 @@ Instruction *InstCombiner::OptAndOp(BinaryOperator *Op,
 }
 
 /// Emit a computation of: (V >= Lo && V < Hi) if Inside is true, otherwise
-/// (V < Lo || V >= Hi). This method expects that Lo <= Hi. IsSigned indicates
+/// (V < Lo || V >= Hi). This method expects that Lo < Hi. IsSigned indicates
 /// whether to treat V, Lo, and Hi as signed or not.
 Value *InstCombiner::insertRangeTest(Value *V, const APInt &Lo, const APInt &Hi,
                                      bool isSigned, bool Inside) {