aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2009-10-27-double-align.ll
blob: b37de9dbbdfd33369aa5cfee873c8257ba1ee0da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc < %s  -mtriple=arm-linux-gnueabi | FileCheck %s
; RUN: llc < %s  -mtriple=arm-linux-gnueabi -regalloc=basic | FileCheck %s

@.str = private constant [1 x i8] zeroinitializer, align 1

define void @g() {
entry:
;CHECK: [sp, #8]
;CHECK: [sp, #12]
;CHECK: [sp]
        tail call  void (i8*, ...)* @f(i8* getelementptr ([1 x i8]* @.str, i32 0, i32 0), i32 1, double 2.000000e+00, i32 3, double 4.000000e+00)
        ret void
}

declare void @f(i8*, ...)