Skip to content

Commit b065ec0

Browse files
committed
[Inline][X86] Regenerate inline-target-cpu-* tests
1 parent 68d8b38 commit b065ec0

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
12
; RUN: opt < %s -mtriple=i686-unknown-unknown -S -passes=inline | FileCheck %s
23

34
define i32 @func_target_cpu_nocona() #0 {
5+
; CHECK-LABEL: @func_target_cpu_nocona(
6+
; CHECK-NEXT: ret i32 0
7+
;
48
ret i32 0
59
}
610

7-
; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
8-
; CHECK-NEXT: ret i32 0
911
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+
;
1015
%call = call i32 @func_target_cpu_nocona()
1116
ret i32 %call
1217
}

llvm/test/Transforms/Inline/X86/inline-target-cpu-x86_64.ll

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,48 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
12
; RUN: opt < %s -mtriple=x86_64-unknown-unknown -S -passes=inline | FileCheck %s
23

34
define i32 @func_target_cpu_base() #0 {
5+
; CHECK-LABEL: @func_target_cpu_base(
6+
; CHECK-NEXT: ret i32 0
7+
;
48
ret i32 0
59
}
610

7-
; CHECK-LABEL: @target_cpu_k8_call_target_cpu_base(
8-
; CHECK-NEXT: ret i32 0
911
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+
;
1015
%call = call i32 @func_target_cpu_base()
1116
ret i32 %call
1217
}
1318

14-
; CHECK-LABEL: @target_cpu_target_nehalem_call_target_cpu_base(
15-
; CHECK-NEXT: ret i32 0
1619
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+
;
1723
%call = call i32 @func_target_cpu_base()
1824
ret i32 %call
1925
}
2026

21-
; CHECK-LABEL: @target_cpu_target_goldmont_call_target_cpu_base(
22-
; CHECK-NEXT: ret i32 0
2327
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+
;
2431
%call = call i32 @func_target_cpu_base()
2532
ret i32 %call
2633
}
2734

2835
define i32 @func_target_cpu_nocona() #4 {
36+
; CHECK-LABEL: @func_target_cpu_nocona(
37+
; CHECK-NEXT: ret i32 0
38+
;
2939
ret i32 0
3040
}
3141

32-
; CHECK-LABEL: @target_cpu_target_base_call_target_cpu_nocona(
33-
; CHECK-NEXT: ret i32 0
3442
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+
;
3546
%call = call i32 @func_target_cpu_nocona()
3647
ret i32 %call
3748
}

0 commit comments

Comments
 (0)