Factor out the code for verifying the work of the scheduler,
authorDan Gohman <gohman@apple.com>
Thu, 20 Nov 2008 01:26:25 +0000 (01:26 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 20 Nov 2008 01:26:25 +0000 (01:26 +0000)
commita1e6d363e5efa9eb1a2e7ac21a0394c870bef5ad
tree5c7af2d328f874ecd015cae09282057b38971b65
parentf23de86fa3b275cabc6450349dcbbb448ee5952b
Factor out the code for verifying the work of the scheduler,
extend it a bit, and make use of it in all schedulers, to
ensure consistent checking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59689 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h
lib/CodeGen/PostRASchedulerList.cpp
lib/CodeGen/ScheduleDAG.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp