-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Reapply "[Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches … #160133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…lvm#155957)" This reverts commit 8ed4899. This reapplies the original patch now that the issue in ControlHeightReduction (llvm#159621) has been fixed in llvm#159686.
|
@llvm/pr-subscribers-clang Author: Aiden Grossman (boomanaiden154) Changes…(#155957)" This reverts commit 8ed4899. This reapplies the original patch now that the issue in ControlHeightReduction (#159621) has been fixed in #159686. Full diff: https://github.com/llvm/llvm-project/pull/160133.diff 1 Files Affected:
diff --git a/clang/cmake/caches/PGO.cmake b/clang/cmake/caches/PGO.cmake
index 15bc755d110d1..d6471160037c1 100644
--- a/clang/cmake/caches/PGO.cmake
+++ b/clang/cmake/caches/PGO.cmake
@@ -5,7 +5,7 @@ set(LLVM_ENABLE_PROJECTS "clang;lld" CACHE STRING "")
set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
-set(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED ON CACHE BOOL "")
+set(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED IR CACHE BOOL "")
set(CLANG_BOOTSTRAP_TARGETS
generate-profdata
stage2
|
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/16293 Here is the relevant piece of the build log for the reference |
… Caches … (#160133)" This reverts commit 6f64b01. This breaks two BOLT buildbots using this cache: 1. https://lab.llvm.org/staging/#/builders/126/builds/2760 2. https://lab.llvm.org/buildbot/#/builders/113/builds/8571 More investigation needed, so reverting for now.
This reverts commit 18f7e03. Reapplies llvm#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.
…llvm#160711) This reverts commit 18f7e03. Reapplies llvm#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.
…(#155957)"
This reverts commit 8ed4899.
This reapplies the original patch now that the issue in ControlHeightReduction (#159621) has been fixed in #159686.