Remove the need to cache the subtarget in the ARM TargetRegisterInfo
authorEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 05:12:31 +0000 (05:12 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 05:12:31 +0000 (05:12 +0000)
commitd86e30a88e222e62fe1f55d02855facbdb02011d
tree7a8f4343dba7519f57dfdd3a0296a54c1e2d98a4
parentdb9db0b2a17375328964408bd3271b7a05736756
Remove the need to cache the subtarget in the ARM TargetRegisterInfo
classes. Replace the frame pointer initialization with a static function
that'll look it up via the subtarget on the MachineFunction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232010 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/ARMBaseRegisterInfo.h
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMRegisterInfo.cpp
lib/Target/ARM/ARMRegisterInfo.h
lib/Target/ARM/Thumb1InstrInfo.cpp
lib/Target/ARM/Thumb1RegisterInfo.cpp
lib/Target/ARM/Thumb1RegisterInfo.h
lib/Target/ARM/Thumb2InstrInfo.cpp
lib/Target/ARM/Thumb2RegisterInfo.cpp
lib/Target/ARM/Thumb2RegisterInfo.h