[PATCH] D33378: [mips] Fix machine verifier errors in the long branch pass

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 20 11:59:06 PDT 2017


sdardis created this revision.
Herald added subscribers: arichardson, dschuff.

This patch fixes two systemic machine verifier errors in the long
branch pass. The first is the incorrect basic block successors
and the was the incorrect construction of several jump instructions.

      

This partially resolves PR27458 and the associated PR32146.


Repository:
  rL LLVM

https://reviews.llvm.org/D33378

Files:
  lib/Target/Mips/MipsLongBranch.cpp
  test/CodeGen/Mips/longbranch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33378.99540.patch
Type: text/x-patch
Size: 7083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170520/f107eed1/attachment.bin>


More information about the llvm-commits mailing list