mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 13:08:00 +00:00
Kill warnings during an optimized compile where assert() disappears.
llvm-svn: 12669
This commit is contained in:
parent
8b61b8c936
commit
21355cfcba
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user