This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Change insertion point of si_mask_branch
ClosedPublic

Authored by arsenm on Jul 29 2016, 7:18 PM.

Details

Summary

Insert before the skip branch if one is created.
This is a somewhat more natural placement relative
to the skip branches, and makes it possible to implement
analyzeBranch for skip blocks.

The test changes are mostly due to a quirk where
the block label is not emitted if there is a terminator
that is not also a branch.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 66213.Jul 29 2016, 7:18 PM
arsenm retitled this revision from to AMDGPU: Change insertion point of si_mask_branch.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
nhaehnle accepted this revision.Aug 1 2016, 6:51 AM
nhaehnle added a reviewer: nhaehnle.
nhaehnle added a subscriber: nhaehnle.

LGTM

This revision is now accepted and ready to land.Aug 1 2016, 6:51 AM
arsenm closed this revision.Aug 10 2016, 12:20 PM

r278273