[all-commits] [llvm/llvm-project] aafb36: Reland [CMake][NewPM] Move ENABLE_EXPERIMENTAL_NEW...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Dec 1 14:02:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aafb3662103f4b3df315967c0cf4f6eec6bff0c4
      https://github.com/llvm/llvm-project/commit/aafb3662103f4b3df315967c0cf4f6eec6bff0c4
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    M clang/CMakeLists.txt
    M clang/include/clang/Config/config.h.cmake
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CMakeLists.txt
    M clang/test/lit.site.cfg.py.in
    M llvm/CMakeLists.txt
    M llvm/include/llvm/Config/llvm-config.h.cmake
    M llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
    M llvm/utils/gn/secondary/clang/test/BUILD.gn
    M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn

  Log Message:
  -----------
  Reland [CMake][NewPM] Move ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER into llvm/

This allows us to use its value everywhere, rather than just clang. Some
other places, like opt and lld, will use its value soon.

Rename it internally to LLVM_ENABLE_NEW_PASS_MANAGER.

The #define for it is now in llvm-config.h.

The initial land accidentally set the value of
LLVM_ENABLE_NEW_PASS_MANAGER to the string
ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER instead of its value.

Reviewed By: rnk, hans

Differential Revision: https://reviews.llvm.org/D92072




More information about the All-commits mailing list