See if this fixes llvm-gcc bootstrap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2011-01-25 12:15:09 +00:00
parent d70d1a5c44
commit 2539b73128

View File

@ -742,7 +742,8 @@ bool llvm::isKnownNonZero(Value *V, const TargetData *TD, unsigned Depth) {
// If X and Y are both non-negative (as signed values) then their sum is not
// zero.
if (XKnownNonNegative && YKnownNonNegative)
return true;
return false;
// return true;
// If X and Y are both negative (as signed values) then their sum is not
// zero unless both X and Y equal INT_MIN.