This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Incomplete shader binaries need to finish execution at the end
AbandonedPublic

Authored by mareko on Mar 8 2016, 10:42 AM.

Details

Summary

No idea how to test this with lit.

Diff Detail

Event Timeline

mareko updated this revision to Diff 50054.Mar 8 2016, 10:42 AM
mareko retitled this revision from to AMDGPU/SI: Incomplete shader binaries need to finish execution at the end.
mareko updated this object.
mareko added reviewers: tstellarAMD, arsenm.

You should be able to test this by writing an IR program with a return that isn't in the final block.

You should be able to test this by writing an IR program with a return that isn't in the final block.

No, that doesn't work. The codegen reorders blocks if I just slightly change the problematic shader.

mareko abandoned this revision.Mar 10 2016, 11:40 AM