Correctly align double arguments in the stack.

llvm-svn: 85235
This commit is contained in:
Rafael Espindola 2009-10-27 14:09:44 +00:00
parent de258b5ab9
commit d90d169f9d
1 changed files with 1 additions and 0 deletions

View File

@ -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>>