summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorTilmann Scheller <tilmann.scheller@googlemail.com>2013-09-02 12:01:58 +0000
committerTilmann Scheller <tilmann.scheller@googlemail.com>2013-09-02 12:01:58 +0000
commitf49c80178e1cb13eef49520eb40562e60f497e92 (patch)
tree1a5b824ca4230127732880361895086e1cb6ad9c /llvm/test
parent0212272ce24cf1b79f426a532ddcee2ed54422cc (diff)
downloadbcm5719-llvm-f49c80178e1cb13eef49520eb40562e60f497e92.tar.gz
bcm5719-llvm-f49c80178e1cb13eef49520eb40562e60f497e92.zip
ARM: Default to Swift when compiling for iOS 6 or later.
Test cases adjusted accordingly. This fixes rdar://14871821. llvm-svn: 189756
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/struct_byval.ll2
-rw-r--r--llvm/test/CodeGen/ARM/swift-atomics.ll4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/struct_byval.ll b/llvm/test/CodeGen/ARM/struct_byval.ll
index 012b9948537..0b3d7afe6cd 100644
--- a/llvm/test/CodeGen/ARM/struct_byval.ll
+++ b/llvm/test/CodeGen/ARM/struct_byval.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=armv7-apple-ios6.0 | FileCheck %s
+; RUN: llc < %s -mtriple=armv7-apple-ios6.0 -mcpu=generic| FileCheck %s
; rdar://9877866
%struct.SmallStruct = type { i32, [8 x i32], [37 x i8] }
diff --git a/llvm/test/CodeGen/ARM/swift-atomics.ll b/llvm/test/CodeGen/ARM/swift-atomics.ll
index 1d718155710..883165fc024 100644
--- a/llvm/test/CodeGen/ARM/swift-atomics.ll
+++ b/llvm/test/CodeGen/ARM/swift-atomics.ll
@@ -1,5 +1,5 @@
-; RUN: llc -mtriple=armv7-apple-ios6.0 -mcpu=swift < %s | FileCheck %s
-; RUN: llc -mtriple=armv7-apple-ios6.0 < %s | FileCheck %s --check-prefix=CHECK-STRICT-ATOMIC
+; RUN: llc -mtriple=armv7-apple-ios6.0 < %s | FileCheck %s
+; RUN: llc -mtriple=armv7-apple-ios6.0 -mcpu=generic < %s | FileCheck %s --check-prefix=CHECK-STRICT-ATOMIC
; Release operations only need the store barrier provided by a "dmb ishst",
OpenPOWER on IntegriCloud