[PATCH] D39115: [MIPS][MicroMIPS] Extending size reduction pass with LWP and SWP

Milena Vujosevic Janicic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 02:14:20 PDT 2017


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

The patch extends size reduction pass for MicroMIPS.
It introduces reduction of two instructions into one instruction:
Two SW instructions are transformed into one SWP instrucition.
Two LW instructions are transformed into one LWP instrucition.


https://reviews.llvm.org/D39115

Files:
  lib/Target/Mips/MicroMipsSizeReduction.cpp
  test/CodeGen/Mips/llvm-ir/and.ll
  test/CodeGen/Mips/llvm-ir/or.ll
  test/CodeGen/Mips/llvm-ir/xor.ll
  test/CodeGen/Mips/micromips-sizereduction/micromips-lwp-swp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39115.119638.patch
Type: text/x-patch
Size: 23479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171020/ece4fef7/attachment.bin>


More information about the llvm-commits mailing list