Rather than using a regpair operand of these instructions, use two seperate
operands and a custom converter to handle the implicit second register operand.
Additionally, remove the microMIPS32R6 definition as its redundant.
Paths
| Differential D47255
[mips] Fix the definitions of lwp, swp ClosedPublic Authored by sdardis on May 23 2018, 5:55 AM.
Details Summary Rather than using a regpair operand of these instructions, use two seperate Additionally, remove the microMIPS32R6 definition as its redundant.
Diff Detail
Event Timelinesdardis added a child revision: D39115: [MIPS][MicroMIPS] Extending size reduction pass with LWP and SWP.May 23 2018, 5:55 AM Comment Actions LGTM with a nit.
This revision is now accepted and ready to land.May 23 2018, 7:53 AM Closed by commit rL333288: [mips] Fix the definitions of lwp, swp (authored by sdardis). · Explain WhyMay 25 2018, 9:20 AM This revision was automatically updated to reflect the committed changes. Comment Actions Maybe consider removing parseRegisterPair, isRegPair, printRegisterPair and getRegisterPairOpValue (It looks like these are not used any more?)
Revision Contents
Diff 148621 llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/trunk/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
llvm/trunk/lib/Target/Mips/MicroMips32r6InstrFormats.td
llvm/trunk/lib/Target/Mips/MicroMips32r6InstrInfo.td
llvm/trunk/lib/Target/Mips/MicroMipsInstrInfo.td
|