This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Force exports at the end for SI scheduler
ClosedPublic

Authored by axeldavy on Jul 3 2017, 1:47 PM.

Details

Summary

Ideally exports should be done at the end of the shader for performance.
The position export could be done a bit earlier, but after all other memory operations.
This patch is a first step, and enforces all export to be at the end of the shader for the SI scheduler.

Diff Detail

Repository
rL LLVM

Event Timeline

axeldavy created this revision.Jul 3 2017, 1:47 PM
This revision was automatically updated to reflect the committed changes.