We don't need to always generate -f[no-]experimental-new-pass-manager.
This patch does not change the behavior of any other command line flag. (For example -triple is still being always generated.)
Paths
| Differential D92857
[clang][cli] Don't always emit -f[no-]legacy-pass-manager ClosedPublic Authored by jansvoboda11 on Dec 8 2020, 9:18 AM.
Details Summary We don't need to always generate -f[no-]experimental-new-pass-manager. This patch does not change the behavior of any other command line flag. (For example -triple is still being always generated.)
Diff Detail
Event Timelinejansvoboda11 created this revision. Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 8 2020, 9:18 AM Comment Actions This seems fine to me, I agree this option doesn't need to be present all the time. Thanks for clarifying that -triple is still there. @Bigcheese, WDYT? This revision is now accepted and ready to land.Dec 9 2020, 10:23 AM jansvoboda11 retitled this revision from [clang][cli] Don't always emit -f[no-]experimental-new-pass-manager to [clang][cli] [clang][cli] Don't always emit -f[no-]legacy-pass-manager.Dec 11 2020, 5:45 AM jansvoboda11 retitled this revision from [clang][cli] [clang][cli] Don't always emit -f[no-]legacy-pass-manager to [clang][cli] Don't always emit -f[no-]legacy-pass-manager.Dec 11 2020, 6:26 AM This revision was landed with ongoing or failed builds.Dec 12 2020, 1:12 AM Closed by commit rG10f40576f7b4: [clang][cli] Don't always emit -f[no-]legacy-pass-manager (authored by jansvoboda11). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 311370 clang/unittests/Frontend/CompilerInvocationTest.cpp
llvm/include/llvm/Option/OptParser.td
|