This is an archive of the discontinued LLVM Phabricator instance.

[mips] Fix machine verifier errors in the long branch pass
ClosedPublic

Authored by sdardis on May 20 2017, 11:59 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis created this revision.May 20 2017, 11:59 AM
slthakur accepted this revision.Jun 8 2017, 4:16 AM

LGTM

This revision is now accepted and ready to land.Jun 8 2017, 4:16 AM
This revision was automatically updated to reflect the committed changes.