1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix store to not index

llvm-svn: 3429
This commit is contained in:
Chris Lattner 2002-08-21 22:45:23 +00:00
parent 9f93dfeac0
commit b67e1ad397

View File

@ -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