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)
commit6de800e0566f1cbd3e8e51137fb8943ac1608724
tree1d5ecc966e6a96d72524bd6dc6b5c729a4be77ef
parent74e8bf678a6fba8614f82baed2aaef2eaf7719b5
Get the cached subtarget off the MachineFunction rather than
inquiring for a new one from the TargetMachine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230037 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GCRootLowering.cpp
lib/Target/PowerPC/PPCTLSDynamicCall.cpp