summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-07-21 16:15:03 +0000
committerCraig Topper <craig.topper@intel.com>2019-07-21 16:15:03 +0000
commite6cd20ba5349022d9b755406bbee7b69f1d44617 (patch)
treeec7877bbd4e112476aa5fa77703cb4ff8a94e5c4 /llvm/lib/Transforms
parent630be14ac646ee919f7d68572716d64ab471b0d8 (diff)
downloadbcm5719-llvm-e6cd20ba5349022d9b755406bbee7b69f1d44617.tar.gz
bcm5719-llvm-e6cd20ba5349022d9b755406bbee7b69f1d44617.zip
[InstCombine] Update comment I missed in r366649. NFC
llvm-svn: 366658
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
index 1a7a25b21c3..9db0824aba9 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
@@ -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) {
OpenPOWER on IntegriCloud