Skip to content

Commit

Permalink
Eliminate more redundant llvm-as calls.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81540 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Dan Gohman committed Sep 11, 2009
1 parent d5b9cba commit cabfea2
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -licm -disable-output
; RUN: opt < %s -licm -disable-output
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin8.7.0"

Expand Down
2 changes: 1 addition & 1 deletion test/Analysis/Dominators/2007-07-11-SplitBlock.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -loop-rotate -loop-unswitch -disable-output
; RUN: opt < %s -loop-rotate -loop-unswitch -disable-output

define i32 @stringSearch_Clib(i32 %count) {
entry:
Expand Down
2 changes: 1 addition & 1 deletion test/Analysis/Dominators/2007-07-12-SplitBlock.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -loop-rotate -licm -loop-unswitch -disable-output
; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output

define i32 @main(i32 %argc, i8** %argv) {
entry:
Expand Down
2 changes: 1 addition & 1 deletion test/DebugInfo/2009-03-05-gvn.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;RUN: llvm-as <%s | opt -gvn -S | grep {load } | count 1
; RUN: opt < %s -gvn -S | grep {load } | count 1
; ModuleID = 'db2-before.bc'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
Expand Down
2 changes: 1 addition & 1 deletion test/Other/2006-02-05-PassManager.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -domtree -gvn -domtree -constmerge -disable-output
; RUN: opt < %s -domtree -gvn -domtree -constmerge -disable-output

define i32 @test1() {
unreachable
Expand Down
8 changes: 4 additions & 4 deletions test/Other/2007-06-28-PassManager.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | opt -analyze -inline -disable-output
; PR 1526
; RUN: llvm-as < %s | opt -analyze -indvars -disable-output
; PR 1539
; RUN: opt < %s -analyze -inline -disable-output
; PR1526
; RUN: opt < %s -analyze -indvars -disable-output
; PR1539
define i32 @test1() {
ret i32 0;
}
4 changes: 2 additions & 2 deletions test/Other/2008-02-14-PassManager.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -loop-unroll -loop-rotate -simplifycfg -disable-output
; PR 2028
; RUN: opt < %s -loop-unroll -loop-rotate -simplifycfg -disable-output
; PR2028
define i32 @test1() {
ret i32 0;
}
4 changes: 2 additions & 2 deletions test/Other/2008-08-14-PassManager.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -loop-deletion -loop-index-split -disable-output
; PR 2640
; RUN: opt < %s -loop-deletion -loop-index-split -disable-output
; PR2640
define i32 @test1() {
ret i32 0;
}
2 changes: 1 addition & 1 deletion test/Transforms/Inline/PR4909.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -partial-inliner -disable-output
; RUN: opt < %s -partial-inliner -disable-output

define i32 @f() {
entry:
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/LoopUnswitch/2007-05-09-tl.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt < %s -loop-unswitch -disable-output
; PR1333
; RUN: llvm-as < %s | opt -loop-unswitch -disable-output

define void @pp_cxx_expression() {
entry:
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as <%s | opt -raiseallocs -stats -disable-output |& \
; RUN: opt < %s -raiseallocs -stats -disable-output |& \
; RUN: not grep {Number of allocations raised}
define void @foo() {
entry:
Expand Down
4 changes: 2 additions & 2 deletions test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -sccp -disable-output
; PR 1431
; RUN: opt < %s -sccp -disable-output
; PR1431

define void @_ada_bench() {
entry:
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/SCCP/2008-03-10-sret.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -ipsccp -S > %t
; RUN: opt < %s -ipsccp -S > %t
; RUN: grep {ret i32 36} %t
; RUN: grep {%mrv = insertvalue %T undef, i32 18, 0} %t
; RUN: grep {%mrv1 = insertvalue %T %mrv, i32 17, 1} %t
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -sccp -S | grep {ret i32 %Z}
; RUN: opt < %s -sccp -S | grep {ret i32 %Z}
; rdar://5778210

declare {i32, i32} @bar(i32 %A)
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/SCCP/apint-bigint.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -sccp -S | not grep xor
; RUN: opt < %s -sccp -S | not grep xor

define i11129 @test1() {
%B = shl i11129 1, 11128
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/SCCP/apint-bigint2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -sccp -S | not grep load
; RUN: opt < %s -sccp -S | not grep load

@Y = constant [6 x i101] [ i101 12, i101 123456789000000, i101 -12,
i101 -123456789000000, i101 0,i101 9123456789000000]
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/SCCP/apint-ipsccp3.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -ipsccp -S | not grep global
; RUN: opt < %s -ipsccp -S | not grep global

@G = internal global i66 undef

Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/SCCP/apint-select.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -sccp -S | not grep select
; RUN: opt < %s -sccp -S | not grep select

@A = constant i32 10

Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/TailCallElim/dont_reorder_load.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as <%s | opt -tailcallelim -S | grep call | count 3
; RUN: opt < %s -tailcallelim -S | grep call | count 3
; PR4323

; Several cases where tail call elimination should not move the load above the
Expand Down
2 changes: 1 addition & 1 deletion test/Transforms/TailCallElim/reorder_load.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: llvm-as <%s | opt -tailcallelim -S | not grep call
; RUN: opt < %s -tailcallelim -S | not grep call
; PR4323

; Several cases where tail call elimination should move the load above the call,
Expand Down

0 comments on commit cabfea2

Please sign in to comment.