Add hook for re-using virtual base registers for local stack slot access.
authorJim Grosbach <grosbach@apple.com>
Wed, 18 Aug 2010 17:57:37 +0000 (17:57 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 18 Aug 2010 17:57:37 +0000 (17:57 +0000)
commit74d803a58c7935c067397bb19afc05ec464d8159
tree5a5c144b511d1e15d1d757bd50c721de7c9a2c63
parent18cde6df91a33d62a334002a7b608917c07791e8
Add hook for re-using virtual base registers for local stack slot access.
Nothing fancy, just ask the target if any currently available base reg
is in range for the instruction under consideration and use the first one
that is. Placeholder ARM implementation simply returns false for now.

ongoing saga of rdar://8277890

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111374 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/LocalStackSlotAllocation.cpp
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/ARMBaseRegisterInfo.h