This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Switch PostRA sched to MachineSched
ClosedPublic

Authored by Joe_Nash on Sep 9 2021, 12:16 PM.

Details

Summary

Use GCNHazardRecognizer in postra sched.
Updated tests for the new schedules.

Diff Detail

Event Timeline

Joe_Nash created this revision.Sep 9 2021, 12:16 PM
Joe_Nash requested review of this revision.Sep 9 2021, 12:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2021, 12:16 PM
arsenm accepted this revision.Sep 9 2021, 12:32 PM
This revision is now accepted and ready to land.Sep 9 2021, 12:32 PM
foad added a comment.Sep 9 2021, 10:46 PM

Can you give some rationale for the change in the commit message?

Joe_Nash updated this revision to Diff 371906.Sep 10 2021, 6:18 AM

update llc-pipeline.ll and commit message

This revision was automatically updated to reflect the committed changes.
foad added a comment.Sep 15 2021, 1:01 AM

Can you give some rationale for the change in the commit message?

Or failing that, leave a comment here with the rationale, just for the historical record?

Can you give some rationale for the change in the commit message?

Or failing that, leave a comment here with the rationale, just for the historical record?

This was my updated commit message. I didn't expect it to update the description on phab, but apparently it also didn't make it into the landed patch either. Arcanist did something I didn't expect.

[AMDGPU] Switch PostRA sched to MachineSched

The PostRA Machine scheduler is more flexible and extensible than
the old PostRA top-down list scheduler. In particular it will
make better use of cluster edges. Testing shows no regressions
on graphics workloads relative to the old scheduler.

GCNHazardRecognizer is still used as the PostRA sched hazard rec.
Updated tests for the new schedules.