Replace some uses of getSubtargetImpl with the cached version
authorEric Christopher <echristo@gmail.com>
Tue, 27 Jan 2015 08:48:42 +0000 (08:48 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 27 Jan 2015 08:48:42 +0000 (08:48 +0000)
commitad5a857bc5ed99be653f6703b6f34377bc4f007d
tree5acaf16df8fdc7b3c6dfbe4d728f3b94dc6c9851
parentdf01caffa4045741e309188bdea7805d3616f48c
Replace some uses of getSubtargetImpl with the cached version
off of the MachineFunction or with the version that takes a
Function reference as an argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227185 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/ScheduleDAG.cpp
lib/CodeGen/SjLjEHPrepare.cpp
lib/CodeGen/StackProtector.cpp
lib/CodeGen/TwoAddressInstructionPass.cpp