This is an archive of the discontinued LLVM Phabricator instance.

[opt] Error on `opt -O# --foo-pass`
ClosedPublic

Authored by aeubanks on May 8 2022, 5:25 PM.

Details

Summary

Matches the error message we emit with -opt -O# --passes=foo.
Otherwise we crash later on.

Makes #55320 much less confusing.

Diff Detail

Event Timeline

aeubanks created this revision.May 8 2022, 5:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2022, 5:25 PM
aeubanks requested review of this revision.May 8 2022, 5:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2022, 5:25 PM
MaskRay accepted this revision.May 8 2022, 5:38 PM
MaskRay added a subscriber: MaskRay.

LGTM.

This revision is now accepted and ready to land.May 8 2022, 5:38 PM
This revision was landed with ongoing or failed builds.May 9 2022, 9:53 AM
This revision was automatically updated to reflect the committed changes.