File tree Expand file tree Collapse file tree 2 files changed +26
-10
lines changed
llvm/test/Transforms/Inline/X86 Expand file tree Collapse file tree 2 files changed +26
-10
lines changed Original file line number Diff line number Diff line change
1
+ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
1
2
; RUN: opt < %s -mtriple=i686-unknown-unknown -S -passes=inline | FileCheck %s
2
3
3
4
define i32 @func_target_cpu_nocona () #0 {
5
+ ; CHECK-LABEL: @func_target_cpu_nocona(
6
+ ; CHECK-NEXT: ret i32 0
7
+ ;
4
8
ret i32 0
5
9
}
6
10
7
- ; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
8
- ; CHECK-NEXT: ret i32 0
9
11
define i32 @target_cpu_prescott_call_target_cpu_nocona () #1 {
12
+ ; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
13
+ ; CHECK-NEXT: ret i32 0
14
+ ;
10
15
%call = call i32 @func_target_cpu_nocona ()
11
16
ret i32 %call
12
17
}
Original file line number Diff line number Diff line change
1
+ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
1
2
; RUN: opt < %s -mtriple=x86_64-unknown-unknown -S -passes=inline | FileCheck %s
2
3
3
4
define i32 @func_target_cpu_base () #0 {
5
+ ; CHECK-LABEL: @func_target_cpu_base(
6
+ ; CHECK-NEXT: ret i32 0
7
+ ;
4
8
ret i32 0
5
9
}
6
10
7
- ; CHECK-LABEL: @target_cpu_k8_call_target_cpu_base(
8
- ; CHECK-NEXT: ret i32 0
9
11
define i32 @target_cpu_k8_call_target_cpu_base () #1 {
12
+ ; CHECK-LABEL: @target_cpu_k8_call_target_cpu_base(
13
+ ; CHECK-NEXT: ret i32 0
14
+ ;
10
15
%call = call i32 @func_target_cpu_base ()
11
16
ret i32 %call
12
17
}
13
18
14
- ; CHECK-LABEL: @target_cpu_target_nehalem_call_target_cpu_base(
15
- ; CHECK-NEXT: ret i32 0
16
19
define i32 @target_cpu_target_nehalem_call_target_cpu_base () #2 {
20
+ ; CHECK-LABEL: @target_cpu_target_nehalem_call_target_cpu_base(
21
+ ; CHECK-NEXT: ret i32 0
22
+ ;
17
23
%call = call i32 @func_target_cpu_base ()
18
24
ret i32 %call
19
25
}
20
26
21
- ; CHECK-LABEL: @target_cpu_target_goldmont_call_target_cpu_base(
22
- ; CHECK-NEXT: ret i32 0
23
27
define i32 @target_cpu_target_goldmont_call_target_cpu_base () #3 {
28
+ ; CHECK-LABEL: @target_cpu_target_goldmont_call_target_cpu_base(
29
+ ; CHECK-NEXT: ret i32 0
30
+ ;
24
31
%call = call i32 @func_target_cpu_base ()
25
32
ret i32 %call
26
33
}
27
34
28
35
define i32 @func_target_cpu_nocona () #4 {
36
+ ; CHECK-LABEL: @func_target_cpu_nocona(
37
+ ; CHECK-NEXT: ret i32 0
38
+ ;
29
39
ret i32 0
30
40
}
31
41
32
- ; CHECK-LABEL: @target_cpu_target_base_call_target_cpu_nocona(
33
- ; CHECK-NEXT: ret i32 0
34
42
define i32 @target_cpu_target_base_call_target_cpu_nocona () #0 {
43
+ ; CHECK-LABEL: @target_cpu_target_base_call_target_cpu_nocona(
44
+ ; CHECK-NEXT: ret i32 0
45
+ ;
35
46
%call = call i32 @func_target_cpu_nocona ()
36
47
ret i32 %call
37
48
}
You can’t perform that action at this time.
0 commit comments