diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
commit | 9737a63ed8786e58e5aa261df1587673c9eba32d (patch) | |
tree | 07b2098a85687c5bdc340fc6e4f67514d5c38336 /llvm/test/Transforms/LoopUnswitch | |
parent | be4253a0caf6f011b2af12803db9cf980f48084e (diff) | |
download | bcm5719-llvm-9737a63ed8786e58e5aa261df1587673c9eba32d.tar.gz bcm5719-llvm-9737a63ed8786e58e5aa261df1587673c9eba32d.zip |
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.
llvm-svn: 81226
Diffstat (limited to 'llvm/test/Transforms/LoopUnswitch')
15 files changed, 15 insertions, 15 deletions
diff --git a/llvm/test/Transforms/LoopUnswitch/2006-02-14-LoopSimplifyCrash.ll b/llvm/test/Transforms/LoopUnswitch/2006-02-14-LoopSimplifyCrash.ll index b80220af500..ed8e0cccb54 100644 --- a/llvm/test/Transforms/LoopUnswitch/2006-02-14-LoopSimplifyCrash.ll +++ b/llvm/test/Transforms/LoopUnswitch/2006-02-14-LoopSimplifyCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output ; END. target datalayout = "E-p:32:32" diff --git a/llvm/test/Transforms/LoopUnswitch/2006-02-22-UnswitchCrash.ll b/llvm/test/Transforms/LoopUnswitch/2006-02-22-UnswitchCrash.ll index 916cba20b52..80c8deb1605 100644 --- a/llvm/test/Transforms/LoopUnswitch/2006-02-22-UnswitchCrash.ll +++ b/llvm/test/Transforms/LoopUnswitch/2006-02-22-UnswitchCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output define void @sort_Eq(i32* %S2) { entry: diff --git a/llvm/test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll b/llvm/test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll index 60e464f3acb..5ed4874daa6 100644 --- a/llvm/test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll +++ b/llvm/test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output %struct.BLEND_MAP = type { i16, i16, i16, i32, %struct.BLEND_MAP_ENTRY* } %struct.BLEND_MAP_ENTRY = type { float, i8, { [5 x float], [4 x i8] } } diff --git a/llvm/test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll b/llvm/test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll index 67da9ffad3e..32d031d7ce3 100644 --- a/llvm/test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll +++ b/llvm/test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output define void @init_caller_save() { entry: diff --git a/llvm/test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll b/llvm/test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll index 08cb9b66bc1..0edfd37c795 100644 --- a/llvm/test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll +++ b/llvm/test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll @@ -1,5 +1,5 @@ ; PR1333 -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output 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-pc-linux-gnu" diff --git a/llvm/test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll b/llvm/test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll index c4080c1e3b1..48f5969206b 100644 --- a/llvm/test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll +++ b/llvm/test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -instcombine -disable-output +; RUN: opt %s -loop-unswitch -instcombine -disable-output @str3 = external constant [3 x i8] ; <[3 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll b/llvm/test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll index de3f670f2b9..a7b38b8357e 100644 --- a/llvm/test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll +++ b/llvm/test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output define i32 @main(i32 %argc, i8** %argv) { entry: diff --git a/llvm/test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll b/llvm/test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll index edd7d1ff58e..9bacc4898f0 100644 --- a/llvm/test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll +++ b/llvm/test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output ; PR1559 target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/LoopUnswitch/2007-08-01-Dom.ll b/llvm/test/Transforms/LoopUnswitch/2007-08-01-Dom.ll index 9673e2e96a9..a8a70557a90 100644 --- a/llvm/test/Transforms/LoopUnswitch/2007-08-01-Dom.ll +++ b/llvm/test/Transforms/LoopUnswitch/2007-08-01-Dom.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -licm -loop-unswitch -disable-output +; RUN: opt %s -licm -loop-unswitch -disable-output ; PR 1589 %struct.QBasicAtomic = type { i32 } diff --git a/llvm/test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll b/llvm/test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll index 139cdbe70a0..bbeb7bba4c0 100644 --- a/llvm/test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll +++ b/llvm/test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -instcombine -disable-output +; RUN: opt %s -loop-unswitch -instcombine -disable-output %struct.ClassDef = type { %struct.QByteArray, %struct.QByteArray, %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", i8, i8, %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QMap<QByteArray,QByteArray>", %"struct.QList<ArgumentDef>", %"struct.QMap<QByteArray,QByteArray>", i32, i32 } %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.Generator = type { %struct.FILE*, %struct.ClassDef*, %"struct.QList<ArgumentDef>", %struct.QByteArray, %"struct.QList<ArgumentDef>" } diff --git a/llvm/test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll b/llvm/test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll index b236edcf56c..617c39374ff 100644 --- a/llvm/test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll +++ b/llvm/test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -licm -loop-unroll -disable-output +; RUN: opt %s -licm -loop-unroll -disable-output @resonant = external global i32 ; <i32*> [#uses=2] diff --git a/llvm/test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll b/llvm/test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll index dcf41c34a48..a2263ea4f04 100644 --- a/llvm/test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll +++ b/llvm/test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -instcombine -gvn -disable-output +; RUN: opt %s -loop-unswitch -instcombine -gvn -disable-output ; PR2372 target triple = "i386-pc-linux-gnu" diff --git a/llvm/test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll b/llvm/test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll index 713a0bddb13..6a1b2aed065 100644 --- a/llvm/test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll +++ b/llvm/test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -licm -loop-unswitch -disable-output +; RUN: opt %s -licm -loop-unswitch -disable-output @g_56 = external global i16 ; <i16*> [#uses=2] define i32 @func_67(i32 %p_68, i8 signext %p_69, i8 signext %p_71) nounwind { diff --git a/llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll b/llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll index 383aa5b671c..7174968e926 100644 --- a/llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll +++ b/llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1 +; RUN: opt %s -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1 ; PR 3170 define i32 @a(i32 %x, i32 %y) nounwind { entry: diff --git a/llvm/test/Transforms/LoopUnswitch/basictest.ll b/llvm/test/Transforms/LoopUnswitch/basictest.ll index eeaf08d7e65..40fe7f84291 100644 --- a/llvm/test/Transforms/LoopUnswitch/basictest.ll +++ b/llvm/test/Transforms/LoopUnswitch/basictest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-unswitch -disable-output +; RUN: opt %s -loop-unswitch -disable-output define i32 @test(i32* %A, i1 %C) { entry: |