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)
commit99556d77ef3b551013f47f429aa52cedef9682a3
tree5eaf46c71ad0e116c5edb0c3f39c9dc840500d5d
parent3cb826ca10e090a636173cda14454419ceb95db8
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.

llvm-svn: 219666
llvm/lib/CodeGen/MachineScheduler.cpp