1 ; RUN: llc -verify-machineinstrs -enable-machine-outliner -mtriple \
2 ; RUN: aarch64 %s -o - | FileCheck %s --check-prefixes CHECK,V8A
3 ; RUN-V83A: llc -verify-machineinstrs -enable-machine-outliner -mtriple \
4 ; RUN-V83A: aarch64 -mattr=+v8.3a %s -o - > %t
5 ; RUN-V83A: FileCheck --check-prefixes CHECK,V83A < %t %s
7 define void @a() "sign-return-address"="all" "sign-return-address-key"="b_key" nounwind {
8 ; CHECK-LABEL: a: // @a
9 ; CHECK-NEXT: // %bb.0:
12 %1 = alloca i32, align 4
13 %2 = alloca i32, align 4
14 %3 = alloca i32, align 4
15 %4 = alloca i32, align 4
16 %5 = alloca i32, align 4
17 %6 = alloca i32, align 4
18 store i32 1, ptr %1, align 4
19 store i32 2, ptr %2, align 4
20 store i32 3, ptr %3, align 4
21 store i32 4, ptr %4, align 4
22 store i32 5, ptr %5, align 4
23 store i32 6, ptr %6, align 4
29 define void @b() "sign-return-address"="all" "sign-return-address-key"="b_key" nounwind {
30 ; CHECK-LABEL: b: // @b
31 ; CHECK-NEXT: // %bb.0:
34 %1 = alloca i32, align 4
35 %2 = alloca i32, align 4
36 %3 = alloca i32, align 4
37 %4 = alloca i32, align 4
38 %5 = alloca i32, align 4
39 %6 = alloca i32, align 4
40 store i32 1, ptr %1, align 4
41 store i32 2, ptr %2, align 4
42 store i32 3, ptr %3, align 4
43 store i32 4, ptr %4, align 4
44 store i32 5, ptr %5, align 4
45 store i32 6, ptr %6, align 4
51 define void @c() "sign-return-address"="all" "sign-return-address-key"="b_key" nounwind {
52 ; CHECK-LABEL: c: // @c
53 ; CHECK-NEXT: // %bb.0:
56 %1 = alloca i32, align 4
57 %2 = alloca i32, align 4
58 %3 = alloca i32, align 4
59 %4 = alloca i32, align 4
60 %5 = alloca i32, align 4
61 %6 = alloca i32, align 4
62 store i32 1, ptr %1, align 4
63 store i32 2, ptr %2, align 4
64 store i32 3, ptr %3, align 4
65 store i32 4, ptr %4, align 4
66 store i32 5, ptr %5, align 4
67 store i32 6, ptr %6, align 4
73 ; CHECK-LABEL: OUTLINED_FUNCTION_0: