diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-10-27 14:09:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-10-27 14:09:44 +0000 |
commit | f87611272bd9b97c738e18ed046b38e0b5acdebb (patch) | |
tree | 24b5061366175ff3780b3602c681161d336e94ec /lib/Target/ARM | |
parent | d5a72d9642e0d532404bc97f705d0b9c565aafcd (diff) | |
download | external_llvm-f87611272bd9b97c738e18ed046b38e0b5acdebb.zip external_llvm-f87611272bd9b97c738e18ed046b38e0b5acdebb.tar.gz external_llvm-f87611272bd9b97c738e18ed046b38e0b5acdebb.tar.bz2 |
Correctly align double arguments in the stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r-- | lib/Target/ARM/ARMCallingConv.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMCallingConv.td b/lib/Target/ARM/ARMCallingConv.td index 7161639..8fdb07f 100644 --- a/lib/Target/ARM/ARMCallingConv.td +++ b/lib/Target/ARM/ARMCallingConv.td @@ -68,6 +68,7 @@ def CC_ARM_AAPCS_Common : CallingConv<[ "ArgFlags.getOrigAlign() != 8", CCAssignToReg<[R0, R1, R2, R3]>>>, + CCIfType<[i32], CCIfAlign<"8", CCAssignToStack<4, 8>>>, CCIfType<[i32, f32], CCAssignToStack<4, 4>>, CCIfType<[f64], CCAssignToStack<8, 8>>, CCIfType<[v2f64], CCAssignToStack<16, 8>> |