[PATCH] D47526: [mips] Sink PredicateControl further down the class hierarchy.

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 02:55:51 PDT 2018


sdardis created this revision.
sdardis added reviewers: smaksimovic, abeserminji, atanasyan.
Herald added a subscriber: arichardson.

Previously PredicateControl in some cases was a member of <X>Inst classes
for some X (DSP, EVA) or was in more irregular place in the hierarchry
for any given instruction.

This patch moves PredicateControl down to the root so that it is consistently
available. Then correct the base class of microMIPS instructions as using
EncodingPredicates instead of the general Predicates field of Instruction.


Repository:
  rL LLVM

https://reviews.llvm.org/D47526

Files:
  lib/Target/Mips/MicroMips32r6InstrFormats.td
  lib/Target/Mips/MicroMips32r6InstrInfo.td
  lib/Target/Mips/MicroMipsDSPInstrFormats.td
  lib/Target/Mips/MicroMipsInstrFormats.td
  lib/Target/Mips/MicroMipsInstrInfo.td
  lib/Target/Mips/Mips32r6InstrFormats.td
  lib/Target/Mips/MipsDSPInstrFormats.td
  lib/Target/Mips/MipsEVAInstrFormats.td
  lib/Target/Mips/MipsInstrFormats.td
  lib/Target/Mips/MipsMSAInstrFormats.td
  lib/Target/Mips/MipsMTInstrFormats.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47526.149071.patch
Type: text/x-patch
Size: 18406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180530/f4f0b0f3/attachment.bin>


More information about the llvm-commits mailing list