mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Eliminate multiply of pointer type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5fb724332a
commit
e083a1d695
@ -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…
x
Reference in New Issue
Block a user