[Mono-bugs] [Bug 55967][Wis] New - We emit ldc.i4.0; beq when brfalse would work

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Mar 2004 15:22:57 -0500 (EST)

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/55967	2004-03-23 15:22:57.000000000 -0500
+++ shadow/55967.tmp.17986	2004-03-23 15:22:57.000000000 -0500
@@ -0,0 +1,23 @@
+Bug#: 55967
+Product: Mono: Compilers
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: We emit ldc.i4.0; beq when brfalse would work
+We emit il code that is larger than necessary for some cases of :
+if (x == 0)
+right now, we optimize the int case, however more can be done.