mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -253,11 +253,12 @@ namespace llvm {
|
||||
virtual bool hasComputableLoopEvolution(const Loop *L) const {
|
||||
bool HasVarying = false;
|
||||
for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
|
||||
if (!getOperand(i)->isLoopInvariant(L))
|
||||
if (!getOperand(i)->isLoopInvariant(L)) {
|
||||
if (getOperand(i)->hasComputableLoopEvolution(L))
|
||||
HasVarying = true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
return HasVarying;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user