]> granicus.if.org Git - llvm/commit
MachineScheduler/ScheduleDAG: Add support to skipping a node.
authorMatthias Braun <matze@braunis.de>
Fri, 11 Nov 2016 22:37:34 +0000 (22:37 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 11 Nov 2016 22:37:34 +0000 (22:37 +0000)
commit59a5edddc7c0a7c0dd70ea09021ee058197a1ff7
tree10d73cb3caae1f2b65658cec2bc1b25770619168
parent97c4b7addd559830a25f52774fe477089f329688
MachineScheduler/ScheduleDAG: Add support to skipping a node.

The DAG mutators in the scheduler cannot really remove DAG nodes as
additional anlysis information such as ScheduleDAGToplogicalSort are
already computed at this point and rely on a fixed number of DAG nodes.

Alleviate the missing removal with a new flag: Setting the new skip
flag on a node ignores it during scheduling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286655 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h
lib/CodeGen/MachineScheduler.cpp
lib/CodeGen/ScheduleDAG.cpp