This is an archive of the discontinued LLVM Phabricator instance.

[opt] NewPM: `opt -passname` syntax is dead, long live `opt -passes=<pipeline>`!
ClosedPublic

Authored by lebedev.ri on Dec 8 2022, 3:00 PM.

Details

Summary

I've done final pass, and there are no more tests to update.
All other tests (=codegen tests) are using old pass manager.

Diff Detail

Event Timeline

lebedev.ri created this revision.Dec 8 2022, 3:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 3:00 PM
lebedev.ri requested review of this revision.Dec 8 2022, 3:00 PM
lebedev.ri updated this revision to Diff 481459.Dec 8 2022, 3:08 PM

Commit the last batch of changes.

lebedev.ri edited the summary of this revision. (Show Details)Dec 8 2022, 3:09 PM
lebedev.ri planned changes to this revision.Dec 8 2022, 4:02 PM
lebedev.ri added a subscriber: vitalybuka.

There appears to be at least one leftover, somewhere in sanitizer bot.
@vitalybuka i'm not sure where it happens? PTAL? https://lab.llvm.org/buildbot/#/builders/37/builds/18702/steps/46/logs/stdio

lebedev.ri requested review of this revision.Dec 8 2022, 4:08 PM

Never mind, 225ce6784ef96f004ccc5fa992f8e20ecac74a92 should deal with that.
Not sure if there are other leftovers.

@aeubanks poke
That change baked in tree for some more days,
and still hasn't been reverted. I think we're good.

nikic accepted this revision.Dec 12 2022, 6:15 AM
nikic added a subscriber: nikic.

LGTM

This revision is now accepted and ready to land.Dec 12 2022, 6:15 AM
This revision was landed with ongoing or failed builds.Dec 12 2022, 7:20 AM
This revision was automatically updated to reflect the committed changes.

sorry, I thought I lgtm'd this patch, turns out it was the other one

thanks for doing this!