[llvm-branch-commits] [BOLT] Support pre-aggregated returns (PR #143296)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/143296 perf can preserve branch type when `save_type` is enabled. This information is especially valuable for branches from outside the binary when BOLT can't disassemble the branch source. This patch adds new pre-aggre

[llvm-branch-commits] [BOLT] Explicitly check for returns when extending call continuation profile (PR #143295)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/143295 Call continuation logic relies on assumptions about fall-through origin: - the branch is external to the function, - fall-through start is at the beginning of the block, - the block is not an entry point or a land

[llvm-branch-commits] [BOLT][NFCI] Simplify DataAggregator using traces (PR #143289)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/143289 ___ 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][NFCI] Skip validation in parseLBRSample (PR #143288)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/143288 >From 6dca3b5790ee84eef5ba7455b32bb0541c970543 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Sat, 7 Jun 2025 14:53:52 -0700 Subject: [PATCH 1/2] check TraceBF Created using spr 1.3.4 --- bolt/lib/Profile/Dat

[llvm-branch-commits] [llvm] [BOLT][NFCI] Skip validation in parseLBRSample (PR #143288)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/143288 ___ 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] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-07 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/143209 ___ 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] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-07 Thread Petr Hosek via llvm-branch-commits
@@ -0,0 +1,26 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/index.json + +static void myFunction() {} + +void noExceptFunction() noexcept {} + +inline void inlineFunction() {} +

[llvm-branch-commits] [BOLT][NFCI] Simplify DataAggregator using traces (PR #143289)

2025-06-07 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 HEAD~1 HEAD --extensions cpp,h -- bolt/include/bolt/Profile/BoltAddressTranslation.h

[llvm-branch-commits] [BOLT][NFCI] Simplify DataAggregator using traces (PR #143289)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/143289 Consistently apply traces as defined in #127125 for branch profile aggregation. This combines branches and fall-through records into one. Test Plan: NFC ___ llvm-bra

[llvm-branch-commits] [llvm] [BOLT][NFCI] Skip validation in parseLBRSample (PR #143288)

2025-06-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes Parsed branches and fall-throughs are validated in `doBranch` and `doTrace` respectively. Simplify parseLBRSample by omitting the validation. This also speeds up perf data processing as checks are only done once

[llvm-branch-commits] [llvm] [BOLT][NFCI] Skip validation in parseLBRSample (PR #143288)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov ready_for_review https://github.com/llvm/llvm-project/pull/143288 ___ 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][NFCI] Skip validation in parseLBRSample (PR #143288)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/143288 >From 6dca3b5790ee84eef5ba7455b32bb0541c970543 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Sat, 7 Jun 2025 14:53:52 -0700 Subject: [PATCH] check TraceBF Created using spr 1.3.4 --- bolt/lib/Profile/DataAgg

[llvm-branch-commits] [BOLT][NFCI] Skip validation in parseLBRSample (PR #143288)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/143288 Parsed branches and fall-throughs are validated in `doBranch` and `doTrace` respectively. Simplify parseLBRSample by omitting the validation. This also speeds up perf data processing as checks are only done once f

[llvm-branch-commits] [BOLT][NFC] Move LBREntry from DataReader to DataAggregator (PR #143287)

2025-06-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes LBREntry is only used in DataAggregator. Test Plan: NFC --- Full diff: https://github.com/llvm/llvm-project/pull/143287.diff 3 Files Affected: - (modified) bolt/include/bolt/Profile/DataAggregator.h (+13-1)

[llvm-branch-commits] [BOLT][NFC] Move LBREntry from DataReader to DataAggregator (PR #143287)

2025-06-07 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/143287 LBREntry is only used in DataAggregator. Test Plan: NFC ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[llvm-branch-commits] [libcxx] [libcxx] Include __fwd/span.h in (PR #142925)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142925 >From 357a155d005c20fc10206d046c9b7c010626d9e3 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 08:42:55 + Subject: [PATCH 1/2] formatting Created using spr 1.3.4 --- libcxx/inclu

[llvm-branch-commits] [CI] Explicitly compute needed runtime targets (PR #142695)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142695 ___ 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] [CI] Use LLVM_ENABLE_RUNTIMES for runtimes builds on Linux (PR #142694)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142694 ___ 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] [libcxx] [libcxx] Include __fwd/span.h in (PR #142925)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
@@ -451,6 +451,7 @@ namespace std { # if _LIBCPP_STD_VER >= 23 #include <__fwd/mdspan.h> +#include <__fwd/span.h> boomanaiden154 wrote: Filed the LWG issue (4275) and added a comment. https://github.com/llvm/llvm-project/pull/142925

[llvm-branch-commits] [llvm] [CI] Migrate to runtimes build (PR #142696)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142696 >From 360e723b51ee201603f72b56859cd7c6d6faec24 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 06:51:37 + Subject: [PATCH 1/2] feedback Created using spr 1.3.4 --- .ci/compute_pr

[llvm-branch-commits] [llvm] [CI] Migrate to runtimes build (PR #142696)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142696 >From 360e723b51ee201603f72b56859cd7c6d6faec24 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 06:51:37 + Subject: [PATCH 1/2] feedback Created using spr 1.3.4 --- .ci/compute_pr

[llvm-branch-commits] [CI] Explicitly compute needed runtime targets (PR #142695)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142695 ___ 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] [CI] Use LLVM_ENABLE_RUNTIMES for runtimes builds on Linux (PR #142694)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142694 ___ 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] [CI] Use LLVM_ENABLE_RUNTIMES for runtimes builds on Linux (PR #142694)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142694 ___ 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] [CI] Use LLVM_ENABLE_RUNTIMES for runtimes builds on Linux (PR #142694)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142694 ___ 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] [CI] Migrate to runtimes build (PR #142696)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142696 >From 360e723b51ee201603f72b56859cd7c6d6faec24 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 06:51:37 + Subject: [PATCH 1/2] feedback Created using spr 1.3.4 --- .ci/compute_pr

[llvm-branch-commits] [llvm] [CI] Migrate to runtimes build (PR #142696)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142696 >From 360e723b51ee201603f72b56859cd7c6d6faec24 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 06:51:37 + Subject: [PATCH 1/2] feedback Created using spr 1.3.4 --- .ci/compute_pr

[llvm-branch-commits] [CI] Explicitly compute needed runtime targets (PR #142695)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142695 ___ 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] [libcxx] [libcxx] Include __fwd/span.h in (PR #142925)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142925 >From 357a155d005c20fc10206d046c9b7c010626d9e3 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 08:42:55 + Subject: [PATCH] formatting Created using spr 1.3.4 --- libcxx/include/m

[llvm-branch-commits] [CI] Explicitly compute needed runtime targets (PR #142695)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142695 ___ 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] [libcxx] [libcxx] Include __fwd/span.h in (PR #142925)

2025-06-07 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142925 >From 357a155d005c20fc10206d046c9b7c010626d9e3 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 08:42:55 + Subject: [PATCH] formatting Created using spr 1.3.4 --- libcxx/include/m