1 ; RUN: llc < %s -mtriple=arm64-apple-ios7.0 -disable-post-ra | FileCheck %s
4 ; CHECK: stp x29, x30, [sp, #-16]!
5 ; CHECK-NEXT: stp xzr, xzr, [sp, #-16]!
6 ; CHECK: adrp x0, l_.str@PAGE
7 ; CHECK: add x0, x0, l_.str@PAGEOFF
9 ; CHECK-NEXT: add sp, sp, #16
10 ; CHECK-NEXT: ldp x29, x30, [sp], #16
13 @.str = private unnamed_addr constant [7 x i8] c"hello\0A\00"
15 define i32 @main() nounwind ssp optsize {
17 %local1 = alloca i64, align 8
18 %local2 = alloca i64, align 8
19 store i64 0, i64* %local1
20 store i64 0, i64* %local2
21 %call = call i32 @puts(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0))
25 declare i32 @puts(i8*)