#
f808ea00 |
| 29-Oct-2021 |
Amir Ayupov <aaupov@fb.com> |
[BOLT][TEST] Import small tests
Summary: Imported small internal tests: - asm_func_debug.test - basic_instrumentation.test - bolt_icf.test - ctc_and_unreachable.test - double_jump.test - exceptions_
[BOLT][TEST] Import small tests
Summary: Imported small internal tests: - asm_func_debug.test - basic_instrumentation.test - bolt_icf.test - ctc_and_unreachable.test - double_jump.test - exceptions_args.test - exceptions_instrumentation.test - fptr.test
(cherry picked from FBD32032684)
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 ...
|
#
d4fdc981 |
| 22-Sep-2021 |
Amir Ayupov <aaupov@fb.com> |
[BOLT][TEST] Remove dependence on host_cc and host_cxx
Summary: Add dependency on clang and clangxx instead.
(cherry picked from FBD31128140)
|
#
e2480fcc |
| 27-Aug-2021 |
Vasily Leonenko <vasily.leonenko@huawei.com> |
[PR] LIT: add checking if maxIndividualTestTime is availabe on the platform
Summary: This commit adds checking if maxIndividualTestTime is availabe on the platform. If available - it sets per test t
[PR] LIT: add checking if maxIndividualTestTime is availabe on the platform
Summary: This commit adds checking if maxIndividualTestTime is availabe on the platform. If available - it sets per test timeout to 60sec and declares lit-max-individual-test-time feature for further checking by particular test cases. Based on https://reviews.llvm.org/D64251 implementation.
Vasily Leonenko, Advanced Software Technology Lab, Huawei
(cherry picked from FBD30821986)
show more ...
|
#
2a5790b6 |
| 29-Jun-2021 |
Vladislav Khmelevsky <vladislav.khmelevskyi@huawei.com> |
[PR] Fdata: Escape whitespaces in symbol names
Summary: This patch is part of preparation for golang support. The golang symbols might have spaces in the name (for example "type..eq.[10]interface {}
[PR] Fdata: Escape whitespaces in symbol names
Summary: This patch is part of preparation for golang support. The golang symbols might have spaces in the name (for example "type..eq.[10]interface {}"). Since fdata uses spaces as a field separator such names brakes the fdata format, so we need to escape whitespaces and backslashes in symbol names using the backslash character.
Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei
(cherry picked from FBD29999491)
show more ...
|
#
7bccf8d2 |
| 04-Jun-2021 |
Maksim Panchenko <maks@fb.com> |
[BOLT][NFC] Fix debug info printouts for inlined functions
Summary: While printing debug info for instructions, we should use line tables from the corresponding DWARF CU which could be different fro
[BOLT][NFC] Fix debug info printouts for inlined functions
Summary: While printing debug info for instructions, we should use line tables from the corresponding DWARF CU which could be different from the containing function CU in case of inlined instructions.
(cherry picked from FBD28908324)
show more ...
|
#
de298c08 |
| 11-May-2021 |
Vladislav Khmelevsky <Vladislav.Khmelevskyi@huawei.com> |
[PR] Fix tests build with -no-pie option
Summary: Since gcc/ld could produce and expect PIE files we need to pass -no-pie option to avoid linking errors for tests. Vladislav Khmelevsky, Advanced Sof
[PR] Fix tests build with -no-pie option
Summary: Since gcc/ld could produce and expect PIE files we need to pass -no-pie option to avoid linking errors for tests. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei
(cherry picked from FBD28360045)
show more ...
|
#
94653797 |
| 04-May-2021 |
Amir Ayupov <aaupov@fb.com> |
Rebase: [BOLT][NFC] Avoid binutils in tests
Summary: Replace binutils tools with llvm tools
(cherry picked from FBD29575630)
|
#
0ec91a25 |
| 17-Feb-2021 |
Alexander Yermolovich <ayermolo@fb.com> |
Update DW_AT_stmt_list for .debug_types
Summary: There is no real link between CU and TU, so relying on fact that address are the same, and we are updating all of them.
(cherry picked from FBD28112
Update DW_AT_stmt_list for .debug_types
Summary: There is no real link between CU and TU, so relying on fact that address are the same, and we are updating all of them.
(cherry picked from FBD28112114)
show more ...
|
#
1c5d3a05 |
| 02-Dec-2020 |
Amir Ayupov <aaupov@fb.com> |
Rebase: Merge BOLT codebase in monorepo
Summary: This commit is the first step in rebasing all of BOLT history in the LLVM monorepo. It also solves trivial build issues by updating BOLT codebase to
Rebase: Merge BOLT codebase in monorepo
Summary: This commit is the first step in rebasing all of BOLT history in the LLVM monorepo. It also solves trivial build issues by updating BOLT codebase to use current LLVM. There is still work left in rebasing some BOLT features and in making sure everything is working as intended.
History has been rewritten to put BOLT in the /bolt folder, as opposed to /tools/llvm-bolt.
(cherry picked from FBD33289252)
show more ...
|
#
dc48354f |
| 06-Nov-2020 |
Amir Ayupov <aaupov@fb.com> |
processInterproceduralReferences: record references to cold fragments as entry points
Summary: For interprocedural references to fragments, record them as fragment entry points. Not registering thes
processInterproceduralReferences: record references to cold fragments as entry points
Summary: For interprocedural references to fragments, record them as fragment entry points. Not registering these entry points leads to UCE removing the blocks and "Undefined temporary symbol" assertion.
(cherry picked from FBD24511281)
show more ...
|
#
340da8f2 |
| 19-Feb-2020 |
Rafael Auler <rafaelauler@fb.com> |
[BOLT] Fix shrink wrapping to check pops
Summary: Shrink wrapping has a mode where it will directly move push pop pairs, instead of replacing them with stores/loads. This is an ambitious mode that i
[BOLT] Fix shrink wrapping to check pops
Summary: Shrink wrapping has a mode where it will directly move push pop pairs, instead of replacing them with stores/loads. This is an ambitious mode that is triggered sometimes, but whenever matching with a push, it would operate with the assumption that the restoring instruction was a pop, not a load, otherwise it would assert. Fix this assertion to bail nicely back to non-pushpop mode (use regular store and load instructions).
(cherry picked from FBD20085905)
show more ...
|
#
8f717dd2 |
| 22-Jun-2018 |
Rafael Auler <rafaelauler@fb.com> |
[BOLT] Add initial bolt-only test infra
Summary: Create folders and setup to make LIT run BOLT-only tests. Add a test example. This will add a new make/ninja rule "check-bolt" that the user can invo
[BOLT] Add initial bolt-only test infra
Summary: Create folders and setup to make LIT run BOLT-only tests. Add a test example. This will add a new make/ninja rule "check-bolt" that the user can invoke to run LIT on this folder.
(cherry picked from FBD8595786)
show more ...
|