Fix merging base-updates for VLDM/VSTM: Before I switched these instructions
authorBob Wilson <bob.wilson@apple.com>
Fri, 10 Sep 2010 05:15:04 +0000 (05:15 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 10 Sep 2010 05:15:04 +0000 (05:15 +0000)
commitefe7d9a12f441a256d67c4e4da494dcefca678a5
tree9023ab09a14db518e7347f48b47925049acd1471
parent3ef1c8759a20167457eb7fd82ebcaffe7ccaa1d1
Fix merging base-updates for VLDM/VSTM: Before I switched these instructions
to use AddrMode4, there was a count of the registers stored in one of the
operands.  I changed that to just count the operands but forgot to adjust for
the size of D registers.  This was noticed by Evan as a performance problem
but it is a potential correctness bug as well, since it is possible that this
could merge a base update with a non-matching immediate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113576 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll