[llvm-branch-commits] [llvm] [BOLT] Output YAML profile in BAT mode (PR #76910)

2024-01-03 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff d60db34faa482127779ef0a0103d63e86c4a7025 4d82ba03b6caa5d4d67d9406dcb9cffe694b922f --

[llvm-branch-commits] [llvm] [BOLT][NFC] Pass BF/BB hashes to BAT (PR #76906)

2024-01-03 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 8cf8215c0173bea7908d0641ed3b4360e2756be1 1e2b86ac93cca125c9f93f33ee63bc5497d55935 --

[llvm-branch-commits] [llvm] [BOLT] Deduplicate equal offsets in BAT (PR #76905)

2024-01-03 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff d19c0176523151e10e65538f1e3493c6f01d0b9c 3165055eacc16e2cc21cd150237ac3c7d4505af6 --

[llvm-branch-commits] [llvm] [BOLT] Emit intra-function control flow in YAMLBAT (PR #76911)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76911 Test Plan: Updated bolt/test/X86/bolt-address-translation-yaml.test ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cg

[llvm-branch-commits] [llvm] [BOLT] Output YAML profile in BAT mode (PR #76910)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76910 Relax assumptions that YAML output is not supported in BAT mode. Set up basic infrastructure for emitting YAML for functions not covered by BAT, such as from `.bolt.org.text` section (code identical to input binary

[llvm-branch-commits] [llvm] [BOLT][NFC] Expose YAMLProfileWriter::convert function (PR #76909)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76909 Test Plan: NFC ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][NFC] Const-ify DataAggregator::getLocationName (PR #76908)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76908 Test Plan: NFC ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Write and parse BF/BB hashes in BAT (PR #76907)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76907 This increases BAT section size to: - large binary: 34832976 bytes (0.90x original), - medium binary: 3586800 bytes (0.60x original), - small binary: 816 bytes (0.57x original). Test Plan: Updated bolt/test/X86/bo

[llvm-branch-commits] [llvm] [BOLT][NFC] Pass BF/BB hashes to BAT (PR #76906)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76906 Test Plan: NFC ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Deduplicate equal offsets in BAT (PR #76905)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76905 Encode BRANCHENTRY bits as bitmask for deduplicated entries. Reduces BAT section size: - large binary: to 11834216 bytes (0.31x original), - medium binary: to 1565584 bytes (0.26x original), - small binary: to 336

[llvm-branch-commits] [llvm] [BOLT] Use continuous output addresses in delta encoding in BAT (PR #76904)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76904 Test Plan: Reduces BAT section size to: - large binary: 12218860 bytes (0.32x original), - medium binary: 1606580 bytes (0.27x original), - small binary: 404 bytes (0.28x original), ___

[llvm-branch-commits] [llvm] [BOLT] Embed cold mapping info into function entry in BAT (PR #76903)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76903 Reduces BAT section size: - large binary: to 12283500 bytes (0.32x original size), - medium binary: to 1616020 bytes (0.27x original size), - small binary: to 404 bytes (0.28x original size). Test Plan: Updated bo

[llvm-branch-commits] [llvm] [BOLT] Delta-encode function start addresses in BAT (PR #76902)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76902 Further reduce the size of BAT section: - large binary: to 12716312 bytes (0.33x original), - medium binary: to 1649472 bytes (0.28x original), - small binary: to 428 bytes (0.30x original). Test Plan: Updated bol

[llvm-branch-commits] [llvm] [BOLT] Delta-encode offsets in BAT (PR #76900)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76900 This change further reduces the size of BAT: - large binary: to 13073904 bytes (0.34x original), - medium binary: to 1703116 bytes (0.29x original), - small binary: to 436 bytes (0.30x original). Test Plan: Update

[llvm-branch-commits] [llvm] [BOLT] Encode BAT using ULEB128 (PR #76899)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76899 Reduces BAT section size, bytes: - large binary: 38676872 -> 23262524 (0.60x), - medium binary (trunk clang): 5938004 -> 3213504 (0.54x), - small binary (X86/bolt-address-translation.test): 1436 -> 680 (0.47x). Te

[llvm-branch-commits] [llvm] [BOLT] Add BOLT Address Translation documentation (PR #76898)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76898 Test Plan: Open the page in browser ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bran

[llvm-branch-commits] [llvm] [BOLT] Add CallSiteInfo entries in YAMLBAT (PR #76896)

2024-01-03 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76896 Test Plan: Updated bolt/test/X86/bolt-address-translation-yaml.test ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cg

[llvm-branch-commits] [clang] 687396b - Revert "[Clang][Sema] Diagnose unexpanded packs in the template argument lists of function template specializations (#76677)"

2024-01-03 Thread via llvm-branch-commits
Author: Erich Keane Date: 2024-01-03T15:15:38-08:00 New Revision: 687396b5f4ba0713d103ebd172b308e92eb930cc URL: https://github.com/llvm/llvm-project/commit/687396b5f4ba0713d103ebd172b308e92eb930cc DIFF: https://github.com/llvm/llvm-project/commit/687396b5f4ba0713d103ebd172b308e92eb930cc.diff L

[llvm-branch-commits] [llvm] [compiler-rt] [lldb] [libc] [clang-tools-extra] [libcxxabi] [flang] [libcxx] [clang] [Clangd] Migrate command line options parsing to opttable. (PR #76767)

2024-01-03 Thread Andres Villegas via llvm-branch-commits
=?utf-8?q?Andrés?= Villegas Message-ID: In-Reply-To: https://github.com/avillega updated https://github.com/llvm/llvm-project/pull/76767 >From 787722d1b26003ff5ab4e197ae60874e4a6fbc40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Villegas?= Date: Wed, 3 Jan 2024 00:07:13 + Subje

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/76788 >From c665ef230d082dc6dddbe6707f0ad43fe28d680c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 2 Jan 2024 22:54:35 -0800 Subject: [PATCH 1/2] [llvm-exegesis] Add additional validation counters Th

[llvm-branch-commits] [llvm] [llvm-exegesis] Add support for validation counters (PR #76653)

2024-01-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/76653 >From 76f199f4fc7244c3d972736595c685d7316c5203 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 30 Dec 2023 18:18:12 -0800 Subject: [PATCH 1/5] [llvm-exegesis] Add support for validation counters

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/76788 >From 0c45220a79dcada7e1d0f54490b452e02a2b8e4f Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 2 Jan 2024 22:54:35 -0800 Subject: [PATCH 1/2] [llvm-exegesis] Add additional validation counters Th

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread Aiden Grossman via llvm-branch-commits
@@ -121,7 +121,12 @@ def HaswellPfmCounters : ProcPfmCounters { PfmIssueCounter<"HWPort7", "uops_executed_port:port_7"> ]; let ValidationCounters = [ -PfmValidationCounter +PfmValidationCounter, +PfmValidationCounter, +PfmValidationCounter, +PfmValid

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/76788 >From 0c45220a79dcada7e1d0f54490b452e02a2b8e4f Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 2 Jan 2024 22:54:35 -0800 Subject: [PATCH] [llvm-exegesis] Add additional validation counters This p

[llvm-branch-commits] [llvm] [llvm-exegesis] Add support for validation counters (PR #76653)

2024-01-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/76653 >From 76f199f4fc7244c3d972736595c685d7316c5203 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 30 Dec 2023 18:18:12 -0800 Subject: [PATCH 1/4] [llvm-exegesis] Add support for validation counters

[llvm-branch-commits] [llvm] [clang] [TySan] A Type Sanitizer (Clang) (PR #76260)

2024-01-03 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane commented: The clang changes are ok, but this needs some level of documentation/release notes, which I don't see in the clang release. As this is a part of a larger feature, do we intend to push that later? Also, the clang-format suggestion makes sense. https://

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread Simon Pilgrim via llvm-branch-commits
@@ -121,7 +121,12 @@ def HaswellPfmCounters : ProcPfmCounters { PfmIssueCounter<"HWPort7", "uops_executed_port:port_7"> ]; let ValidationCounters = [ -PfmValidationCounter +PfmValidationCounter, +PfmValidationCounter, +PfmValidationCounter, +PfmValid

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Aiden Grossman (boomanaiden154) Changes This patch adds support for additional types of validation counters and also adds mappings between these new validation counter types and physical counters on the hardware for microarchitectur

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-tools-llvm-exegesis Author: Aiden Grossman (boomanaiden154) Changes This patch adds support for additional types of validation counters and also adds mappings between these new validation counter types and physical counters on the hardware for microarc

[llvm-branch-commits] [llvm] [llvm-exegesis] Add additional validation counters (PR #76788)

2024-01-03 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/76788 This patch adds support for additional types of validation counters and also adds mappings between these new validation counter types and physical counters on the hardware for microarchitectures that I ha