This is an archive of the discontinued LLVM Phabricator instance.

[StructurizeCFG] Annotate branches that were treated as uniform
ClosedPublic

Authored by nhaehnle on Apr 12 2016, 9:35 AM.

Details

Summary

This fully solves the problem where the StructurizeCFG pass does not
consider the same branches as uniform as the SIAnnotateControlFlow pass.
The patch in D19013 helps with this problem, but is not sufficient
(and, interestingly, causes a "regression" with one of the existing
test cases).

No tests included here, because tests in D19013 already cover this.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle updated this revision to Diff 53419.Apr 12 2016, 9:35 AM
nhaehnle retitled this revision from to [StructurizeCFG] Annotate branches that were treated as uniform.
nhaehnle updated this object.
nhaehnle added reviewers: arsenm, tstellarAMD.
nhaehnle added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Apr 14 2016, 10:04 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 14 2016, 10:04 AM
This revision was automatically updated to reflect the committed changes.