[llvm-commits] [llvm] r75667 - /llvm/trunk/test/CodeGen/X86/loop-hoist.ll
Chris Lattner
sabre at nondot.org
Tue Jul 14 12:49:22 PDT 2009
Author: lattner
Date: Tue Jul 14 14:49:11 2009
New Revision: 75667
URL: http://llvm.org/viewvc/llvm-project?rev=75667&view=rev
Log:
convert to filecheck style, simplify RUN line, and add comment.
Modified:
llvm/trunk/test/CodeGen/X86/loop-hoist.ll
Modified: llvm/trunk/test/CodeGen/X86/loop-hoist.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/loop-hoist.ll?rev=75667&r1=75666&r2=75667&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/loop-hoist.ll (original)
+++ llvm/trunk/test/CodeGen/X86/loop-hoist.ll Tue Jul 14 14:49:11 2009
@@ -1,10 +1,10 @@
-; RUN: llvm-as < %s | \
-; RUN: llc -relocation-model=dynamic-no-pic -mtriple=i686-apple-darwin8.7.2 |\
-; RUN: grep L_Arr.non_lazy_ptr
-; RUN: llvm-as < %s | \
-; RUN: llc -disable-post-RA-scheduler=true \
-; RUN: -relocation-model=dynamic-no-pic -mtriple=i686-apple-darwin8.7.2 |\
-; RUN: %prcontext L_Arr.non_lazy_ptr 1 | grep {4(%esp)}
+; LSR should hoist the load from the "Arr" stub out of the loop.
+
+; RUN: llvm-as < %s | llc -relocation-model=dynamic-no-pic -mtriple=i686-apple-darwin8.7.2 | FileCheck %s
+
+; CHECK: _foo:
+; CHECK: L_Arr$non_lazy_ptr
+; CHECK: LBB1_1: ## cond_true
@Arr = external global [0 x i32] ; <[0 x i32]*> [#uses=1]
More information about the llvm-commits
mailing list