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:
ddd947f
)
Kill warnings during an optimized compile where assert() disappears.
author
Misha Brukman
<brukman+llvm@gmail.com>
Mon, 5 Apr 2004 19:00:46 +0000
(19:00 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Mon, 5 Apr 2004 19:00:46 +0000
(19:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12669
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 8e6ee5363ae4974115da9e02ae45dcb5a1a9d422..f54dce7ca2ebb7dc64f512d9d908086609d3cfa9 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-143,10
+143,12
@@
SCEVCouldNotCompute::SCEVCouldNotCompute() : SCEV(scCouldNotCompute) {}
bool SCEVCouldNotCompute::isLoopInvariant(const Loop *L) const {
assert(0 && "Attempt to use a SCEVCouldNotCompute object!");
+ return false;
}
const Type *SCEVCouldNotCompute::getType() const {
assert(0 && "Attempt to use a SCEVCouldNotCompute object!");
+ return 0;
}
bool SCEVCouldNotCompute::hasComputableLoopEvolution(const Loop *L) const {