[llvm-commits] [llvm] r117401 - /llvm/trunk/test/CodeGen/ARM/str_pre-2.ll
Jim Grosbach
grosbach at apple.com
Tue Oct 26 14:26:47 PDT 2010
Author: grosbach
Date: Tue Oct 26 16:26:47 2010
New Revision: 117401
URL: http://llvm.org/viewvc/llvm-project?rev=117401&view=rev
Log:
FileCheck'ize
Modified:
llvm/trunk/test/CodeGen/ARM/str_pre-2.ll
Modified: llvm/trunk/test/CodeGen/ARM/str_pre-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/str_pre-2.ll?rev=117401&r1=117400&r2=117401&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/str_pre-2.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/str_pre-2.ll Tue Oct 26 16:26:47 2010
@@ -1,10 +1,11 @@
-; RUN: llc < %s -mtriple=arm-linux-gnu | grep {str.*\\!}
-; RUN: llc < %s -mtriple=arm-linux-gnu | grep {ldr.*\\\[.*\], #4}
+; RUN: llc < %s -mtriple=arm-linux-gnu | FileCheck %s
@b = external global i64*
define i64 @t(i64 %a) nounwind readonly {
entry:
+; CHECK: str lr, [sp, #-4]!
+; CHECK: ldr lr, [sp], #4
%0 = load i64** @b, align 4
%1 = load i64* %0, align 4
%2 = mul i64 %1, %a
More information about the llvm-commits
mailing list