diff options
Diffstat (limited to 'test/Transforms/ADCE')
24 files changed, 24 insertions, 24 deletions
diff --git a/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll b/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll index 893d82b..43462fa 100644 --- a/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll +++ b/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as %s -o - | opt -adce +; RUN: opt < %s -adce define i32 @"main"(i32 %argc) begin diff --git a/test/Transforms/ADCE/2002-05-22-PHITest.ll b/test/Transforms/ADCE/2002-05-22-PHITest.ll index 04f0051..0095be1 100644 --- a/test/Transforms/ADCE/2002-05-22-PHITest.ll +++ b/test/Transforms/ADCE/2002-05-22-PHITest.ll @@ -1,6 +1,6 @@ ; It is illegal to remove BB1 because it will mess up the PHI node! ; -; RUN: llvm-as < %s | opt -adce | llvm-dis | grep BB1 +; RUN: opt < %s -adce -S | grep BB1 define i32 @test(i1 %C, i32 %A, i32 %B) { ; <label>:0 diff --git a/test/Transforms/ADCE/2002-05-23-ZeroArgPHITest.ll b/test/Transforms/ADCE/2002-05-23-ZeroArgPHITest.ll index 911f8e6..9407b5a 100644 --- a/test/Transforms/ADCE/2002-05-23-ZeroArgPHITest.ll +++ b/test/Transforms/ADCE/2002-05-23-ZeroArgPHITest.ll @@ -4,7 +4,7 @@ ; removed even though there were uses still around. Now the uses are filled ; in with a dummy value before the PHI is deleted. ; -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce %node_t = type { double*, %node_t*, %node_t**, double**, double*, i32, i32 } diff --git a/test/Transforms/ADCE/2002-05-28-Crash-distilled.ll b/test/Transforms/ADCE/2002-05-28-Crash-distilled.ll index 5d25ff1..337be9f 100644 --- a/test/Transforms/ADCE/2002-05-28-Crash-distilled.ll +++ b/test/Transforms/ADCE/2002-05-28-Crash-distilled.ll @@ -1,6 +1,6 @@ ; This testcase is a distilled form of: 2002-05-28-Crash.ll -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce define float @test(i32 %i) { %F = sitofp i32 %i to float ; <float> [#uses=1] diff --git a/test/Transforms/ADCE/2002-05-28-Crash.ll b/test/Transforms/ADCE/2002-05-28-Crash.ll index 27c7205..9bbbd05 100644 --- a/test/Transforms/ADCE/2002-05-28-Crash.ll +++ b/test/Transforms/ADCE/2002-05-28-Crash.ll @@ -11,7 +11,7 @@ ; return !s; ;} ; -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce define i32 @rx_bitset_empty(i32 %size, i32* %set) { bb1: diff --git a/test/Transforms/ADCE/2002-07-17-AssertionFailure.ll b/test/Transforms/ADCE/2002-07-17-AssertionFailure.ll index fb4fe4a..8f8dadf 100644 --- a/test/Transforms/ADCE/2002-07-17-AssertionFailure.ll +++ b/test/Transforms/ADCE/2002-07-17-AssertionFailure.ll @@ -3,7 +3,7 @@ ; block in this function, it would work fine, but that would be the part we ; have to fix now, wouldn't it.... ; -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce define void @foo(i8* %reg5481) { %cast611 = bitcast i8* %reg5481 to i8** ; <i8**> [#uses=1] diff --git a/test/Transforms/ADCE/2002-07-17-PHIAssertion.ll b/test/Transforms/ADCE/2002-07-17-PHIAssertion.ll index 42a7e4d..2f0df67 100644 --- a/test/Transforms/ADCE/2002-07-17-PHIAssertion.ll +++ b/test/Transforms/ADCE/2002-07-17-PHIAssertion.ll @@ -1,6 +1,6 @@ ; This testcase was extracted from the gzip SPEC benchmark ; -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce @bk = external global i32 ; <i32*> [#uses=2] @hufts = external global i32 ; <i32*> [#uses=1] diff --git a/test/Transforms/ADCE/2002-07-29-Segfault.ll b/test/Transforms/ADCE/2002-07-29-Segfault.ll index 1c65b3b..1c8e6e8 100644 --- a/test/Transforms/ADCE/2002-07-29-Segfault.ll +++ b/test/Transforms/ADCE/2002-07-29-Segfault.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce -disable-output define void @test() { br label %BB3 diff --git a/test/Transforms/ADCE/2003-01-22-PredecessorProblem.ll b/test/Transforms/ADCE/2003-01-22-PredecessorProblem.ll index 4ec9005..17003be 100644 --- a/test/Transforms/ADCE/2003-01-22-PredecessorProblem.ll +++ b/test/Transforms/ADCE/2003-01-22-PredecessorProblem.ll @@ -1,5 +1,5 @@ ; Testcase reduced from 197.parser by bugpoint -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce define void @conjunction_prune() { ; <label>:0 diff --git a/test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll b/test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll index 603b14b..d30df19 100644 --- a/test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll +++ b/test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll @@ -2,7 +2,7 @@ ; entries for it's postdominator. But I think this can only happen when the ; PHI node is dead, so we just avoid patching up dead PHI nodes. -; RUN: llvm-as < %s | opt -adce +; RUN: opt < %s -adce target datalayout = "e-p:32:32" diff --git a/test/Transforms/ADCE/2003-06-11-InvalidCFG.ll b/test/Transforms/ADCE/2003-06-11-InvalidCFG.ll index a9657a7..5206b24 100644 --- a/test/Transforms/ADCE/2003-06-11-InvalidCFG.ll +++ b/test/Transforms/ADCE/2003-06-11-InvalidCFG.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -disable-output +; RUN: opt < %s -adce -disable-output @G = external global i32* ; <i32**> [#uses=1] diff --git a/test/Transforms/ADCE/2003-06-24-BadSuccessor.ll b/test/Transforms/ADCE/2003-06-24-BadSuccessor.ll index e5dd0cc..eb3ef1e 100644 --- a/test/Transforms/ADCE/2003-06-24-BadSuccessor.ll +++ b/test/Transforms/ADCE/2003-06-24-BadSuccessor.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -disable-output +; RUN: opt < %s -adce -disable-output target datalayout = "e-p:32:32" %struct..CppObjTypeDesc = type { i32, i16, i16 } %struct..TypeToken = type { i32, i16, i16 } diff --git a/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll b/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll index 9c6764d..82fa5b2 100644 --- a/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll +++ b/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | not grep then: +; RUN: opt < %s -adce -simplifycfg -S | not grep then: define void @dead_test8(i32* %data.1, i32 %idx.1) { entry: diff --git a/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll b/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll index e6345c1..444ca8e 100644 --- a/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll +++ b/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -disable-output +; RUN: opt < %s -adce -disable-output define void @test() { br i1 false, label %then, label %endif diff --git a/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll b/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll index 37e077f..499ac51 100644 --- a/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll +++ b/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -disable-output +; RUN: opt < %s -adce -disable-output define i32 @main() { br label %loop diff --git a/test/Transforms/ADCE/2003-11-16-MissingPostDominanceInfo.ll b/test/Transforms/ADCE/2003-11-16-MissingPostDominanceInfo.ll index 6e9b17e..5ba1a2e 100644 --- a/test/Transforms/ADCE/2003-11-16-MissingPostDominanceInfo.ll +++ b/test/Transforms/ADCE/2003-11-16-MissingPostDominanceInfo.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | grep call +; RUN: opt < %s -adce -simplifycfg -S | grep call declare void @exit(i32) define i32 @main(i32 %argc) { diff --git a/test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll b/test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll index 87a1550..a6a41fd 100644 --- a/test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll +++ b/test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -disable-output +; RUN: opt < %s -adce -disable-output define void @test() { entry: diff --git a/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll b/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll index 8ddbbbe..991e876 100644 --- a/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll +++ b/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -disable-output +; RUN: opt < %s -adce -disable-output declare void @strlen() diff --git a/test/Transforms/ADCE/basictest.ll b/test/Transforms/ADCE/basictest.ll index 22ff0f7..378d702 100644 --- a/test/Transforms/ADCE/basictest.ll +++ b/test/Transforms/ADCE/basictest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis +; RUN: opt < %s -adce -simplifycfg | llvm-dis define i32 @Test(i32 %A, i32 %B) { BB1: diff --git a/test/Transforms/ADCE/basictest1.ll b/test/Transforms/ADCE/basictest1.ll index 29f40de..bbb8878 100644 --- a/test/Transforms/ADCE/basictest1.ll +++ b/test/Transforms/ADCE/basictest1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis +; RUN: opt < %s -adce -simplifycfg | llvm-dis %FILE = type { i32, i8*, i8*, i8, i8, i32, i32, i32 } %spec_fd_t = type { i32, i32, i32, i8* } @__iob = external global [20 x %FILE] ; <[20 x %FILE]*> [#uses=1] diff --git a/test/Transforms/ADCE/basictest2.ll b/test/Transforms/ADCE/basictest2.ll index 120e233..a17795f 100644 --- a/test/Transforms/ADCE/basictest2.ll +++ b/test/Transforms/ADCE/basictest2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis +; RUN: opt < %s -adce -simplifycfg | llvm-dis %FILE = type { i32, i8*, i8*, i8, i8, i32, i32, i32 } %spec_fd_t = type { i32, i32, i32, i8* } @__iob = external global [20 x %FILE] ; <[20 x %FILE]*> [#uses=1] diff --git a/test/Transforms/ADCE/dce_pure_call.ll b/test/Transforms/ADCE/dce_pure_call.ll index 3935bf7..66483ab 100644 --- a/test/Transforms/ADCE/dce_pure_call.ll +++ b/test/Transforms/ADCE/dce_pure_call.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call +; RUN: opt -adce -S < %s | not grep call declare i32 @strlen(i8*) readonly nounwind diff --git a/test/Transforms/ADCE/dce_pure_invoke.ll b/test/Transforms/ADCE/dce_pure_invoke.ll index bd28df2..c16d45c 100644 --- a/test/Transforms/ADCE/dce_pure_invoke.ll +++ b/test/Transforms/ADCE/dce_pure_invoke.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce | llvm-dis | grep null +; RUN: opt < %s -adce -S | grep null declare i32 @strlen(i8*) readnone diff --git a/test/Transforms/ADCE/unreachable-function.ll b/test/Transforms/ADCE/unreachable-function.ll index 86c55f5..7c6a30e 100644 --- a/test/Transforms/ADCE/unreachable-function.ll +++ b/test/Transforms/ADCE/unreachable-function.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -adce -disable-output +; RUN: opt < %s -adce -disable-output define void @test() { unreachable |