mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Add a really faster pre-RA scheduler (-pre-RA-sched=linearize). It doesn't use
any scheduling heuristics nor does it build up any scheduling data structure that other heuristics use. It essentially linearize by doing a DFA walk but it does handle glues correctly. IMPORTANT: it probably can't handle all the physical register dependencies so it's not suitable for x86. It also doesn't deal with dbg_value nodes right now so it's definitely is still WIP. rdar://12474515 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -831,8 +831,7 @@ EmitSchedule(MachineBasicBlock::iterator &InsertPos) {
|
||||
}
|
||||
|
||||
SmallVector<SDNode *, 4> GluedNodes;
|
||||
for (SDNode *N = SU->getNode()->getGluedNode(); N;
|
||||
N = N->getGluedNode())
|
||||
for (SDNode *N = SU->getNode()->getGluedNode(); N; N = N->getGluedNode())
|
||||
GluedNodes.push_back(N);
|
||||
while (!GluedNodes.empty()) {
|
||||
SDNode *N = GluedNodes.back();
|
||||
|
||||
Reference in New Issue
Block a user