summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-11 18:17:12 +0000
committerDan Gohman <gohman@apple.com>2009-09-11 18:17:12 +0000
commit0f3ef7be5064d19c5ebe1979705838745bd51445 (patch)
treed067e61cb336dcb727f09c03979efe26bad612f5
parentfceb22ff3c89a0c0d144a9241bb57b86645489e1 (diff)
downloadbcm5719-llvm-0f3ef7be5064d19c5ebe1979705838745bd51445.tar.gz
bcm5719-llvm-0f3ef7be5064d19c5ebe1979705838745bd51445.zip
Eliminate more redundant llvm-as calls.
llvm-svn: 81540
-rw-r--r--llvm/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll2
-rw-r--r--llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll2
-rw-r--r--llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll2
-rw-r--r--llvm/test/DebugInfo/2009-03-05-gvn.ll2
-rw-r--r--llvm/test/Other/2006-02-05-PassManager.ll2
-rw-r--r--llvm/test/Other/2007-06-28-PassManager.ll8
-rw-r--r--llvm/test/Other/2008-02-14-PassManager.ll4
-rw-r--r--llvm/test/Other/2008-08-14-PassManager.ll4
-rw-r--r--llvm/test/Transforms/Inline/PR4909.ll2
-rw-r--r--llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll2
-rw-r--r--llvm/test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll2
-rw-r--r--llvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll4
-rw-r--r--llvm/test/Transforms/SCCP/2008-03-10-sret.ll2
-rw-r--r--llvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll2
-rw-r--r--llvm/test/Transforms/SCCP/apint-bigint.ll2
-rw-r--r--llvm/test/Transforms/SCCP/apint-bigint2.ll2
-rw-r--r--llvm/test/Transforms/SCCP/apint-ipsccp3.ll2
-rw-r--r--llvm/test/Transforms/SCCP/apint-select.ll2
-rw-r--r--llvm/test/Transforms/TailCallElim/dont_reorder_load.ll2
-rw-r--r--llvm/test/Transforms/TailCallElim/reorder_load.ll2
20 files changed, 26 insertions, 26 deletions
diff --git a/llvm/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll b/llvm/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
index cc10e4b81bf..85f53a6cda4 100644
--- a/llvm/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
+++ b/llvm/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
@@ -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"
diff --git a/llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll b/llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll
index 3dc6eda6de1..52fdd2b16db 100644
--- a/llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll
+++ b/llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll
@@ -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:
diff --git a/llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll b/llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll
index 1748daf4f39..b46f0c75e10 100644
--- a/llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll
+++ b/llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll
@@ -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:
diff --git a/llvm/test/DebugInfo/2009-03-05-gvn.ll b/llvm/test/DebugInfo/2009-03-05-gvn.ll
index 06c9f858261..f363132c529 100644
--- a/llvm/test/DebugInfo/2009-03-05-gvn.ll
+++ b/llvm/test/DebugInfo/2009-03-05-gvn.ll
@@ -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"
diff --git a/llvm/test/Other/2006-02-05-PassManager.ll b/llvm/test/Other/2006-02-05-PassManager.ll
index c5f50ecbfeb..0ab5411aa19 100644
--- a/llvm/test/Other/2006-02-05-PassManager.ll
+++ b/llvm/test/Other/2006-02-05-PassManager.ll
@@ -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
diff --git a/llvm/test/Other/2007-06-28-PassManager.ll b/llvm/test/Other/2007-06-28-PassManager.ll
index 5968d8c68bc..f097f59d1c2 100644
--- a/llvm/test/Other/2007-06-28-PassManager.ll
+++ b/llvm/test/Other/2007-06-28-PassManager.ll
@@ -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;
}
diff --git a/llvm/test/Other/2008-02-14-PassManager.ll b/llvm/test/Other/2008-02-14-PassManager.ll
index 985e1908ef0..6b51edb1345 100644
--- a/llvm/test/Other/2008-02-14-PassManager.ll
+++ b/llvm/test/Other/2008-02-14-PassManager.ll
@@ -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;
}
diff --git a/llvm/test/Other/2008-08-14-PassManager.ll b/llvm/test/Other/2008-08-14-PassManager.ll
index 110f38063fb..22a421d2f18 100644
--- a/llvm/test/Other/2008-08-14-PassManager.ll
+++ b/llvm/test/Other/2008-08-14-PassManager.ll
@@ -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;
}
diff --git a/llvm/test/Transforms/Inline/PR4909.ll b/llvm/test/Transforms/Inline/PR4909.ll
index 48b2526f2b1..24545f9aa88 100644
--- a/llvm/test/Transforms/Inline/PR4909.ll
+++ b/llvm/test/Transforms/Inline/PR4909.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -partial-inliner -disable-output
+; RUN: opt < %s -partial-inliner -disable-output
define i32 @f() {
entry:
diff --git a/llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll b/llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll
index c987daec7db..61615d0cc52 100644
--- a/llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll
+++ b/llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll
@@ -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:
diff --git a/llvm/test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll b/llvm/test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll
index 513cf6f339b..675bb3d829f 100644
--- a/llvm/test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll
+++ b/llvm/test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll
@@ -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:
diff --git a/llvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll b/llvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
index c099b88044c..b84fe6db2f2 100644
--- a/llvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
+++ b/llvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
@@ -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:
diff --git a/llvm/test/Transforms/SCCP/2008-03-10-sret.ll b/llvm/test/Transforms/SCCP/2008-03-10-sret.ll
index 6fdebf7d55f..85bcaf4d2db 100644
--- a/llvm/test/Transforms/SCCP/2008-03-10-sret.ll
+++ b/llvm/test/Transforms/SCCP/2008-03-10-sret.ll
@@ -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
diff --git a/llvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll b/llvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll
index a3b18a67b0d..1b26ca9e194 100644
--- a/llvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll
+++ b/llvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll
@@ -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)
diff --git a/llvm/test/Transforms/SCCP/apint-bigint.ll b/llvm/test/Transforms/SCCP/apint-bigint.ll
index d52d51de2b3..36a96c33571 100644
--- a/llvm/test/Transforms/SCCP/apint-bigint.ll
+++ b/llvm/test/Transforms/SCCP/apint-bigint.ll
@@ -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
diff --git a/llvm/test/Transforms/SCCP/apint-bigint2.ll b/llvm/test/Transforms/SCCP/apint-bigint2.ll
index c7a10655b90..660eaad7bc1 100644
--- a/llvm/test/Transforms/SCCP/apint-bigint2.ll
+++ b/llvm/test/Transforms/SCCP/apint-bigint2.ll
@@ -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]
diff --git a/llvm/test/Transforms/SCCP/apint-ipsccp3.ll b/llvm/test/Transforms/SCCP/apint-ipsccp3.ll
index 366895faa9e..68987aee249 100644
--- a/llvm/test/Transforms/SCCP/apint-ipsccp3.ll
+++ b/llvm/test/Transforms/SCCP/apint-ipsccp3.ll
@@ -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
diff --git a/llvm/test/Transforms/SCCP/apint-select.ll b/llvm/test/Transforms/SCCP/apint-select.ll
index 57f18044f33..c79751910fc 100644
--- a/llvm/test/Transforms/SCCP/apint-select.ll
+++ b/llvm/test/Transforms/SCCP/apint-select.ll
@@ -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
diff --git a/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll b/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll
index ba8a4f0cb3e..7b3b2326467 100644
--- a/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll
+++ b/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll
@@ -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
diff --git a/llvm/test/Transforms/TailCallElim/reorder_load.ll b/llvm/test/Transforms/TailCallElim/reorder_load.ll
index efa2910a75e..7f8af7ea147 100644
--- a/llvm/test/Transforms/TailCallElim/reorder_load.ll
+++ b/llvm/test/Transforms/TailCallElim/reorder_load.ll
@@ -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,
OpenPOWER on IntegriCloud