This is an archive of the discontinued LLVM Phabricator instance.

[mips][mips16] Use isUnconditionalBranch() in AnalyzeBranch() and constant island pass.
ClosedPublic

Authored by dsanders on May 3 2016, 6:25 AM.

Details

Summary

This stops it misidentifying unconditional branches as conditional branches
which fixes a -verify-machineinstrs error about exiting a function via fall through.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 55981.May 3 2016, 6:25 AM
dsanders retitled this revision from to [mips][mips16] Use isUnconditionalBranch() in AnalyzeBranch() and constant island pass..
dsanders updated this object.
dsanders added a reviewer: sdardis.
dsanders added a subscriber: llvm-commits.
sdardis accepted this revision.May 4 2016, 9:25 AM
sdardis edited edge metadata.

LGTM.

This revision is now accepted and ready to land.May 4 2016, 9:25 AM
dsanders closed this revision.May 6 2016, 6:29 AM