This is an archive of the discontinued LLVM Phabricator instance.

BranchRelaxation: Support expanding unconditional branches
ClosedPublic

Authored by arsenm on Aug 10 2016, 1:58 PM.

Details

Summary

AMDGPU needs to expand unconditional branches in a new block.

This currently causes an assertion to be hit in the AArch64 branch relax tests when analyzeBranch fails, which are cases I believe are currently miscompiled if there are two conditional branches in a block

Diff Detail

Event Timeline

arsenm updated this revision to Diff 67599.Aug 10 2016, 1:58 PM
arsenm retitled this revision from to BranchRelaxation: Support expanding unconditional branches.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Sep 7 2016, 12:55 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Sep 7 2016, 12:55 PM
arsenm updated this revision to Diff 71688.Sep 16 2016, 12:34 PM
arsenm edited edge metadata.

Update for BranchRelaxation refactoring. Required analyzing some mask branches when the exec mask branch has the same destination as a branch on execz/execnz

arsenm closed this revision.Oct 6 2016, 9:30 AM

r283464