[PATCH] D39741: [mips] Correct microMIP's jump and add unconditional branch pseudo

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 09:26:34 PST 2017


sdardis created this revision.
Herald added a subscriber: arichardson.

Correct the definition of 'j' as being unavailable for microMIPS32R6 and
provide the 'b' assembly idiom for codegen purposes for microMIPS32r3.

Provide the necessary 'br' pattern for microMIPS32R6 as it now longer
incorrectly uses the 'j' instruction.


Repository:
  rL LLVM

https://reviews.llvm.org/D39741

Files:
  lib/Target/Mips/MicroMips32r6InstrInfo.td
  lib/Target/Mips/MicroMipsInstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  lib/Target/Mips/MipsSEInstrInfo.cpp
  test/CodeGen/Mips/br-jmp.ll
  test/MC/Mips/j-macro-insn.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39741.121921.patch
Type: text/x-patch
Size: 8676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171107/7b3ef280/attachment.bin>


More information about the llvm-commits mailing list