Get the cached subtarget off the MachineFunction rather than
authorEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 08:39:06 +0000 (08:39 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 08:39:06 +0000 (08:39 +0000)
commitd8210e33d445f13a0e892113c85034ce36b05286
treee0b79520b0f811c679d3fe3d58eb2514da15eaf3
parentf179b3f1d91581c29421225d089cd85d28e14d2e
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@230000 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
lib/Target/Mips/MipsAsmPrinter.cpp