mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Pretty straightforward replacement of "bytecode" by "bitcode"
performed on tools/ first, in order not to cause lethal damage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -70,7 +70,7 @@ ReducePassList::doTest(std::vector<const PassInfo*> &Prefix,
|
||||
|
||||
BD.Program = ParseInputFile(PrefixOutput.toString());
|
||||
if (BD.Program == 0) {
|
||||
std::cerr << BD.getToolName() << ": Error reading bytecode file '"
|
||||
std::cerr << BD.getToolName() << ": Error reading bitcode file '"
|
||||
<< PrefixOutput << "'!\n";
|
||||
exit(1);
|
||||
}
|
||||
@@ -396,7 +396,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) {
|
||||
ReduceCrashingGlobalVariables(BD, TestFn).reduceList(GVs);
|
||||
|
||||
if (GVs.size() < OldSize)
|
||||
BD.EmitProgressBytecode("reduced-global-variables");
|
||||
BD.EmitProgressBitcode("reduced-global-variables");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -417,7 +417,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) {
|
||||
ReduceCrashingFunctions(BD, TestFn).reduceList(Functions);
|
||||
|
||||
if (Functions.size() < OldSize)
|
||||
BD.EmitProgressBytecode("reduced-function");
|
||||
BD.EmitProgressBitcode("reduced-function");
|
||||
}
|
||||
|
||||
// Attempt to delete entire basic blocks at a time to speed up
|
||||
@@ -508,7 +508,7 @@ ExitLoops:
|
||||
}
|
||||
}
|
||||
|
||||
BD.EmitProgressBytecode("reduced-simplified");
|
||||
BD.EmitProgressBitcode("reduced-simplified");
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -532,7 +532,7 @@ bool BugDriver::debugOptimizerCrash(const std::string &ID) {
|
||||
<< (PassesToRun.size() == 1 ? ": " : "es: ")
|
||||
<< getPassesString(PassesToRun) << '\n';
|
||||
|
||||
EmitProgressBytecode(ID);
|
||||
EmitProgressBitcode(ID);
|
||||
|
||||
return DebugACrash(*this, TestForOptimizerCrash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user