This is an archive of the discontinued LLVM Phabricator instance.

CodeGen: Refactor regallocator command line and target selection
ClosedPublic

Authored by arsenm on Dec 22 2020, 5:53 PM.

Details

Summary

Make the sequence of passes to select and rewrite instructions to
physical registers be a target callback. This is to prepare to allow
targets to split register allocation into multiple phases.

Diff Detail

Event Timeline

arsenm created this revision.Dec 22 2020, 5:53 PM
arsenm requested review of this revision.Dec 22 2020, 5:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 22 2020, 5:53 PM
Herald added subscribers: aheejin, wdng. · View Herald Transcript
ychen accepted this revision.Dec 22 2020, 6:34 PM

LGTM

This revision is now accepted and ready to land.Dec 22 2020, 6:34 PM
qcolombet accepted this revision.Jan 7 2021, 9:43 AM