You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds an LLVM_ENABLE_IR_PGO option to enable building llvm and its
tools with IR PGO instrumentation.
Usage: -DLLVM_BUILD_INSTRUMENTED=On -DLLVM_ENABLE_IR_PGO=On (both
options must be enabled)
Differential Revision: https://reviews.llvm.org/D38066
llvm-svn: 313770
Copy file name to clipboardexpand all lines: llvm/CMakeLists.txt
+4-4
Original file line number
Diff line number
Diff line change
@@ -548,18 +548,18 @@ else()
548
548
set(LLVM_ADD_NATIVE_VISUALIZERS_TO_SOLUTION FALSECACHEINTERNAL"For Visual Studio 2013, manually copy natvis files to Documents\\Visual Studio 2013\\Visualizers" FORCE)
549
549
endif()
550
550
551
-
if (LLVM_BUILD_INSTRUMENTED OR LLVM_BUILD_INSTRUMENTED_COVERAGE)
551
+
if (LLVM_BUILD_INSTRUMENTED OR LLVM_BUILD_INSTRUMENTED_COVERAGE OR
552
+
LLVM_ENABLE_IR_PGO)
552
553
if(NOT LLVM_PROFILE_MERGE_POOL_SIZE)
553
554
# A pool size of 1-2 is probably sufficient on a SSD. 3-4 should be fine
554
555
# for spining disks. Anything higher may only help on slower mediums.
0 commit comments