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 8define 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} 17