Eliminate more redundant llvm-as calls.
authorDan Gohman <gohman@apple.com>
Fri, 11 Sep 2009 18:17:12 +0000 (18:17 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 11 Sep 2009 18:17:12 +0000 (18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81540 91177308-0d34-0410-b5e6-96231b3b80d8

20 files changed:
test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll
test/Analysis/Dominators/2007-07-11-SplitBlock.ll
test/Analysis/Dominators/2007-07-12-SplitBlock.ll
test/DebugInfo/2009-03-05-gvn.ll
test/Other/2006-02-05-PassManager.ll
test/Other/2007-06-28-PassManager.ll
test/Other/2008-02-14-PassManager.ll
test/Other/2008-08-14-PassManager.ll
test/Transforms/Inline/PR4909.ll
test/Transforms/LoopUnswitch/2007-05-09-tl.ll
test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll
test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
test/Transforms/SCCP/2008-03-10-sret.ll
test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll
test/Transforms/SCCP/apint-bigint.ll
test/Transforms/SCCP/apint-bigint2.ll
test/Transforms/SCCP/apint-ipsccp3.ll
test/Transforms/SCCP/apint-select.ll
test/Transforms/TailCallElim/dont_reorder_load.ll
test/Transforms/TailCallElim/reorder_load.ll

index cc10e4b81bfd4ee34c350ebb379c54d802c862dc..85f53a6cda489c39f5f170004757f1c1f808bd84 100644 (file)
@@ -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"
 
index 3dc6eda6de1d7da5530fa92f488b662e32cfdf7a..52fdd2b16dbe3cb421f207ba146186defd0478a7 100644 (file)
@@ -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:
index 1748daf4f393267d56402a0004079410a5b07828..b46f0c75e10abb03b254ddd8d09daf1d328d82ed 100644 (file)
@@ -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:
index 06c9f858261dc002804c3408392984157eb8d73a..f363132c52932d4d8a40dd8eea64af3b6f4202d2 100644 (file)
@@ -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"
index c5f50ecbfeb4340c0d62d088c6ac37441495a886..0ab5411aa195be824bcb5875dc439ac27df53332 100644 (file)
@@ -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
index 5968d8c68bc2e540f469429edeacefb31c7ac604..f097f59d1c2d752904d10d6cbc96e4d46260f3e0 100644 (file)
@@ -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;
 }
index 985e1908ef08476ca6ed531565520a5be6b4759c..6b51edb134543cef630bc331909acce444115c11 100644 (file)
@@ -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;
 }
index 110f38063fbb157898cd2c4adc2fb278e2275d6b..22a421d2f18d24517cab48695564e88ad2df0ec5 100644 (file)
@@ -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;
 }
index 48b2526f2b18e6a06df4328c69bda4106b86c6c5..24545f9aa8833afa232fbf2a8327a1ad5eaa1883 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -partial-inliner -disable-output
+; RUN: opt < %s -partial-inliner -disable-output
 
 define i32 @f() {
 entry:
index c987daec7dbcdfc4c443eb7078e1af07e31d2498..61615d0cc526abeb638fae549104fc2450f54eed 100644 (file)
@@ -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:
index 513cf6f339b15ae80a0c1ed2566480f5f47d1f42..675bb3d829f777bafb31e5c353ae3c234cd18636 100644 (file)
@@ -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:
index c099b88044c0b97272dd4bdb2849d6588596d1e4..b84fe6db2f21dc1f7bf5f9a1429edf3cd296b3c7 100644 (file)
@@ -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:
index 6fdebf7d55f8b4a39587d3c23d76452cfe9de3f6..85bcaf4d2db4a0aa67ae419fb8a698992bbe52d3 100644 (file)
@@ -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
index a3b18a67b0d48296b2c901ff58a6ac2ac1cec84d..1b26ca9e194db7762e2d48f5b22f9c58946a4b9b 100644 (file)
@@ -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) 
index d52d51de2b39fee71616bc5e2a57352244fc327e..36a96c335715b3ccf1e073982915508524390419 100644 (file)
@@ -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 
index c7a10655b901fbe88030a3831a9c2da509d48e87..660eaad7bc12bfd07bc3b9f30e6082c4b582a75d 100644 (file)
@@ -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]
index 366895faa9e479be59d136670498f5e9ec50bb17..68987aee249af626796591e5274cd3f878998e42 100644 (file)
@@ -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
 
index 57f18044f337203f6ad2b1460ef95642da8ccedb..c79751910fcbe1dc2aec7cddae6c67b8e9431b5e 100644 (file)
@@ -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
 
index ba8a4f0cb3ef583835f1563453bf322fc1ad472f..7b3b2326467af9c30248f1daa55d8ee5b72813a7 100644 (file)
@@ -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
index efa2910a75e3ed63af2ac6cdc6ae2a75b1eb5fac..7f8af7ea147656b09f41c5b6c3671c06ed813cd2 100644 (file)
@@ -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,