Mercurial > hg > Members > tobaru > cbc > CbC_llvm
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 |
rev | line source |
---|---|
121 | 1 ; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -o - | FileCheck %s |
2 ; RUN: llc -mtriple=thumbv7-apple-ios %s -o - | FileCheck %s | |
3 ; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -filetype=obj -o %t | |
4 ; RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=OBJ | |
5 | |
6 ; OBJ-NOT: dmb | |
7 | |
8 define void @fence_singlethread() { | |
9 ; CHECK-LABEL: fence_singlethread: | |
10 ; CHECK-NOT: dmb | |
11 ; CHECK: @ COMPILER BARRIER | |
12 ; CHECK-NOT: dmb | |
13 | |
14 fence syncscope("singlethread") seq_cst | |
15 ret void | |
16 } |