mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
When scheduling a block in parts, keep track of the overall
instruction index across each part. Instruction indices are used to make live range queries, and live ranges can extend beyond scheduling region boundaries. Refactor the ScheduleDAGSDNodes class some more so that it doesn't have to worry about this additional information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,10 +35,17 @@ namespace llvm {
|
||||
///
|
||||
class ScheduleDAGSDNodes : public ScheduleDAG {
|
||||
public:
|
||||
SelectionDAG *DAG; // DAG of the current basic block
|
||||
|
||||
explicit ScheduleDAGSDNodes(MachineFunction &mf);
|
||||
|
||||
virtual ~ScheduleDAGSDNodes() {}
|
||||
|
||||
/// Run - perform scheduling.
|
||||
///
|
||||
void Run(SelectionDAG *dag, MachineBasicBlock *bb,
|
||||
MachineBasicBlock::iterator insertPos);
|
||||
|
||||
/// isPassiveNode - Return true if the node is a non-scheduled leaf.
|
||||
///
|
||||
static bool isPassiveNode(SDNode *Node) {
|
||||
|
Reference in New Issue
Block a user