When merging Thumb2 loads/stores, do not give up when the offset is one of
authorBob Wilson <bob.wilson@apple.com>
Fri, 27 Aug 2010 23:57:52 +0000 (23:57 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 27 Aug 2010 23:57:52 +0000 (23:57 +0000)
commit14805e2afd5aa754e13fd5bb99365ffe972e9696
tree50805e7f0bb9a8888179ccae847819a41ffa0480
parenta0b59f6bd23afaeba923b94f46838cffd5218a12
When merging Thumb2 loads/stores, do not give up when the offset is one of
the special values that for ARM would be used with IB or DA modes.  Fall
through and consider materializing a new base address is it would be
profitable.

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