mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
No functionality change. Fix up some whitespace and switch out "" for '' when
printing a single character. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128256 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -375,7 +375,7 @@ namespace {
|
|||||||
dbgs() << str << " intervals:\n";
|
dbgs() << str << " intervals:\n";
|
||||||
|
|
||||||
for (; i != e; ++i) {
|
for (; i != e; ++i) {
|
||||||
dbgs() << "\t" << *i->first << " -> ";
|
dbgs() << '\t' << *i->first << " -> ";
|
||||||
|
|
||||||
unsigned reg = i->first->reg;
|
unsigned reg = i->first->reg;
|
||||||
if (TargetRegisterInfo::isVirtualRegister(reg))
|
if (TargetRegisterInfo::isVirtualRegister(reg))
|
||||||
@ -390,7 +390,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
INITIALIZE_PASS_BEGIN(RALinScan, "linearscan-regalloc",
|
INITIALIZE_PASS_BEGIN(RALinScan, "linearscan-regalloc",
|
||||||
"Linear Scan Register Allocator", false, false)
|
"Linear Scan Register Allocator", false, false)
|
||||||
INITIALIZE_PASS_DEPENDENCY(LiveIntervals)
|
INITIALIZE_PASS_DEPENDENCY(LiveIntervals)
|
||||||
INITIALIZE_PASS_DEPENDENCY(StrongPHIElimination)
|
INITIALIZE_PASS_DEPENDENCY(StrongPHIElimination)
|
||||||
INITIALIZE_PASS_DEPENDENCY(CalculateSpillWeights)
|
INITIALIZE_PASS_DEPENDENCY(CalculateSpillWeights)
|
||||||
@ -401,7 +401,7 @@ INITIALIZE_PASS_DEPENDENCY(VirtRegMap)
|
|||||||
INITIALIZE_AG_DEPENDENCY(RegisterCoalescer)
|
INITIALIZE_AG_DEPENDENCY(RegisterCoalescer)
|
||||||
INITIALIZE_AG_DEPENDENCY(AliasAnalysis)
|
INITIALIZE_AG_DEPENDENCY(AliasAnalysis)
|
||||||
INITIALIZE_PASS_END(RALinScan, "linearscan-regalloc",
|
INITIALIZE_PASS_END(RALinScan, "linearscan-regalloc",
|
||||||
"Linear Scan Register Allocator", false, false)
|
"Linear Scan Register Allocator", false, false)
|
||||||
|
|
||||||
void RALinScan::ComputeRelatedRegClasses() {
|
void RALinScan::ComputeRelatedRegClasses() {
|
||||||
// First pass, add all reg classes to the union, and determine at least one
|
// First pass, add all reg classes to the union, and determine at least one
|
||||||
|
Reference in New Issue
Block a user