Page MenuHomePhabricator

[GlobalISel] Localizer: Allow targets not to run the pass conditionally

Authored by volkan on Dec 4 2019, 4:03 PM.



Previously, it was not possible to skip running the localizer pass
conditionally. This patch adds an input function to the pass which
decides if the pass should run on the given MachineFunction or not.

No test case as there is no upstream target needs this functionality.

Diff Detail

Event Timeline

volkan created this revision.Dec 4 2019, 4:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 4 2019, 4:03 PM
qcolombet accepted this revision.Dec 4 2019, 5:29 PM
This revision is now accepted and ready to land.Dec 4 2019, 5:29 PM
This revision was automatically updated to reflect the committed changes.