annotate test/CodeGen/ARM/fence-singlethread.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 ; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -o - | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 ; RUN: llc -mtriple=thumbv7-apple-ios %s -o - | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 ; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -filetype=obj -o %t
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 ; RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=OBJ
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 ; OBJ-NOT: dmb
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 define void @fence_singlethread() {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9 ; CHECK-LABEL: fence_singlethread:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 ; CHECK-NOT: dmb
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 ; CHECK: @ COMPILER BARRIER
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12 ; CHECK-NOT: dmb
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 fence syncscope("singlethread") seq_cst
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 ret void
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 }