Matches the error message we emit with -opt -O# --passes=foo.
Otherwise we crash later on.
Makes #55320 much less confusing.
Paths
| Differential D125196
[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. Makes #55320 much less confusing.
Diff Detail
Event TimelineThis 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 Closed by commit rG431b23d20d5c: [opt] Error on `opt -O# --foo-pass` (authored by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes.
Diff 428117 llvm/test/Other/opt-On.ll
llvm/tools/opt/opt.cpp
|