OSDN Git Service

[mips][microMIPS] Extending size reduction pass with XOR16
authorZoran Jovanovic <zoran.jovanovic@imgtec.com>
Thu, 10 Aug 2017 10:27:29 +0000 (10:27 +0000)
committerZoran Jovanovic <zoran.jovanovic@imgtec.com>
Thu, 10 Aug 2017 10:27:29 +0000 (10:27 +0000)
commitaec1f2aefd5aa931beddbeff26897358f0d3fb99
tree85940cc28e2280e4cb4aab8baa358fc97fdac934
parent05e573b7fb74d1d70b571542d0ed614a99d27ead
[mips][microMIPS] Extending size reduction pass with XOR16
Author: milena.vujosevic.janicic
Reviewers: sdardis
The patch extends size reduction pass for MicroMIPS.
XOR instruction is transformed into 16-bit instruction XOR16, if possible.
Differential Revision: https://reviews.llvm.org/D34239

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310579 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MicroMipsSizeReduction.cpp
test/CodeGen/Mips/micromips-sizereduction/micromips-xor16.ll [new file with mode: 0644]