The list-td and list-tdrr schedulers don't yet support physreg
authorDan Gohman <gohman@apple.com>
Tue, 13 Jan 2009 20:24:13 +0000 (20:24 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 13 Jan 2009 20:24:13 +0000 (20:24 +0000)
commitbc0b56732a2d1dc22767e0f3930f22a76d99470a
treeca0c8659323b4d12946471be758a50bbd2d96735
parent6893cd76152e805291c3c9f36fa81b330846434d
The list-td and list-tdrr schedulers don't yet support physreg
scheduling dependencies. Add assertion checks to help catch
this.

It appears the Mips target defaults to list-td, and it has a
regression test that uses a physreg dependence. Such code was
liable to be miscompiled, and now evokes an assertion failure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62177 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
test/CodeGen/Generic/2006-07-03-schedulers.ll
test/CodeGen/Mips/2008-07-23-fpcmp.ll