This is an archive of the discontinued LLVM Phabricator instance.

[MIPS][MicroMIPS] Extending size reduction pass with LBU16, LHU16, SB16 and SH16
ClosedPublic

Authored by milena.vujosevic.janicic on May 11 2017, 1:40 AM.

Details

Summary

The patch extends size reduction pass for MicroMIPS.
The following instructions are examined and transformed, if possible:
LBU instruction is transformed into 16-bit instruction LBU16
LHU instruction is transformed into 16-bit instruction LHU16
SB instruction is transformed into 16-bit instruction SB16
SH instruction is transformed into 16-bit instruction SH16

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis accepted this revision.May 22 2017, 4:51 AM

LGTM.

This revision is now accepted and ready to land.May 22 2017, 4:51 AM
This revision was automatically updated to reflect the committed changes.