forked from OSchip/llvm-project
[cmake] Remove LLVM_USE_NEWPM option
This option tells the host clang to use the new pass manager. Given that it's been the default for a while, this seems unnecessary. This was added in D57068. (this does not affect any LLVM/Clang functionality) Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D122947
This commit is contained in:
parent
bc37077947
commit
bca96760f7
|
@ -974,16 +974,6 @@ if(LLVM_ENABLE_EH AND NOT LLVM_ENABLE_RTTI)
|
|||
message(FATAL_ERROR "Exception handling requires RTTI. You must set LLVM_ENABLE_RTTI to ON")
|
||||
endif()
|
||||
|
||||
option(LLVM_USE_NEWPM "Build LLVM using the experimental new pass manager" Off)
|
||||
mark_as_advanced(LLVM_USE_NEWPM)
|
||||
if (LLVM_USE_NEWPM)
|
||||
append("-fexperimental-new-pass-manager"
|
||||
CMAKE_CXX_FLAGS
|
||||
CMAKE_C_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS)
|
||||
endif()
|
||||
|
||||
option(LLVM_ENABLE_IR_PGO "Build LLVM and tools with IR PGO instrumentation (deprecated)" Off)
|
||||
mark_as_advanced(LLVM_ENABLE_IR_PGO)
|
||||
|
||||
|
|
|
@ -738,9 +738,6 @@ enabled sub-projects. Nearly all of these variable names begin with
|
|||
search. For example to link LLVM with the Gold linker, cmake can be invoked
|
||||
with ``-DLLVM_USE_LINKER=gold``.
|
||||
|
||||
**LLVM_USE_NEWPM**:BOOL
|
||||
If enabled, use the experimental new pass manager.
|
||||
|
||||
**LLVM_USE_OPROFILE**:BOOL
|
||||
Enable building OProfile JIT support. Defaults to OFF.
|
||||
|
||||
|
|
Loading…
Reference in New Issue