Skip to content

Commit e2cab7c

Browse files
Reapply "[Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches" (#160711)
This reverts commit 18f7e03. Reapplies #160133. This was reverted originally because it was causing compilation crashes in ControlHeightReduction. It was reverted again because fix in CntrolHeightReduction was causing more problems. Everything should be in working order now, so relanding.
1 parent 81309d5 commit e2cab7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/cmake/caches/PGO.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set(LLVM_ENABLE_PROJECTS "clang;lld" CACHE STRING "")
55
set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
66

77
set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
8-
set(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED ON CACHE BOOL "")
8+
set(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED IR CACHE BOOL "")
99
set(CLANG_BOOTSTRAP_TARGETS
1010
generate-profdata
1111
stage2

0 commit comments

Comments
 (0)