Fix eabi calling convention when a 64 bit value shadows r3.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 Aug 2010 15:35:32 +0000 (15:35 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 Aug 2010 15:35:32 +0000 (15:35 +0000)
commit55e958746901ef8c04f370e746a7538137d0bcf8
tree2d23220ec2267d39dbb9cdd9e23cb630ee35980c
parente52e9d60456073dddd691ae94c09b790f4bc26d5
Fix eabi calling convention when a 64 bit value shadows r3.

Without this what was happening was:

* R3 is not marked as "used"
* ARM backend thinks it has to save it to the stack because of vaarg
* Offset computation correctly ignores it
* Offsets are wrong

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110446 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/CallingConvLower.h
include/llvm/Target/TargetCallingConv.td
lib/Target/ARM/ARMCallingConv.td
test/CodeGen/ARM/arguments.ll
utils/TableGen/CallingConvEmitter.cpp