This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Disable PostRA scheduler with SI scheduler
AbandonedPublic

Authored by axeldavy on Jul 3 2017, 4:21 PM.

Details

Reviewers
mareko
arsenm
Summary

When the SI scheduler is enabled, disable the PostRA scheduler.

The PostRA scheduler currently tends to worsen the scheduler.
It could be reenabled with SI scheduler when better tuned.

Diff Detail

Repository
rL LLVM

Event Timeline

axeldavy created this revision.Jul 3 2017, 4:21 PM
arsenm requested changes to this revision.Jul 3 2017, 4:26 PM

This doesn't really make sense and is an ad-hoc bug workaround. We also need the post-RA hazard recognizer which runs as part of the post-RA scheduler

This revision now requires changes to proceed.Jul 3 2017, 4:26 PM

Even with the mentionned bug workaround, the performance seems slightly worse with the PostRA scheduler pass.

arsenm added a comment.Jul 3 2017, 4:35 PM

I think there's already a flag to disable the post-RA scheduler. I think it's possible now to run the hazard recognizer separately. It would be better to just use the two switches independently rather than making one option secretly imply another

axeldavy abandoned this revision.Feb 26 2019, 12:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 26 2019, 12:15 PM
Herald added a subscriber: jvesely. · View Herald Transcript