summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/ifcvt3.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-12-19 23:26:44 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-12-19 23:26:44 +0000
commit3bfaefe9e71b431cce67d866cab30ef04a5e3e58 (patch)
treeaf4e83af4782674e323351a8ff51134cf0d440e5 /llvm/test/CodeGen/ARM/ifcvt3.ll
parenta7bd08be8d409ba6c695847e9688588fab4f1b4c (diff)
downloadbcm5719-llvm-3bfaefe9e71b431cce67d866cab30ef04a5e3e58.tar.gz
bcm5719-llvm-3bfaefe9e71b431cce67d866cab30ef04a5e3e58.zip
Move tests to FileCheck.
llvm-svn: 146923
Diffstat (limited to 'llvm/test/CodeGen/ARM/ifcvt3.ll')
-rw-r--r--llvm/test/CodeGen/ARM/ifcvt3.ll7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/ifcvt3.ll b/llvm/test/CodeGen/ARM/ifcvt3.ll
index 3e2c578dd06..eef4de050b3 100644
--- a/llvm/test/CodeGen/ARM/ifcvt3.ll
+++ b/llvm/test/CodeGen/ARM/ifcvt3.ll
@@ -1,14 +1,19 @@
-; RUN: llc < %s -march=arm -mattr=+v4t
+; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s
; RUN: llc < %s -march=arm -mattr=+v4t | grep cmpne | count 1
; RUN: llc < %s -march=arm -mattr=+v4t | grep bx | count 2
define i32 @t1(i32 %a, i32 %b, i32 %c, i32 %d) {
+; CHECK: t1:
+; CHECK: cmp r2, #1
+; CHECK: cmpne r2, #7
switch i32 %c, label %cond_next [
i32 1, label %cond_true
i32 7, label %cond_true
]
cond_true:
+; CHECK: addne r0
+; CHECK: bxne
%tmp12 = add i32 %a, 1
%tmp1518 = add i32 %tmp12, %b
ret i32 %tmp1518
OpenPOWER on IntegriCloud