OSDN Git Service

Use a simple comparison. Overflow on integer negation can only occur when the
authorBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 19:46:27 +0000 (19:46 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 19:46:27 +0000 (19:46 +0000)
commitc25c68305c5d595c5428f75280cfb56e4f623eb3
tree8b3b03ab0e84a1a4e77aadee70364f03d54031c8
parent7b6113c6e2f23f3bf8b2505bf13bc15b4995c82a
Use a simple comparison. Overflow on integer negation can only occur when the
integer is "minint".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60366 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp