diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-21 22:45:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-21 22:45:23 +0000 |
commit | cdfe870a1f6af6256b26b0dc991207ba5e13d55c (patch) | |
tree | f6396de40b41e4429f923eab2d5506f10f6a851e /test | |
parent | 236c4a33af51938e6492267b4c20c2e888c88cd7 (diff) | |
download | external_llvm-cdfe870a1f6af6256b26b0dc991207ba5e13d55c.zip external_llvm-cdfe870a1f6af6256b26b0dc991207ba5e13d55c.tar.gz external_llvm-cdfe870a1f6af6256b26b0dc991207ba5e13d55c.tar.bz2 |
Fix store to not index
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Generic/badlive.ll | 4 | ||||
-rw-r--r-- | test/LLC/badlive.ll | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Generic/badlive.ll b/test/CodeGen/Generic/badlive.ll index f9c74d2..fe94f76 100644 --- a/test/CodeGen/Generic/badlive.ll +++ b/test/CodeGen/Generic/badlive.ll @@ -10,7 +10,7 @@ bb2: %cann-indvar1 = phi int [ 0, %bb0 ], [ %add1-indvar1, %bb2 ] %reg127 = mul int %cann-indvar1, 2 %add1-indvar1 = add int %cann-indvar1, 1 - store int 999, int * %reg109, uint 0 + store int 999, int * %reg109 %cond1015 = setle int 1, 99 %reg128 = add int %reg127, 2 br bool %cond1015, label %bb2, label %bb4 @@ -18,7 +18,7 @@ bb2: bb4: ;[#uses=3] %cann-indvar = phi uint [ %add1-indvar, %bb4 ], [ 0, %bb2 ] %add1-indvar = add uint %cann-indvar, 1 ; <uint> [#uses=1] - store int 333, int * %reg109, uint 0 + store int 333, int * %reg109 %reg131 = add uint %add1-indvar, 3 ; <int> [#uses=1] %cond1017 = setle uint %reg131, 99 ; <bool> [#uses=1] br bool %cond1017, label %bb4, label %bb5 diff --git a/test/LLC/badlive.ll b/test/LLC/badlive.ll index f9c74d2..fe94f76 100644 --- a/test/LLC/badlive.ll +++ b/test/LLC/badlive.ll @@ -10,7 +10,7 @@ bb2: %cann-indvar1 = phi int [ 0, %bb0 ], [ %add1-indvar1, %bb2 ] %reg127 = mul int %cann-indvar1, 2 %add1-indvar1 = add int %cann-indvar1, 1 - store int 999, int * %reg109, uint 0 + store int 999, int * %reg109 %cond1015 = setle int 1, 99 %reg128 = add int %reg127, 2 br bool %cond1015, label %bb2, label %bb4 @@ -18,7 +18,7 @@ bb2: bb4: ;[#uses=3] %cann-indvar = phi uint [ %add1-indvar, %bb4 ], [ 0, %bb2 ] %add1-indvar = add uint %cann-indvar, 1 ; <uint> [#uses=1] - store int 333, int * %reg109, uint 0 + store int 333, int * %reg109 %reg131 = add uint %add1-indvar, 3 ; <int> [#uses=1] %cond1017 = setle uint %reg131, 99 ; <bool> [#uses=1] br bool %cond1017, label %bb4, label %bb5 |