[PATCH] D33887: [mips][microMIPS] Extending size reduction pass with ADDIUSP and ADDIUR1SP

Milena Vujosevic Janicic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 03:31:05 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:
ADDIU instruction is transformed into 16-bit instruction ADDIUSP
ADDIU instruction is transformed into 16-bit instruction ADDIUR1SP


https://reviews.llvm.org/D33887

Files:
  CodeGen/Mips/micromips-sizereduction/micromips-addiur1sp-addiusp.ll
  Target/Mips/MicroMipsSizeReduction.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33887.101384.patch
Type: text/x-patch
Size: 6085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170605/b61f7484/attachment.bin>


More information about the llvm-commits mailing list