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-apple-ios %s -o - -global-isel | FileCheck %s --check-prefix=IOS
4 ; RUN: llc -mtriple=aarch64 %s -filetype=obj -o %t
5 ; RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=OBJ
9 define void @fence_singlethread() {
10 ; LINUX-LABEL: fence_singlethread:
15 ; IOS-LABEL: fence_singlethread:
20 fence syncscope("singlethread") seq_cst