From: Chris Lattner Date: Mon, 9 Sep 2002 03:42:14 +0000 (+0000) Subject: Eliminate multiply of pointer type X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e083a1d6956bee8a2d54616571f3a626a904e089;p=oota-llvm.git Eliminate multiply of pointer type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3628 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll b/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll index f4130bc8b8b..ee8a36bfd33 100644 --- a/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll +++ b/test/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll @@ -375,7 +375,8 @@ bb36: ;[#uses=5] %reg632 = phi uint [ %reg634, %bb36 ], [ %cast948, %bb35 ] ; [#uses=1] %reg633 = phi uint [ %reg635, %bb36 ], [ 0, %bb35 ] ; [#uses=2] %reg633-casted = cast uint %reg633 to sbyte* ; [#uses=1] - %reg631-scale = mul sbyte* %reg633-casted, null ; [#uses=1] + %reg631-scale = mul uint %reg633, 0 ; [#uses=1] + %reg631-scale = cast uint %reg631-scale to sbyte* %reg6311 = getelementptr sbyte* %reg631-scale, uint %parent-idxcast ; [#uses=2] %reg632-scale = mul uint %reg632, 4 ; [#uses=1] %reg5581 = getelementptr sbyte* %reg6311, uint %reg632-scale ; [#uses=1]