Skip to content

Commit f7685dc

Browse files
committed
Fix #22.
1 parent d5208ba commit f7685dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Z80/Z80InstrInfo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ MachineInstr *Z80InstrInfo::foldMemoryOperandImpl(
17591759
break;
17601760
}
17611761

1762-
if (Size && Size < OpSize)
1762+
if (Size && Size != OpSize)
17631763
return nullptr;
17641764

17651765
MachineInstrBuilder MIB(

0 commit comments

Comments
 (0)