[llvm-commits] [llvm] r85204 - /llvm/trunk/test/CodeGen/ARM/alloca.ll
Bob Wilson
bob.wilson at apple.com
Mon Oct 26 22:30:49 PDT 2009
Author: bwilson
Date: Tue Oct 27 00:30:47 2009
New Revision: 85204
URL: http://llvm.org/viewvc/llvm-project?rev=85204&view=rev
Log:
Convert to FileCheck, fixing failure due to tab change in the process.
Modified:
llvm/trunk/test/CodeGen/ARM/alloca.ll
Modified: llvm/trunk/test/CodeGen/ARM/alloca.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/alloca.ll?rev=85204&r1=85203&r2=85204&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/alloca.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/alloca.ll Tue Oct 27 00:30:47 2009
@@ -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)
More information about the llvm-commits
mailing list