ARM: don't expand atomicrmw inline on Cortex-M0
[oota-llvm.git] / test / CodeGen / ARM / atomic-op.ll
index fb45b8da8f0c05234b9c6614358ab127e1d850ca..9a79c9fd7b1b51b8de36e112c31e5615a33ace11 100644 (file)
@@ -1,6 +1,7 @@
 ; RUN: llc < %s -mtriple=armv7-apple-ios -verify-machineinstrs | FileCheck %s
 ; RUN: llc < %s -mtriple=thumbv7-apple-ios -verify-machineinstrs | FileCheck %s
 ; RUN: llc < %s -mtriple=thumbv6-apple-ios -verify-machineinstrs | FileCheck %s --check-prefix=CHECK-T1
+; RUN: llc < %s -mtriple=thumbv6-apple-ios -verify-machineinstrs -mcpu=cortex-m0 | FileCheck %s --check-prefix=CHECK-T1
 
 define void @func(i32 %argc, i8** %argv) nounwind {
 entry: