diff options
Diffstat (limited to 'test/Transforms/LICM')
26 files changed, 26 insertions, 26 deletions
diff --git a/test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll b/test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll index 90a78cf..ff20312 100644 --- a/test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll +++ b/test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -licm -disable-output +; RUN: opt < %s -basicaa -licm -disable-output ;%MoveArray = external global [64 x ulong] diff --git a/test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll b/test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll index f2e3bea..4782bd1 100644 --- a/test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll +++ b/test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll @@ -1,6 +1,6 @@ ; Exit blocks need to be updated for all nested loops... -; RUN: opt %s -loopsimplify +; RUN: opt < %s -loopsimplify define i32 @yyparse() { bb0: diff --git a/test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll b/test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll index 63f2cf3..2718cb1 100644 --- a/test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll +++ b/test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll @@ -1,7 +1,7 @@ ; This testcase fails because preheader insertion is not updating exit node ; information for loops. -; RUN: opt %s -licm +; RUN: opt < %s -licm define i32 @main(i32 %argc, i8** %argv) { bb0: diff --git a/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll b/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll index b2db169..70a04c7 100644 --- a/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll +++ b/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll @@ -3,7 +3,7 @@ ; happens because preheader insertion doesn't insert a preheader for this ; case... bad. -; RUN: opt %s -licm -loop-deletion -simplifycfg -S | \ +; RUN: opt < %s -licm -loop-deletion -simplifycfg -S | \ ; RUN: not grep {br } define i32 @main(i32 %argc) { diff --git a/test/Transforms/LICM/2003-02-27-StoreSinkPHIs.ll b/test/Transforms/LICM/2003-02-27-StoreSinkPHIs.ll index 4790de7..a9c6b85 100644 --- a/test/Transforms/LICM/2003-02-27-StoreSinkPHIs.ll +++ b/test/Transforms/LICM/2003-02-27-StoreSinkPHIs.ll @@ -1,6 +1,6 @@ ; LICM is adding stores before phi nodes. bad. -; RUN: opt %s -licm +; RUN: opt < %s -licm define i1 @test(i1 %c) { ; <label>:0 diff --git a/test/Transforms/LICM/2003-02-28-PromoteDifferentType.ll b/test/Transforms/LICM/2003-02-28-PromoteDifferentType.ll index c1f2712..c759e6e 100644 --- a/test/Transforms/LICM/2003-02-28-PromoteDifferentType.ll +++ b/test/Transforms/LICM/2003-02-28-PromoteDifferentType.ll @@ -1,6 +1,6 @@ ; Test that hoisting is disabled for pointers of different types... ; -; RUN: opt %s -licm +; RUN: opt < %s -licm define void @test(i32* %P) { br label %Loop diff --git a/test/Transforms/LICM/2003-05-02-LoadHoist.ll b/test/Transforms/LICM/2003-05-02-LoadHoist.ll index 022da99..71d3e78 100644 --- a/test/Transforms/LICM/2003-05-02-LoadHoist.ll +++ b/test/Transforms/LICM/2003-05-02-LoadHoist.ll @@ -3,7 +3,7 @@ ; loaded from. Basically if the load gets hoisted, the subtract gets turned ; into a constant zero. ; -; RUN: opt %s -licm -gvn -instcombine -S | grep load +; RUN: opt < %s -licm -gvn -instcombine -S | grep load @X = global i32 7 ; <i32*> [#uses=2] diff --git a/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll b/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll index 3e50ca0..67c3951 100644 --- a/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll +++ b/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm | lli +; RUN: opt < %s -licm | lli define i32 @main() { entry: diff --git a/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.ll b/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.ll index 0db41ec..16f4fed 100644 --- a/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.ll +++ b/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -licm -disable-output +; RUN: opt < %s -globalsmodref-aa -licm -disable-output @PL_regcomp_parse = internal global i8* null ; <i8**> [#uses=2] diff --git a/test/Transforms/LICM/2004-11-17-UndefIndexCrash.ll b/test/Transforms/LICM/2004-11-17-UndefIndexCrash.ll index 84b5933..a119865 100644 --- a/test/Transforms/LICM/2004-11-17-UndefIndexCrash.ll +++ b/test/Transforms/LICM/2004-11-17-UndefIndexCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -disable-output +; RUN: opt < %s -licm -disable-output %struct.roadlet = type { i8*, %struct.vehicle*, [8 x %struct.roadlet*], [8 x %struct.roadlet* (%struct.roadlet*, %struct.vehicle*, i32)*] } %struct.vehicle = type { %struct.roadlet*, i8*, i32, i32, %union.._631., i32 } %union.._631. = type { i32 } diff --git a/test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll b/test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll index 724c1fa..91740cf 100644 --- a/test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll +++ b/test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -disable-output +; RUN: opt < %s -licm -disable-output define void @test({ i32 }* %P) { br label %Loop diff --git a/test/Transforms/LICM/2006-09-12-DeadUserOfSunkInstr.ll b/test/Transforms/LICM/2006-09-12-DeadUserOfSunkInstr.ll index 10cdb6d..9763660 100644 --- a/test/Transforms/LICM/2006-09-12-DeadUserOfSunkInstr.ll +++ b/test/Transforms/LICM/2006-09-12-DeadUserOfSunkInstr.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -disable-output +; RUN: opt < %s -licm -disable-output ; PR908 ; END. diff --git a/test/Transforms/LICM/2007-05-22-VolatileSink.ll b/test/Transforms/LICM/2007-05-22-VolatileSink.ll index 72e5097..c12e13b 100644 --- a/test/Transforms/LICM/2007-05-22-VolatileSink.ll +++ b/test/Transforms/LICM/2007-05-22-VolatileSink.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -S | grep {volatile store} +; RUN: opt < %s -licm -S | grep {volatile store} ; PR1435 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" target triple = "i686-apple-darwin8" diff --git a/test/Transforms/LICM/2007-07-30-AliasSet.ll b/test/Transforms/LICM/2007-07-30-AliasSet.ll index 64919ea..8ecd1bc 100644 --- a/test/Transforms/LICM/2007-07-30-AliasSet.ll +++ b/test/Transforms/LICM/2007-07-30-AliasSet.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -loop-unswitch -disable-output +; RUN: opt < %s -licm -loop-unswitch -disable-output %struct.III_scalefac_t = type { [22 x i32], [13 x [3 x i32]] } %struct.gr_info = type { i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32*, [4 x i32] } diff --git a/test/Transforms/LICM/2007-09-17-PromoteValue.ll b/test/Transforms/LICM/2007-09-17-PromoteValue.ll index c8d321b..31abd8c 100644 --- a/test/Transforms/LICM/2007-09-17-PromoteValue.ll +++ b/test/Transforms/LICM/2007-09-17-PromoteValue.ll @@ -2,7 +2,7 @@ ; Do not promote getelementptr because it may exposes load from a null pointer ; and store from a null pointer which are covered by ; icmp eq %struct.decision* null, null condition. -; RUN: opt %s -licm -S | not grep promoted +; RUN: opt < %s -licm -S | not grep promoted %struct.decision = type { i8, %struct.decision* } define i32 @main() { diff --git a/test/Transforms/LICM/2007-09-24-PromoteNullValue.ll b/test/Transforms/LICM/2007-09-24-PromoteNullValue.ll index 4b428ac..916f479 100644 --- a/test/Transforms/LICM/2007-09-24-PromoteNullValue.ll +++ b/test/Transforms/LICM/2007-09-24-PromoteNullValue.ll @@ -1,5 +1,5 @@ ; Do not promote null value because it may be unsafe to do so. -; RUN: opt %s -licm -S | not grep promoted +; RUN: opt < %s -licm -S | not grep promoted define i32 @f(i32 %foo, i32 %bar, i32 %com) { entry: diff --git a/test/Transforms/LICM/2007-10-01-PromoteSafeValue.ll b/test/Transforms/LICM/2007-10-01-PromoteSafeValue.ll index 796830f..59f1dcb 100644 --- a/test/Transforms/LICM/2007-10-01-PromoteSafeValue.ll +++ b/test/Transforms/LICM/2007-10-01-PromoteSafeValue.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -S | grep promoted +; RUN: opt < %s -licm -S | grep promoted ; Promote value if at least one use is safe diff --git a/test/Transforms/LICM/2008-05-20-AliasSetVAArg.ll b/test/Transforms/LICM/2008-05-20-AliasSetVAArg.ll index 56202b6..a5a7bf8 100644 --- a/test/Transforms/LICM/2008-05-20-AliasSetVAArg.ll +++ b/test/Transforms/LICM/2008-05-20-AliasSetVAArg.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -disable-output +; RUN: opt < %s -licm -disable-output ; PR2346 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:128:128" target triple = "i686-pc-linux-gnu" diff --git a/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll b/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll index d40ae94..7810309 100644 --- a/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll +++ b/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -enable-licm-constant-variables -S | grep -A 1 entry | grep load.*@a +; RUN: opt < %s -licm -enable-licm-constant-variables -S | grep -A 1 entry | grep load.*@a @a = external constant float* define void @test(i32 %count) { diff --git a/test/Transforms/LICM/2009-03-25-AliasSetTracker.ll b/test/Transforms/LICM/2009-03-25-AliasSetTracker.ll index 0ccd167..d1fe48c 100644 --- a/test/Transforms/LICM/2009-03-25-AliasSetTracker.ll +++ b/test/Transforms/LICM/2009-03-25-AliasSetTracker.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -licm -loop-index-split -instcombine -disable-output +; RUN: opt < %s -licm -loop-index-split -instcombine -disable-output %struct.FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] } %struct._IO_marker = type { %struct._IO_marker*, %struct.FILE*, i32 } diff --git a/test/Transforms/LICM/Preserve-LCSSA.ll b/test/Transforms/LICM/Preserve-LCSSA.ll index 000ead1..24c4ad1 100644 --- a/test/Transforms/LICM/Preserve-LCSSA.ll +++ b/test/Transforms/LICM/Preserve-LCSSA.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -loop-rotate -licm -loop-unswitch -disable-output +; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output define i32 @stringSearch_Clib(i32 %count) { entry: diff --git a/test/Transforms/LICM/basictest.ll b/test/Transforms/LICM/basictest.ll index b4442d1..1dbb4dc 100644 --- a/test/Transforms/LICM/basictest.ll +++ b/test/Transforms/LICM/basictest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm | llvm-dis +; RUN: opt < %s -licm | llvm-dis define void @testfunc(i32 %i) { ; <label>:0 diff --git a/test/Transforms/LICM/hoisting.ll b/test/Transforms/LICM/hoisting.ll index 677bd88..e7d36af 100644 --- a/test/Transforms/LICM/hoisting.ll +++ b/test/Transforms/LICM/hoisting.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -S | FileCheck %s +; RUN: opt < %s -licm -S | FileCheck %s @X = global i32 0 ; <i32*> [#uses=1] diff --git a/test/Transforms/LICM/no-preheader-test.ll b/test/Transforms/LICM/no-preheader-test.ll index 969a83c..bd3eea3 100644 --- a/test/Transforms/LICM/no-preheader-test.ll +++ b/test/Transforms/LICM/no-preheader-test.ll @@ -1,5 +1,5 @@ ; Test that LICM works when there is not a loop-preheader -; RUN: opt %s -licm | llvm-dis +; RUN: opt < %s -licm | llvm-dis define void @testfunc(i32 %i.s, i1 %ifcond) { br i1 %ifcond, label %Then, label %Else diff --git a/test/Transforms/LICM/scalar_promote.ll b/test/Transforms/LICM/scalar_promote.ll index 9b28f10..ef28c38 100644 --- a/test/Transforms/LICM/scalar_promote.ll +++ b/test/Transforms/LICM/scalar_promote.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -licm -S | FileCheck %s +; RUN: opt < %s -licm -S | FileCheck %s @X = global i32 7 ; <i32*> [#uses=4] define void @test1(i32 %i) { diff --git a/test/Transforms/LICM/sinking.ll b/test/Transforms/LICM/sinking.ll index e6baed2..11112eb 100644 --- a/test/Transforms/LICM/sinking.ll +++ b/test/Transforms/LICM/sinking.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -licm -S | FileCheck %s +; RUN: opt < %s -basicaa -licm -S | FileCheck %s declare i32 @strlen(i8*) readonly |