projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d70d1a5
)
See if this fixes llvm-gcc bootstrap.
author
Duncan Sands
<baldrick@free.fr>
Tue, 25 Jan 2011 12:15:09 +0000
(12:15 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 25 Jan 2011 12:15:09 +0000
(12:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124184
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ValueTracking.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ValueTracking.cpp
b/lib/Analysis/ValueTracking.cpp
index c8a3ae893f5879f109d5b334ecb380fd1bad8c1d..98b4489cba73368e7ef5caad131ec80fe6ffba02 100644
(file)
--- a/
lib/Analysis/ValueTracking.cpp
+++ b/
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.