1 ; RUN: llc < %s -mtriple=thumbv6-apple-darwin | FileCheck %s -check-prefix=V6
2 ; RUN: llc < %s -march=thumb -mattr=+v6m | FileCheck %s -check-prefix=V6M
4 declare void @llvm.memory.barrier( i1 , i1 , i1 , i1 , i1 )
8 ; V6: blx {{_*}}sync_synchronize
12 call void @llvm.memory.barrier( i1 false, i1 false, i1 false, i1 true, i1 true )
18 ; V6: blx {{_*}}sync_synchronize
22 call void @llvm.memory.barrier( i1 false, i1 false, i1 false, i1 true, i1 false )