git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4789
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-05-05 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/z80/peeph.def: fixed bug in rule 2
+
2007-05-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/port.h: added TARGET_MCS51_LIKE
} if notVolatile(%1)
replace restart {
- ld %1,%2
ld %1,%3
+ ld %1,%2
} by {
; peephole 2 removed dead load into %1
- ld %1,%3
-} if notVolatile(%1)
+ ld %1,%2
+} if notVolatile(%1 %3), operandsNotSame
replace restart {
jp NC,%1