[PATCH] D27209: [mips] Fix compact branch hazard detection

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 05:52:28 PST 2016


sdardis created this revision.
sdardis added a reviewer: vkalintiris.
sdardis added a subscriber: llvm-commits.
sdardis set the repository for this revision to rL LLVM.

In certain cases it is possible that transient instructions such as
%reg = IMPLICIT_DEF as a single instruction in a basic block to reach
the MipsHazardSchedule pass. This patch teaches MipsHazardSchedule to
properly look through such cases.


Repository:
  rL LLVM

https://reviews.llvm.org/D27209

Files:
  lib/Target/Mips/MipsHazardSchedule.cpp
  test/CodeGen/Mips/compactbranches/compact-branch-implicit-def.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27209.79551.patch
Type: text/x-patch
Size: 9367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161129/9f7464fa/attachment.bin>


More information about the llvm-commits mailing list