Make ARM add rN, sp, #imm instructions rematerializable. That's how the address of...
authorJim Grosbach <grosbach@apple.com>
Mon, 30 Aug 2010 19:49:58 +0000 (19:49 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 30 Aug 2010 19:49:58 +0000 (19:49 +0000)
commit663e339e208a9d54d3731618cb484e8a07c33335
tree72aa7e78cb3a90fe8022c5b063ee5714567482c4
parent753f3265dafdcfeec07b561ca278524c35477583
Make ARM add rN, sp, #imm instructions rematerializable. That's how the address of locals is calculated, so this should
help relieve register pressure a bit. Recalculating the local address is
almost always going to be better than spilling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112503 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMInstrThumb2.td