Grab a subtarget off of an AMDGPUTargetMachine rather than a
authorEric Christopher <echristo@gmail.com>
Sat, 21 Mar 2015 03:17:25 +0000 (03:17 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 21 Mar 2015 03:17:25 +0000 (03:17 +0000)
commit8024d030fbf5b87fc9d38178c48f1a84e33aee10
tree1b95b82c2f5f5bfcda4a8b788e0e02013c9add5a
parentc5a85af3b23b958f1c86768b7622503d76761966
Grab a subtarget off of an AMDGPUTargetMachine rather than a
bare target machine in preparation for the TargetMachine bare
getSubtarget/getSubtargetImpl calls going away.

llvm-svn: 232880
llvm/lib/Target/R600/AMDGPUTargetMachine.cpp