[llvm] r366658 - [InstCombine] Update comment I missed in r366649. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 21 09:15:04 PDT 2019


Author: ctopper
Date: Sun Jul 21 09:15:03 2019
New Revision: 366658

URL: http://llvm.org/viewvc/llvm-project?rev=366658&view=rev
Log:
[InstCombine] Update comment I missed in r366649. NFC

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp?rev=366658&r1=366657&r2=366658&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp Sun Jul 21 09:15:03 2019
@@ -160,7 +160,7 @@ Instruction *InstCombiner::OptAndOp(Bina
 }
 
 /// 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) {




More information about the llvm-commits mailing list