summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/call.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-27 05:50:28 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-27 05:50:28 +0000
commit04580c8307c309390abf488c85ea21825b928bbd (patch)
treeef4b9f0583050aaa956f4273e467b6de7415c919 /llvm/test/CodeGen/ARM/call.ll
parentc6b3b25f940ac4abe376f98e15d10c4e4e583e55 (diff)
downloadbcm5719-llvm-04580c8307c309390abf488c85ea21825b928bbd.tar.gz
bcm5719-llvm-04580c8307c309390abf488c85ea21825b928bbd.zip
Fix some more failures by converting to FileCheck.
llvm-svn: 85207
Diffstat (limited to 'llvm/test/CodeGen/ARM/call.ll')
-rw-r--r--llvm/test/CodeGen/ARM/call.ll9
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/call.ll b/llvm/test/CodeGen/ARM/call.ll
index 52246c3f0cd..3dd66ae71df 100644
--- a/llvm/test/CodeGen/ARM/call.ll
+++ b/llvm/test/CodeGen/ARM/call.ll
@@ -1,13 +1,16 @@
-; RUN: llc < %s -march=arm | grep {mov lr, pc}
-; RUN: llc < %s -march=arm -mattr=+v5t | grep blx
+; RUN: llc < %s -march=arm | FileCheck %s -check-prefix=CHECKV4
+; RUN: llc < %s -march=arm -mattr=+v5t | FileCheck %s -check-prefix=CHECKV5
; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi\
-; RUN: -relocation-model=pic | grep {PLT}
+; RUN: -relocation-model=pic | FileCheck %s -check-prefix=CHECKELF
@t = weak global i32 ()* null ; <i32 ()**> [#uses=1]
declare void @g(i32, i32, i32, i32)
define void @f() {
+; CHECKV4: mov lr, pc
+; CHECKV5: blx
+; CHECKELF: PLT
call void @g( i32 1, i32 2, i32 3, i32 4 )
ret void
}
OpenPOWER on IntegriCloud