Use the cached subtarget on the MachineFunction when the AsmPrinter
authorEric Christopher <echristo@gmail.com>
Thu, 19 Mar 2015 23:27:42 +0000 (23:27 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Mar 2015 23:27:42 +0000 (23:27 +0000)
commit8d5dd67e04ad5def9ce4cd69827ba4d3fce1360d
treeb439c7e5d42cb603f6f0413435e95827b75d8327
parent051c9e751b01c54ef4e9d7398be089ef1d2a4894
Use the cached subtarget on the MachineFunction when the AsmPrinter
will have a MachineFunction, i.e. in places other than the module
level doInitialize/doFinalize.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232783 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/StackMaps.cpp