Skip to content

Commit f99ae71

Browse files
committed
Rename tests
1 parent 009b140 commit f99ae71

File tree

2 files changed

+2
-54
lines changed

2 files changed

+2
-54
lines changed
Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
22
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7.0 -verify-machineinstrs | FileCheck %s
33
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7.0 -verify-machineinstrs -O0 | FileCheck %s
4-
; RUN: llc %s --mtriple=x86_64 -o - | FileCheck %s --check-prefix=CHECK0
54

65
define void @test1(ptr %ptr, i32 %val1) {
76
; CHECK-LABEL: test1:
87
; CHECK: ## %bb.0:
98
; CHECK-NEXT: xchgl %esi, (%rdi)
109
; CHECK-NEXT: retq
11-
;
12-
; CHECK0-LABEL: test1:
13-
; CHECK0: # %bb.0:
14-
; CHECK0-NEXT: xchgl %esi, (%rdi)
15-
; CHECK0-NEXT: retq
1610
store atomic i32 %val1, ptr %ptr seq_cst, align 4
1711
ret void
1812
}
@@ -22,11 +16,6 @@ define void @test2(ptr %ptr, i32 %val1) {
2216
; CHECK: ## %bb.0:
2317
; CHECK-NEXT: movl %esi, (%rdi)
2418
; CHECK-NEXT: retq
25-
;
26-
; CHECK0-LABEL: test2:
27-
; CHECK0: # %bb.0:
28-
; CHECK0-NEXT: movl %esi, (%rdi)
29-
; CHECK0-NEXT: retq
3019
store atomic i32 %val1, ptr %ptr release, align 4
3120
ret void
3221
}
@@ -36,35 +25,15 @@ define i32 @test3(ptr %ptr) {
3625
; CHECK: ## %bb.0:
3726
; CHECK-NEXT: movl (%rdi), %eax
3827
; CHECK-NEXT: retq
39-
;
40-
; CHECK0-LABEL: test3:
41-
; CHECK0: # %bb.0:
42-
; CHECK0-NEXT: movl (%rdi), %eax
43-
; CHECK0-NEXT: retq
4428
%val = load atomic i32, ptr %ptr seq_cst, align 4
4529
ret i32 %val
4630
}
4731

48-
define <1 x i32> @atomic_scalar_i32(ptr %x) {
49-
; CHECK-LABEL: atomic_scalar_i32:
32+
define <1 x i32> @atomic_vec1_i32(ptr %x) {
33+
; CHECK-LABEL: atomic_vec1_i32:
5034
; CHECK: ## %bb.0:
5135
; CHECK-NEXT: movl (%rdi), %eax
5236
; CHECK-NEXT: retq
53-
;
54-
; CHECK0-LABEL: atomic_scalar_i32:
55-
; CHECK0: # %bb.0:
56-
; CHECK0-NEXT: movl (%rdi), %eax
57-
; CHECK0-NEXT: retq
5837
%ret = load atomic <1 x i32>, ptr %x acquire, align 4
5938
ret <1 x i32> %ret
6039
}
61-
62-
define <1 x bfloat> @atomic_scalar_bfloat(ptr %x) {
63-
; CHECK0-LABEL: atomic_scalar_bfloat:
64-
; CHECK0: # %bb.0:
65-
; CHECK0-NEXT: movzwl (%rdi), %eax
66-
; CHECK0-NEXT: pinsrw $0, %eax, %xmm0
67-
; CHECK0-NEXT: retq
68-
%ret = load atomic <1 x bfloat>, ptr %x acquire, align 4
69-
ret <1 x bfloat> %ret
70-
}

llvm/test/CodeGen/X86/atomic-vector.ll

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)