[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / ARM / fence-singlethread.ll
blob3bbc384f5aadbe67768d87dfb0d9af0bb5fb486a
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
6 ; OBJ-NOT: dmb
8 define void @fence_singlethread() {
9 ; CHECK-LABEL: fence_singlethread:
10 ; CHECK-NOT: dmb
11 ; CHECK: @MEMBARRIER
12 ; CHECK-NOT: dmb
14   fence syncscope("singlethread") seq_cst
15   ret void