summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-01-25 12:15:09 +0000
committerDuncan Sands <baldrick@free.fr>2011-01-25 12:15:09 +0000
commitfced7620f555c83bc9e5e65f745e51958dbdc676 (patch)
treef088e39f11ddc2e78297f08377ffe8dd55cf1454 /llvm/lib/Analysis
parentd3951083940461624d457978a0807f31f4ee02c8 (diff)
downloadbcm5719-llvm-fced7620f555c83bc9e5e65f745e51958dbdc676.tar.gz
bcm5719-llvm-fced7620f555c83bc9e5e65f745e51958dbdc676.zip
See if this fixes llvm-gcc bootstrap.
llvm-svn: 124184
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index c8a3ae893f5..98b4489cba7 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -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.
OpenPOWER on IntegriCloud