mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Eliminate multiply of pointer type
llvm-svn: 3628
This commit is contained in:
parent
4b8ce3aed2
commit
349050906a
@ -375,7 +375,8 @@ bb36: ;[#uses=5]
|
||||
%reg632 = phi uint [ %reg634, %bb36 ], [ %cast948, %bb35 ] ; <uint> [#uses=1]
|
||||
%reg633 = phi uint [ %reg635, %bb36 ], [ 0, %bb35 ] ; <uint> [#uses=2]
|
||||
%reg633-casted = cast uint %reg633 to sbyte* ; <sbyte*> [#uses=1]
|
||||
%reg631-scale = mul sbyte* %reg633-casted, null ; <sbyte*> [#uses=1]
|
||||
%reg631-scale = mul uint %reg633, 0 ; <sbyte*> [#uses=1]
|
||||
%reg631-scale = cast uint %reg631-scale to sbyte*
|
||||
%reg6311 = getelementptr sbyte* %reg631-scale, uint %parent-idxcast ; <sbyte*> [#uses=2]
|
||||
%reg632-scale = mul uint %reg632, 4 ; <uint> [#uses=1]
|
||||
%reg5581 = getelementptr sbyte* %reg6311, uint %reg632-scale ; <sbyte*> [#uses=1]
|
||||
|
Loading…
Reference in New Issue
Block a user