diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-03-19 07:28:33 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-03-19 07:28:33 +0000 |
commit | e6d5d39c072d3b16ff4183c515d7ccf198192958 (patch) | |
tree | 57312300a30d0b10726d10d7928aa6f657e9ad28 /test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll | |
parent | ce7d5db4d86b6eef20ffb9e981a1f0d428879e57 (diff) |
Upgrade tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll')
-rw-r--r-- | test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll b/test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll index 81d3c25128..145551bded 100644 --- a/test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll +++ b/test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll @@ -1,43 +1,32 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce -disable-output +; RUN: llvm-as < %s | opt -loop-reduce -disable-output -void %main() { +define void @main() { entry: br label %loopentry.0 - loopentry.0: ; preds = %then.5, %entry - %arg_index.1.ph = phi int [ 1, %entry ], [ %arg_index.1.ph.be, %then.5 ] ; <int> [#uses=1] - br bool false, label %no_exit.0, label %loopexit.0 - + %arg_index.1.ph = phi i32 [ 1, %entry ], [ %arg_index.1.ph.be, %then.5 ] ; <i32> [#uses=1] + br i1 false, label %no_exit.0, label %loopexit.0 no_exit.0: ; preds = %loopentry.0 - %arg_index.1.1 = add int 0, %arg_index.1.ph ; <int> [#uses=2] - br bool false, label %then.i55, label %endif.i61 - + %arg_index.1.1 = add i32 0, %arg_index.1.ph ; <i32> [#uses=2] + br i1 false, label %then.i55, label %endif.i61 then.i55: ; preds = %no_exit.0 - br bool false, label %then.4, label %else.1 - + br i1 false, label %then.4, label %else.1 endif.i61: ; preds = %no_exit.0 ret void - then.4: ; preds = %then.i55 - %tmp.19993 = add int %arg_index.1.1, 2 ; <int> [#uses=0] + %tmp.19993 = add i32 %arg_index.1.1, 2 ; <i32> [#uses=0] ret void - else.1: ; preds = %then.i55 - br bool false, label %then.i86, label %loopexit.i97 - + br i1 false, label %then.i86, label %loopexit.i97 then.i86: ; preds = %else.1 ret void - loopexit.i97: ; preds = %else.1 - br bool false, label %then.5, label %else.2 - + br i1 false, label %then.5, label %else.2 then.5: ; preds = %loopexit.i97 - %arg_index.1.ph.be = add int %arg_index.1.1, 2 ; <int> [#uses=1] + %arg_index.1.ph.be = add i32 %arg_index.1.1, 2 ; <i32> [#uses=1] br label %loopentry.0 - else.2: ; preds = %loopexit.i97 ret void - loopexit.0: ; preds = %loopentry.0 ret void } |