[PATCH] D33091: [MIPS][MicroMIPS] Extending size reduction pass with LBU16, LHU16, SB16 and SH16

Milena Vujosevic Janicic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 01:40:49 PDT 2017


milena.vujosevic.janicic created this revision.
Herald added a subscriber: arichardson.

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


https://reviews.llvm.org/D33091

Files:
  lib/Target/Mips/MicroMipsSizeReduction.cpp
  test/CodeGen/Mips/micromips-sizereduction/micromips-lbu16-lhu16-sb16-sh16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33091.98597.patch
Type: text/x-patch
Size: 4905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170511/47858d5d/attachment.bin>


More information about the llvm-commits mailing list