summaryrefslogtreecommitdiffstats
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
commite8d20795a3a25868e941396bd5b9113d4d338fc8 (patch)
treeed05a090dc0a9bc95f192b5bcd778f6dba73197e
parent2fda9a84d1aca6971792bb9f0e916921e0fba921 (diff)
downloadbcm5719-llvm-e8d20795a3a25868e941396bd5b9113d4d338fc8.tar.gz
bcm5719-llvm-e8d20795a3a25868e941396bd5b9113d4d338fc8.zip
Convert to FileCheck, fixing failure due to tab change in the process.
llvm-svn: 85204
-rw-r--r--llvm/test/CodeGen/ARM/alloca.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/alloca.ll b/llvm/test/CodeGen/ARM/alloca.ll
index 15cf67734cb..82a8c98599c 100644
--- a/llvm/test/CodeGen/ARM/alloca.ll
+++ b/llvm/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)
OpenPOWER on IntegriCloud