Get the cached subtarget off the MachineFunction rather than
authorEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 18:44:15 +0000 (18:44 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 18:44:15 +0000 (18:44 +0000)
commit1df0c519fc3576519f35427a3b8763fd3a210a35
tree933183ca6cd5ecbea84281ef949869b8a0cdb442
parent7a9e76216b4ce12ce29135cd851fb5f22f77fe22
Get the cached subtarget off the MachineFunction rather than
inquiring for a new one from the TargetMachine.

llvm-svn: 230037
llvm/lib/CodeGen/GCRootLowering.cpp
llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp