This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Disable nested endcf collapse
ClosedPublic

Authored by rampitec on Mar 10 2020, 1:41 PM.

Details

Summary

The assumption is that conditional regions are perfectly nested
and a mask restored at the exit from the inner block will be
completely covered by a mask restored in the outer.

It turns out with our current structurizer this is not always
the case.

Disable the optimization for now, but I want to keep it around
for a while to either try after further structurizer changes or
to move it into control flow lowering where we have more info
and reuse the test.

Diff Detail

Event Timeline

rampitec created this revision.Mar 10 2020, 1:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2020, 1:41 PM
AlexVlx accepted this revision.Mar 11 2020, 11:09 AM

LGTM, thank you!

This revision is now accepted and ready to land.Mar 11 2020, 11:09 AM
This revision was automatically updated to reflect the committed changes.