xref: /llvm-project/llvm/test/CodeGen/ARM/2009-10-27-double-align.ll (revision bed1c7f061aa12417aa081e334afdba45767b938)
1; RUN: llc < %s  -mtriple=arm-linux-gnueabi | FileCheck %s --check-prefix=NOREGALLOC
2; RUN: llc < %s  -mtriple=arm-linux-gnueabi -regalloc=basic | FileCheck %s --check-prefix=REGALLOC
3
4@.str = private constant [1 x i8] zeroinitializer, align 1
5
6define void @g() {
7entry:
8;CHECK: [sp, #8]
9;NOREGALLOC: [sp, #12]
10;NOREGALLOC: [sp]
11;REGALLOC: [sp]
12;REGALLOC: [sp, #12]
13        tail call  void (ptr, ...) @f(ptr @.str, i32 1, double 2.000000e+00, i32 3, double 4.000000e+00)
14        ret void
15}
16
17declare void @f(ptr, ...)
18