[PATCH] D38169: [mips] Remove codegen support for branch likely instructions.

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 03:30:58 PDT 2017


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

This patch disables codegen support for branch likely instructions to
address a potential bug. These branches were unselectable as
they had the same patterns as the normal branches but came after them
when ISel was concerned.

The branch likely instructions were marked as having no delay
slots when they have annulling delay slots. The delay slot filler
does not currently handle annulling delay slot branches, so this
would lead to wrong codegen if these branches were generated.


https://reviews.llvm.org/D38169

Files:
  lib/Target/Mips/MipsInstrFPU.td
  lib/Target/Mips/MipsInstrInfo.td
  test/MC/Mips/mips-jump-delay-slots.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38169.116321.patch
Type: text/x-patch
Size: 8995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170922/53d88d54/attachment.bin>


More information about the llvm-commits mailing list