When using ADDri to get the address of a stack object, 255 is a conservative
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 18 Jun 2010 20:59:25 +0000 (20:59 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 18 Jun 2010 20:59:25 +0000 (20:59 +0000)
commit52c61ec1640a9fa1cf8c2fde97a14dfbf5e702b7
tree4c222dc1b60ffc4271b9d1478dc0e11ee0789709
parent1415a602ade564390bd86476feaeb66cb3612951
When using ADDri to get the address of a stack object, 255 is a conservative
limit on the offset that can be materialized without using the register
scavenger.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106312 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseRegisterInfo.cpp
test/CodeGen/ARM/crash-O0.ll