diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-13 18:19:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-13 18:19:29 +0000 |
commit | 7dad18b788dcb7646d776cf388af1a47b8b93ca8 (patch) | |
tree | 8e957fcd2c5c97c0da06c85c934eefc211cc7dd1 | |
parent | 1be4811d3405bf177b7fef1a56bcae9095e6921d (diff) |
remove test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21952 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll b/test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll deleted file mode 100644 index 6b38a00e67..0000000000 --- a/test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll +++ /dev/null @@ -1,46 +0,0 @@ -; This example was not getting level raised because of a negative index from -; this instruction: -; %reg111 = add int %reg110, -12 -; this testcase is distilled from this C source: -; void foo(int j, int *x) { -; unsigned i; -; for (i = 12; i < 14; ++i) -; x[j*i-12] = j; -; } - -; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*' - -implementation - -void "foo"(int %j, int * %x) -begin -bb0: ;[#uses=0] - br label %bb1 - -bb1: ;[#uses=2] - %reg108 = cast int * %x to ulong ; <sbyte *> [#uses=1] - %cond219 = setgt ulong 12, 13 ; <bool> [#uses=1] - br bool %cond219, label %bb3, label %bb2 - -bb2: ;[#uses=3] - %cann-indvar = phi uint [ 0, %bb1 ], [ %add1-indvar, %bb2 ] ; <uint> [#uses=2] - %reg117 = add uint %cann-indvar, 12 ; <uint> [#uses=2] - %add1-indvar = add uint %cann-indvar, 1 ; <uint> [#uses=1] - %cast224 = cast uint %reg117 to uint ; <uint> [#uses=1] - %cast225 = cast uint %reg117 to int ; <int> [#uses=1] - %reg110 = mul int %j, %cast225 ; <int> [#uses=1] - %reg111 = add int %reg110, -12 ; <int> [#uses=1] - %cast222 = cast int %reg111 to uint ; <uint> [#uses=1] - %reg113 = shl uint %cast222, ubyte 2 ; <uint> [#uses=1] - %cast114 = cast uint %reg113 to ulong ; <ulong> [#uses=1] - %cast115 = cast ulong %cast114 to ulong ; <sbyte *> [#uses=1] - %reg116 = add ulong %reg108, %cast115 ; <sbyte *> [#uses=1] - %cast223 = cast ulong %reg116 to int * ; <int *> [#uses=1] - store int %j, int * %cast223 - %reg118 = add uint %cast224, 1 ; <uint> [#uses=1] - %cond220 = setle uint %reg118, 13 ; <bool> [#uses=1] - br bool %cond220, label %bb2, label %bb3 - -bb3: ;[#uses=2] - ret void -end |