[PATCH] D40314: [mips] Use the delay slot filler to convert branches for microMIPSR6.

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 09:22:52 PST 2017


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

The MIPS delay slot filler converts delay slot branches into compact
forms for the MIPS ISAs which support them. For branches that compare
(in)equality with with zero, it converts them into branches with implict
zero register operands. These branches have a slightly greater range
than normal two register operands branches.

Changing the branches at this point in the pipeline offers the long
branch pass the ability to mark better judgements if a long branch
sequence is required.


Repository:
  rL LLVM

https://reviews.llvm.org/D40314

Files:
  lib/Target/Mips/MipsDelaySlotFiller.cpp
  test/CodeGen/Mips/fcmp.ll
  test/CodeGen/Mips/llvm-ir/sub.ll
  test/CodeGen/Mips/tailcall/tailcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40314.123818.patch
Type: text/x-patch
Size: 4159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171121/1eef7977/attachment.bin>


More information about the llvm-commits mailing list