projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[X86][Haswell][SchedModel] Add architecture specific scheduling models.
[oota-llvm.git]
/
lib
/
Analysis
/
Lint.cpp
diff --git
a/lib/Analysis/Lint.cpp
b/lib/Analysis/Lint.cpp
index 5365fe5a3eee619d97ecaa8bfc93811cfc2c582a..b14f3292e90075367cb4db44d38bfbb7b2af6fca 100644
(file)
--- a/
lib/Analysis/Lint.cpp
+++ b/
lib/Analysis/Lint.cpp
@@
-513,7
+513,7
@@
static bool isZero(Value *V, const DataLayout *DL) {
if (!VecTy) {
unsigned BitWidth = V->getType()->getIntegerBitWidth();
APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
if (!VecTy) {
unsigned BitWidth = V->getType()->getIntegerBitWidth();
APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
-
ComputeMasked
Bits(V, KnownZero, KnownOne, DL);
+
computeKnown
Bits(V, KnownZero, KnownOne, DL);
return KnownZero.isAllOnesValue();
}
return KnownZero.isAllOnesValue();
}
@@
-534,7
+534,7
@@
static bool isZero(Value *V, const DataLayout *DL) {
return true;
APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
return true;
APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
-
ComputeMasked
Bits(Elem, KnownZero, KnownOne, DL);
+
computeKnown
Bits(Elem, KnownZero, KnownOne, DL);
if (KnownZero.isAllOnesValue())
return true;
}
if (KnownZero.isAllOnesValue())
return true;
}