parent
5a32c7647e
commit
3ec882feed
|
@ -158,7 +158,7 @@ INITIALIZE_PASS_END(AArch64A57FPLoadBalancing, DEBUG_TYPE,
|
|||
"AArch64 A57 FP Load-Balancing", false, false)
|
||||
|
||||
namespace {
|
||||
/// A Chain is a sequence of instructions that are linked together by
|
||||
/// A Chain is a sequence of instructions that are linked together by
|
||||
/// an accumulation operand. For example:
|
||||
///
|
||||
/// fmul d0<def>, ?
|
||||
|
@ -285,7 +285,7 @@ public:
|
|||
std::string str() const {
|
||||
std::string S;
|
||||
raw_string_ostream OS(S);
|
||||
|
||||
|
||||
OS << "{";
|
||||
StartInst->print(OS, /* SkipOpers= */true);
|
||||
OS << " -> ";
|
||||
|
@ -427,7 +427,7 @@ Chain *AArch64A57FPLoadBalancing::getAndEraseNext(Color PreferredColor,
|
|||
return Ch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Bailout case - just return the first item.
|
||||
Chain *Ch = L.front();
|
||||
L.erase(L.begin());
|
||||
|
@ -495,7 +495,7 @@ int AArch64A57FPLoadBalancing::scavengeRegister(Chain *G, Color C,
|
|||
RS.enterBasicBlock(&MBB);
|
||||
RS.forward(MachineBasicBlock::iterator(G->getStart()));
|
||||
|
||||
// Can we find an appropriate register that is available throughout the life
|
||||
// Can we find an appropriate register that is available throughout the life
|
||||
// of the chain?
|
||||
unsigned RegClassID = G->getStart()->getDesc().OpInfo[0].RegClass;
|
||||
BitVector AvailableRegs = RS.getRegsAvailable(TRI->getRegClass(RegClassID));
|
||||
|
|
Loading…
Reference in New Issue