Access the subtarget off of the MachineFunction via the DAG
authorEric Christopher <echristo@gmail.com>
Tue, 14 Oct 2014 06:56:25 +0000 (06:56 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 14 Oct 2014 06:56:25 +0000 (06:56 +0000)
commitcd694819add34439ba66944c48f686010251866f
treee24998ef195a619b912d037ef30fd2260368a12c
parent75ad488c41d4dfc29de0b296a5503dcde93d72c1
Access the subtarget off of the MachineFunction via the DAG
scheduler or via the SelectionDAG if available. Otherwise
grab the subtarget off of the MachineFunction by going up
the parent chain.

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