From: Benjamin Kramer Date: Tue, 21 Feb 2012 13:40:06 +0000 (+0000) Subject: Fix unsigned off-by-one in comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a42d5c425251b6f30d46744d494817f788c408be;p=oota-llvm.git Fix unsigned off-by-one in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151056 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/InstCombine/InstCombineCompares.cpp b/lib/Transforms/InstCombine/InstCombineCompares.cpp index 2f608b26acc..53089928c3f 100644 --- a/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/lib/Transforms/InstCombine/InstCombineCompares.cpp @@ -575,7 +575,7 @@ Instruction *InstCombiner::FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS, // GEP is inbounds, the final add of the base pointer can have signed overflow // and would change the result of the icmp. // e.g. "&foo[0]