[Mono-bugs] [Bug 61899][Wis] New - [PATCH] Speed up copy/cons propagation

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 24 Jul 2004 01:51:38 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.


--- shadow/61899	2004-07-24 01:51:38.000000000 -0400
+++ shadow/61899.tmp.2902	2004-07-24 01:51:38.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 61899
+Product: Mono: Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: [PATCH] Speed up copy/cons propagation
+This patch removes two redundant computations in copyprop:
+* Before, we would visit each inst to check for kill effects. However, we
+only need to do this if there are variables whose address has been taken.
+* Since cprop already calls the cfold pass, there is no need to do a
+seperate round of constant folding.
+Together, these changes make it so that -O=copyprop does not impact jit time.