Amir updated this revision to Diff 457400.
Amir added a comment.
Succeeded in producing optimized Clang. Switch the default profiling target
from `lld` to `count`, which produces a sufficient Clang coverage of 5.3B exec
insns (along with configure-stage Clang invocations).
Repository:
rG LLVM
phosek added a comment.
This was already on my list of build system features I'd like to implement and
I'm glad someone else is already looking into it, thank you! I have two high
level comments about your approach.
The first one is related to the use of Clang build as the training data. I
thi
Amir updated this revision to Diff 457172.
Amir added a comment.
Successfully invoke the bootstrap/profiling build
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132975/new/
https://reviews.llvm.org/D132975
Files:
clang/CMakeLists.txt
clang/cma
Amir updated this revision to Diff 457102.
Amir added a comment.
Succeeded instrumenting Clang with BOLT
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132975/new/
https://reviews.llvm.org/D132975
Files:
clang/CMakeLists.txt
clang/cmake/caches/
Amir updated this revision to Diff 456799.
Amir added a comment.
CMAKE_CURRENT_BINARY_DIR already contains bin/
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132975/new/
https://reviews.llvm.org/D132975
Files:
clang/CMakeLists.txt
clang/cmake/