summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/ifcvt5.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-09-29 21:43:49 +0000
committerBob Wilson <bob.wilson@apple.com>2012-09-29 21:43:49 +0000
commite8a549cd92719d14845beb5aac8fc50fe2cd21db (patch)
tree4fb3d1d3fb2cc62abce6b41fbbb65271f535ea34 /llvm/test/CodeGen/ARM/ifcvt5.ll
parent63605ef378851849b8ca967477e8b209284af481 (diff)
downloadbcm5719-llvm-e8a549cd92719d14845beb5aac8fc50fe2cd21db.tar.gz
bcm5719-llvm-e8a549cd92719d14845beb5aac8fc50fe2cd21db.zip
Add LLVM support for Swift.
llvm-svn: 164899
Diffstat (limited to 'llvm/test/CodeGen/ARM/ifcvt5.ll')
-rw-r--r--llvm/test/CodeGen/ARM/ifcvt5.ll12
1 files changed, 9 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/ifcvt5.ll b/llvm/test/CodeGen/ARM/ifcvt5.ll
index 95f5c97f2a9..5081791bc25 100644
--- a/llvm/test/CodeGen/ARM/ifcvt5.ll
+++ b/llvm/test/CodeGen/ARM/ifcvt5.ll
@@ -1,4 +1,6 @@
-; RUN: llc < %s -mtriple=armv7-apple-ios | FileCheck %s
+; RUN: llc < %s -mtriple=armv7-apple-ios -mcpu=cortex-a8 | FileCheck %s -check-prefix=A8
+; RUN: llc < %s -mtriple=armv7-apple-ios -mcpu=swift | FileCheck %s -check-prefix=SWIFT
+; rdar://8402126
@x = external global i32* ; <i32**> [#uses=1]
@@ -10,8 +12,12 @@ entry:
}
define i32 @t1(i32 %a, i32 %b) {
-; CHECK: t1:
-; CHECK: poplt {r7, pc}
+; A8: t1:
+; A8: poplt {r7, pc}
+
+; SWIFT: t1:
+; SWIFT: pop {r7, pc}
+; SWIFT: pop {r7, pc}
entry:
%tmp1 = icmp sgt i32 %a, 10 ; <i1> [#uses=1]
br i1 %tmp1, label %cond_true, label %UnifiedReturnBlock
OpenPOWER on IntegriCloud