File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1172,16 +1172,13 @@ if(LLVM_ENABLE_EH AND NOT LLVM_ENABLE_RTTI)
11721172 message (FATAL_ERROR "Exception handling requires RTTI. You must set LLVM_ENABLE_RTTI to ON" )
11731173endif ()
11741174
1175- option (LLVM_ENABLE_IR_PGO "Build LLVM and tools with IR PGO instrumentation (deprecated)" Off )
1176- mark_as_advanced (LLVM_ENABLE_IR_PGO)
1177-
11781175set (LLVM_BUILD_INSTRUMENTED OFF CACHE STRING "Build LLVM and tools with PGO instrumentation. May be specified as IR or Frontend" )
11791176set (LLVM_VP_COUNTERS_PER_SITE "1.5" CACHE STRING "Value profile counters to use per site for IR PGO with Clang" )
11801177mark_as_advanced (LLVM_BUILD_INSTRUMENTED LLVM_VP_COUNTERS_PER_SITE)
11811178string (TOUPPER "${LLVM_BUILD_INSTRUMENTED} " uppercase_LLVM_BUILD_INSTRUMENTED)
11821179
11831180if (LLVM_BUILD_INSTRUMENTED)
1184- if (LLVM_ENABLE_IR_PGO OR uppercase_LLVM_BUILD_INSTRUMENTED STREQUAL "IR" )
1181+ if (uppercase_LLVM_BUILD_INSTRUMENTED STREQUAL "IR" )
11851182 append ("-fprofile-generate=\" ${LLVM_PROFILE_DATA_DIR} \" "
11861183 CMAKE_CXX_FLAGS
11871184 CMAKE_C_FLAGS)
You can’t perform that action at this time.
0 commit comments