Enable ARM base register reuse to local stack slot allocation. Whenever a new
authorJim Grosbach <grosbach@apple.com>
Wed, 18 Aug 2010 22:44:49 +0000 (22:44 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 18 Aug 2010 22:44:49 +0000 (22:44 +0000)
commit2b1e202e1c2137b03f7c6ecc18668e40819fa22f
tree53707d0b4bf6ef47af08100cca8db36332aef9e4
parente0b313d599684ac4b404c16a081e461a6f3cee4f
Enable ARM base register reuse to local stack slot allocation. Whenever a new
frame index reference to an object in the local block is seen, check if
it's near enough to any previously allocaated base register to re-use.

rdar://8277890

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