This is an archive of the discontinued LLVM Phabricator instance.

CodeGen: Allow critical edge splitting with structurized CFGs
ClosedPublic

Authored by tstellarAMD on Aug 11 2016, 10:55 AM.

Details

Reviewers
arsenm
Summary

The rationale for not splitting critical edges with structurized CFGs was
that it would hurt performance. This isn't true in all cases, for example,
splitting cirtical edges to hoist code out of loops.

These sort of performance decisions should really be made by the optimization
passes.

Diff Detail

Event Timeline

tstellarAMD retitled this revision from to CodeGen: Allow critical edge splitting with structurized CFGs.
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
arsenm accepted this revision.Aug 11 2016, 11:15 AM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 11 2016, 11:15 AM

Looks like patch was not committed.

arsenm closed this revision.Nov 21 2016, 1:34 PM

This isn't necessary anymore since requiresStructuredCFG was disable for amdgcn