1 ; RUN: llc -mtriple=thumbv6-apple-darwin %s -o - | FileCheck %s -check-prefix=V6 2 ; RUN: llc -mtriple=thumbv7-apple-darwin -mattr=-db %s -o - | FileCheck %s -check-prefix=V6 3 ; RUN: llc -mtriple=thumb-eabi -mcpu=cortex-m0 %s -o - | FileCheck %s -check-prefix=V6M 4 5 define void @t1() { 6 ; V6-LABEL: t1: 7 ; V6: blx {{_*}}sync_synchronize 8 9 ; V6M-LABEL: t1: 10 ; V6M: dmb sy 11 fence seq_cst 12 ret void 13 } 14