This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix recorded region boundaries in max-occupancy scheduler
ClosedPublic

Authored by rampitec on Mar 28 2017, 12:42 PM.

Details

Summary

This is incorrect to record region boundaries before scheduling,
it may change after scheduling. As a result second pass may see less
instructions to schedule than it should.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Mar 28 2017, 12:42 PM
vpykhtin accepted this revision.Mar 28 2017, 12:57 PM

This looks elegant, mine was longer :), thanks!

This revision is now accepted and ready to land.Mar 28 2017, 12:57 PM
This revision was automatically updated to reflect the committed changes.