ScheduleDAGInstrs: Remove IsPostRA flag
authorMatthias Braun <matze@braunis.de>
Thu, 29 Oct 2015 03:57:24 +0000 (03:57 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 29 Oct 2015 03:57:24 +0000 (03:57 +0000)
commit986cc460494893f1823c9277efe11259b7698c64
tree57b5e729ed6c1cdd699720c9d9fe1b547eac7710
parent6f23ba240ab91583176b69aa2b1fee4b1bcf78c5
ScheduleDAGInstrs: Remove IsPostRA flag

This was a layering violation in ScheduleDAGInstrs (and
MachineSchedulerBase) they both shouldn't know directly whether they are
used by the PostMachineScheduler or the MachineScheduler.

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