#
224e4cc5 |
| 15-Jun-2023 |
Amir Ayupov <aaupov@fb.com> |
[BOLT] Sort BranchData in DataAggregator
Align perf reader to fdata behavior by sorting BranchData after reading samples, in the same way as DataReader: https://github.com/llvm/llvm-project/blob/20c
[BOLT] Sort BranchData in DataAggregator
Align perf reader to fdata behavior by sorting BranchData after reading samples, in the same way as DataReader: https://github.com/llvm/llvm-project/blob/20c66a0c66340f44f04b6526e45bcc5d872d480a/bolt/lib/Profile/DataReader.cpp#L1239
Namely, that order affects CallSiteInfo annotations which determine the construction order of CallGraph, which in turn affects function reordering.
Reviewed By: #bolt, rafauler
Differential Revision: https://reviews.llvm.org/D152731
show more ...
|
#
73b89e3f |
| 01-Mar-2023 |
Maksim Panchenko <maks@fb.com> |
[BOLT] Remove dependency on StringMap iteration order
Remove the usage of StringMap in places where the iteration order affects the output since the iteration over StringMap is non-deterministic.
R
[BOLT] Remove dependency on StringMap iteration order
Remove the usage of StringMap in places where the iteration order affects the output since the iteration over StringMap is non-deterministic.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D145194
show more ...
|
#
d648aa1b |
| 10-Jun-2022 |
Maksim Panchenko <maks@fb.com> |
[BOLT][TEST] Use double dash flags in tests
Replace a single dash with a double dash for options that have more than a single letter.
llvm-bolt-wrapper.py has special treatment for output options s
[BOLT][TEST] Use double dash flags in tests
Replace a single dash with a double dash for options that have more than a single letter.
llvm-bolt-wrapper.py has special treatment for output options such as "-o" and "-w" causing issues when a single dash is used, e.g. for "-write-dwp". The wrapper can be fixed as well, but using a double dash has other advantages as well.
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D127538
show more ...
|
#
0559dab5 |
| 26-Oct-2021 |
Rafael Auler <rafaelauler@fb.com> |
[BOLT] Improve cmake configs for opensource
Summary: Change cmake config in BOLT to only support Linux. In other platforms, we print a warning that we won't build BOLT. Change configs to determine
[BOLT] Improve cmake configs for opensource
Summary: Change cmake config in BOLT to only support Linux. In other platforms, we print a warning that we won't build BOLT. Change configs to determine whether we will build BOLT runtime libs. This only happens in x86 hosts. If true, we will build the runtime and enable bolt-runtime tests. New tests that depend on the bolt_rt lib needs to be marked REQUIRES:bolt-runtime. I updated the relevant tests. Fix cmake to do not crash when building llvm with a target that BOLT does not support.
(cherry picked from FBD31935760)
show more ...
|
#
6b4eb0b9 |
| 23-Sep-2021 |
Amir Ayupov <aaupov@fb.com> |
[BOLT][TEST] Split runtime tests into test/runtime folder
Summary: Create bolt/test/runtime folder and move tests that execute the binary. Move lit.local.cfg with host_arch check to the correspondin
[BOLT][TEST] Split runtime tests into test/runtime folder
Summary: Create bolt/test/runtime folder and move tests that execute the binary. Move lit.local.cfg with host_arch check to the corresponding folder. Addresses issue facebookincubator/BOLT#132.
AArch64/tls.c shows a different behavior with clang hence marked as XFAIL
TODO: add a check for non-exec tests for a corresponding LLVM_TARGETS_TO_BUILD.
(cherry picked from FBD31132234)
show more ...
|