LowerCall() should always do getCopyFromReg() to reference the stack pointer.
authorJim Grosbach <grosbach@apple.com>
Wed, 24 Feb 2010 01:43:03 +0000 (01:43 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 24 Feb 2010 01:43:03 +0000 (01:43 +0000)
commitf9a4b7653d2a838b344dc3cd38b37f7803059d79
tree7ff153fc5917e4cbff2e577b61a62294418209cc
parent97e6b8390b405f9e7dd994f111a5950fca2962d2
LowerCall() should always do getCopyFromReg() to reference the stack pointer.
Machine instruction selection is much happier when operands are in virtual
registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97012 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/Thumb2/ldr-str-imm12.ll