1 // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-none-eabi -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-AAPCS
2 // RUN: %clang_cc1 -no-opaque-pointers -triple arm64-apple-ios7.0 -target-abi darwinpcs -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-DARWIN
3 // RUN: %clang_cc1 -no-opaque-pointers -triple aarch64-linux-gnu -emit-llvm -o - -x c %s | FileCheck %s --check-prefixes=CHECK,CHECK-AAPCS
9 // CHECK: define{{.*}} float @f0([2 x float] %h.coerce)
14 // CHECK: define{{.*}} float @f0_call()
15 // CHECK: %call = call float @f0([2 x float] %1)
24 // CHECK: define{{.*}} double @f1([2 x double] %h.coerce)
29 // CHECK: define{{.*}} double @f1_call()
30 // CHECK: %call = call double @f1([2 x double] %1
31 double f1_call(void) {
36 __attribute__((__aligned__(16))) double v
[2];
39 // CHECK-AAPCS: define{{.*}} double @f2([2 x double] alignstack(16) %h.coerce)
40 // CHECK-DARWIN: define{{.*}} double @f2([2 x double] %h.coerce)
45 // CHECK: define{{.*}} double @f2_call()
46 // CHECK-AAPCS: %call = call double @f2([2 x double] alignstack(16) %1)
47 // CHECK-DARWIN: %call = call double @f2([2 x double] %1
48 double f2_call(void) {
54 __attribute__((__aligned__(32))) double v
[4];
57 // CHECK-AAPCS: define{{.*}} double @f3([4 x double] alignstack(16) %h.coerce)
58 // CHECK-DARWIN: define{{.*}} double @f3([4 x double] %h.coerce)
63 // CHECK: define{{.*}} double @f3_call()
64 // CHECK-AAPCS: %call = call double @f3([4 x double] alignstack(16) %1)
65 // CHECK-DARWIN: %call = call double @f3([4 x double] %1
66 double f3_call(void) {