summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-12-27 18:35:19 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-12-27 18:35:19 +0000
commit0ce0dc250c330bd6b62bfa85fae22c9820e61567 (patch)
tree9b76f9b9a36eb52f9c2b52c3cb0336996d20cfe6 /llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll
parentb222549dc551cd3a584a023e9250a3ce0d2b409f (diff)
downloadbcm5719-llvm-0ce0dc250c330bd6b62bfa85fae22c9820e61567.tar.gz
bcm5719-llvm-0ce0dc250c330bd6b62bfa85fae22c9820e61567.zip
test: modernise ARM CodeGen tests
Replace the use of grep with FileCheck. Tidy up some of the tests. A few of the tests have been left as weak as previously, though some have been made more stringent. llvm-svn: 290616
Diffstat (limited to 'llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll')
-rw-r--r--llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll11
1 files changed, 7 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll b/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll
index 815edfd845a..4a08d0a0406 100644
--- a/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll
+++ b/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll
@@ -1,9 +1,12 @@
-; RUN: llc < %s -mtriple=arm-linux-gnueabi | not grep r3
+; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s
; PR4058
+declare i32 @g(i64)
+
define i32 @f(i64 %z, i32 %a, i64 %b) {
- %tmp = call i32 @g(i64 %b)
- ret i32 %tmp
+ %tmp = call i32 @g(i64 %b)
+ ret i32 %tmp
}
-declare i32 @g(i64)
+; CHECK-NOT: r3
+
OpenPOWER on IntegriCloud