diff --git a/test/CodeGen/Thumb/barrier.ll b/test/CodeGen/Thumb/barrier.ll index 93a643f5a99..c611b865f67 100644 --- a/test/CodeGen/Thumb/barrier.ll +++ b/test/CodeGen/Thumb/barrier.ll @@ -1,11 +1,11 @@ -; RUN: llc < %s -march=thumb -mattr=+v6 | FileCheck %s -check-prefix=V6 -; RUN: llc < %s -march=thumb -mattr=+v6m | FileCheck %s -check-prefix=V6M +; RUN: llc < %s -mtriple=thumbv6-apple-darwin | FileCheck %s -check-prefix=V6 +; RUN: llc < %s -march=thumb -mattr=+v6m | FileCheck %s -check-prefix=V6M declare void @llvm.memory.barrier( i1 , i1 , i1 , i1 , i1 ) define void @t1() { ; V6: t1: -; V6_TEMPORARILY_DISABLED: blx {{_*}}sync_synchronize +; V6: blx {{_*}}sync_synchronize ; V6M: t1: ; V6M: dsb @@ -15,7 +15,7 @@ define void @t1() { define void @t2() { ; V6: t2: -; V6_TEMPORARILY_DISABLED: blx {{_*}}sync_synchronize +; V6: blx {{_*}}sync_synchronize ; V6M: t2: ; V6M: dmb