1 ; RUN: llc -mtriple=aarch64-linux-gnu %s -o - | FileCheck %s --check-prefix=LINUX
2 ; RUN: llc -mtriple=aarch64-apple-ios %s -o - | FileCheck %s --check-prefix=IOS
3 ; RUN: llc -mtriple=aarch64-linux-gnueabihf %s -filetype=obj -o %t
4 ; RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=OBJ
8 define void @fence_singlethread() {
9 ; LINUX-LABEL: fence_singlethread:
11 ; LINUX: // COMPILER BARRIER
14 ; IOS-LABEL: fence_singlethread:
16 ; IOS: ; COMPILER BARRIER
19 fence syncscope("singlethread") seq_cst