mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Support/STLExtras.h"
|
||||
#include "Support/StatisticReporter.h"
|
||||
#include <iostream>
|
||||
|
||||
static Statistic<> NumRemoved ("indvars\t\t- Number of aux indvars removed");
|
||||
static Statistic<> NumInserted("indvars\t\t- Number of cannonical indvars added");
|
||||
@@ -114,7 +115,7 @@ static bool TransformLoop(LoopInfo *Loops, Loop *Loop) {
|
||||
Changed = true;
|
||||
}
|
||||
|
||||
DEBUG(cerr << "Induction variables:\n");
|
||||
DEBUG(std::cerr << "Induction variables:\n");
|
||||
|
||||
// Get the current loop iteration count, which is always the value of the
|
||||
// cannonical phi node...
|
||||
@@ -127,7 +128,7 @@ static bool TransformLoop(LoopInfo *Loops, Loop *Loop) {
|
||||
for (unsigned i = 0; i < IndVars.size(); ++i) {
|
||||
InductionVariable *IV = &IndVars[i];
|
||||
|
||||
DEBUG(cerr << IV);
|
||||
DEBUG(std::cerr << IV);
|
||||
|
||||
// Don't modify the cannonical indvar or unrecognized indvars...
|
||||
if (IV != Cannonical && IV->InductionType != InductionVariable::Unknown) {
|
||||
|
Reference in New Issue
Block a user