diff options
| author | Duncan Sands <baldrick@free.fr> | 2011-01-25 12:15:09 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2011-01-25 12:15:09 +0000 |
| commit | fced7620f555c83bc9e5e65f745e51958dbdc676 (patch) | |
| tree | f088e39f11ddc2e78297f08377ffe8dd55cf1454 /llvm/lib/Analysis/ValueTracking.cpp | |
| parent | d3951083940461624d457978a0807f31f4ee02c8 (diff) | |
| download | llvm-fced7620f555c83bc9e5e65f745e51958dbdc676.zip llvm-fced7620f555c83bc9e5e65f745e51958dbdc676.tar.gz llvm-fced7620f555c83bc9e5e65f745e51958dbdc676.tar.bz2 | |
See if this fixes llvm-gcc bootstrap.
llvm-svn: 124184
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index c8a3ae8..98b4489 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. |
