[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll
Christopher Lattner
lattner at cs.uiuc.edu
Sun Sep 8 22:43:01 PDT 2002
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2002-05-14-TouchDeletedInst.ll updated: 1.2 -> 1.3
---
Log message:
Eliminate multiply of pointer type
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll
diff -u llvm/test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll:1.2 llvm/test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll:1.3
--- llvm/test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll:1.2 Thu Aug 22 11:39:12 2002
+++ llvm/test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll Sun Sep 8 22:42:14 2002
@@ -375,7 +375,8 @@
%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]
More information about the llvm-commits
mailing list