summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-27 05:30:47 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-27 05:30:47 +0000
commit8bb080e71b4abcb0289c65143ffe837ffd8f4f45 (patch)
treefa3a247089a484197c4d87968d2fba9f40364902
parent1711bcb19889eb982445691c321cd6f380130b37 (diff)
downloadllvm-8bb080e71b4abcb0289c65143ffe837ffd8f4f45.tar.gz
llvm-8bb080e71b4abcb0289c65143ffe837ffd8f4f45.tar.bz2
llvm-8bb080e71b4abcb0289c65143ffe837ffd8f4f45.tar.xz
Convert to FileCheck, fixing failure due to tab change in the process.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85204 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/ARM/alloca.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/alloca.ll b/test/CodeGen/ARM/alloca.ll
index 15cf67734c..82a8c98599 100644
--- a/test/CodeGen/ARM/alloca.ll
+++ b/test/CodeGen/ARM/alloca.ll
@@ -1,13 +1,12 @@
-; RUN: llc < %s -march=arm -mtriple=arm-linux-gnu | \
-; RUN: grep {mov r11, sp}
-; RUN: llc < %s -march=arm -mtriple=arm-linux-gnu | \
-; RUN: grep {mov sp, r11}
+; RUN: llc < %s -march=arm -mtriple=arm-linux-gnu | FileCheck %s
define void @f(i32 %a) {
entry:
+; CHECK: mov r11, sp
%tmp = alloca i8, i32 %a ; <i8*> [#uses=1]
call void @g( i8* %tmp, i32 %a, i32 1, i32 2, i32 3 )
ret void
+; CHECK: mov sp, r11
}
declare void @g(i8*, i32, i32, i32, i32)