This allows us to use its value everywhere, rather than just clang. Some
other places, like opt and lld, will use its value soon.
The #define for it is now in llvm-config.h.
Paths
| Differential D92072
[CMake][NewPM] Move ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER into llvm/ ClosedPublic Authored by aeubanks on Nov 24 2020, 8:43 PM.
Details Summary This allows us to use its value everywhere, rather than just clang. Some The #define for it is now in llvm-config.h.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 24 2020, 8:43 PM Comment Actions Seems like a good idea to me. From the change description:
Do you mean rather than just clang? This revision is now accepted and ready to land.Dec 1 2020, 1:17 AM
Comment Actions
Whoops, yup.
This revision was landed with ongoing or failed builds.Dec 1 2020, 11:43 AM Closed by commit rGa36bd4c90dcc: [CMake][NewPM] Move ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER into llvm/ (authored by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions
Whoops, I'll revert and see what went wrong. This revision is now accepted and ready to land.Dec 1 2020, 1:52 PM Comment Actions set LLVM_ENABLE_NEW_PASS_MANAGER to the value of ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER, not the string itself This revision was landed with ongoing or failed builds.Dec 1 2020, 2:02 PM Closed by commit rGaafb3662103f: Reland [CMake][NewPM] Move ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER into llvm/ (authored by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 308763 clang/CMakeLists.txt
clang/include/clang/Config/config.h.cmake
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CMakeLists.txt
clang/test/lit.site.cfg.py.in
llvm/CMakeLists.txt
llvm/include/llvm/Config/llvm-config.h.cmake
llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
llvm/utils/gn/secondary/clang/test/BUILD.gn
llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
|
This is unrelated, but appears to be in the wrong header, it should be in config.h. It isn't namespaced, and could conflict with another project's config header.