[llvm-branch-commits] [llvm] [LoongArch] Custom legalizing build_vector with same constant elements (PR #150584)

2025-07-25 Thread Lu Weining via llvm-branch-commits
@@ -613,9 +595,10 @@ define void @buildvector_v2f64_with_constant(ptr %dst, double %a0) nounwind { ; CHECK-LABEL: buildvector_v2f64_with_constant: ; CHECK: # %bb.0: # %entry ; CHECK-NEXT:# kill: def $f0_64 killed $f0_64 def $vr0 -; CHECK-NEXT:vldi $vr1, -1024 -;

[llvm-branch-commits] [llvm] [LoongArch] Custom legalizing build_vector with same constant elements (PR #150584)

2025-07-25 Thread Lu Weining via llvm-branch-commits
@@ -2495,26 +2492,47 @@ SDValue LoongArchTargetLowering::lowerBUILD_VECTOR(SDValue Op, if (DAG.isSplatValue(Op, /*AllowUndefs=*/false)) return Op; - if (!isConstantBUILD_VECTOR(Node)) { + for (unsigned i = 0; i < NumElts; ++i) { +SDValue Opi = Node->getOperand(i);

[llvm-branch-commits] [llvm] 5972f29 - Revert "MC: Allocate initial fragment and define section symbol in changeSection"

2025-07-25 Thread via llvm-branch-commits
Author: dyung Date: 2025-07-25T19:59:08-07:00 New Revision: 5972f29670b2d45c35814267366d81390eea1dfb URL: https://github.com/llvm/llvm-project/commit/5972f29670b2d45c35814267366d81390eea1dfb DIFF: https://github.com/llvm/llvm-project/commit/5972f29670b2d45c35814267366d81390eea1dfb.diff LOG: Re

[llvm-branch-commits] [llvm] Mips: Add frexp intrinsic test (PR #148677)

2025-07-25 Thread Daniel Sanders via llvm-branch-commits
@@ -0,0 +1,676 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 +; RUN: llc -mtriple=mipsel < %s | FileCheck -check-prefix=MIPSEL %s +; RUN: llc -mtriple=mips < %s | FileCheck %s -check-prefixes=SOFT-FLOAT-32 +; RUN: llc -mtr

[llvm-branch-commits] [llvm] Mips: Add frexp intrinsic test (PR #148677)

2025-07-25 Thread Daniel Sanders via llvm-branch-commits
https://github.com/dsandersllvm approved this pull request. I don't have a means to confirm this is correct anymore but this LGTM based on my recollection and the function prototype https://github.com/llvm/llvm-project/pull/148677 ___ llvm-branch-comm

[llvm-branch-commits] [llvm] Mips: Add frexp intrinsic test (PR #148677)

2025-07-25 Thread Daniel Sanders via llvm-branch-commits
https://github.com/dsandersllvm edited https://github.com/llvm/llvm-project/pull/148677 ___ 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] [NFCI][ELF][Mips] Refactor MipsGotSection to avoid explicit writes (PR #150730)

2025-07-25 Thread Jessica Clarke via llvm-branch-commits
@@ -1055,74 +1059,122 @@ void MipsGotSection::build() { ctx.symAux.back().gotIdx = p.second; } - // Create dynamic relocations. + // Create relocations. + // + // NB: GOT 'page address' entries have their VAs handled in writeTo as they + // reference an OutputSectio

[llvm-branch-commits] [NFCI][ELF][Mips] Refactor MipsGotSection to avoid explicit writes (PR #150730)

2025-07-25 Thread Jessica Clarke via llvm-branch-commits
jrtc27 wrote: The current code is quite crusty and divergent from non-MIPS in API use, but fixing it up like this is quite high-risk, especially given how weird the MIPS GOT is when it comes to the required initial memory state. Is anyone using LLD for MIPS these days who can test this in a wi

[llvm-branch-commits] [NFCI][ELF][Mips] Refactor MipsGotSection to avoid explicit writes (PR #150730)

2025-07-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-elf Author: Jessica Clarke (jrtc27) Changes Splitting the VA / addend calculations between build and writeTo means having to keep them in sync and duplicating some of the logic. For everything except "page address" relocations, move all such calculat

[llvm-branch-commits] [NFCI][ELF][Mips] Refactor MipsGotSection to avoid explicit writes (PR #150730)

2025-07-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld Author: Jessica Clarke (jrtc27) Changes Splitting the VA / addend calculations between build and writeTo means having to keep them in sync and duplicating some of the logic. For everything except "page address" relocations, move all such calculations

[llvm-branch-commits] [NFCI][ELF][Mips] Refactor MipsGotSection to avoid explicit writes (PR #150730)

2025-07-25 Thread Jessica Clarke via llvm-branch-commits
https://github.com/jrtc27 created https://github.com/llvm/llvm-project/pull/150730 Splitting the VA / addend calculations between build and writeTo means having to keep them in sync and duplicating some of the logic. For everything except "page address" relocations, move all such calculations in

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/150628 >From 4a0016603595dd351dceeb7a5d38f9f7b6fdd88d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 25 Jul 2025 23:21:34 +0900 Subject: [PATCH] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 ---

[llvm-branch-commits] [llvm] Mips: Add frexp intrinsic test (PR #148677)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ping https://github.com/llvm/llvm-project/pull/148677 ___ 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] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/150627 >From 4ee7be550e1afda175dedaaa79173ab6ad85a00a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 25 Jul 2025 23:48:26 +0900 Subject: [PATCH] AMDGPU: Add a few mfma test with immediate splat src2 --- llvm

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/150628 >From 8ccb289cf870db110951a900ed3342ad97af24e7 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 25 Jul 2025 23:21:34 +0900 Subject: [PATCH] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 ---

[llvm-branch-commits] [llvm] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/150627 >From 4ee7be550e1afda175dedaaa79173ab6ad85a00a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 25 Jul 2025 23:48:26 +0900 Subject: [PATCH] AMDGPU: Add a few mfma test with immediate splat src2 --- llvm

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/150628 >From 8ccb289cf870db110951a900ed3342ad97af24e7 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 25 Jul 2025 23:21:34 +0900 Subject: [PATCH] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 ---

[llvm-branch-commits] [libc] [libc] Modular printf option (float only) (PR #147426)

2025-07-25 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: @mysterymath In case you're unaware, the CI Checks workflow is failing/stuck queuing because these PRs haven't been rebased in the past couple weeks. We made some changes that require updates from the workflow definitions in `main`. Normally these things get autopropagate

[llvm-branch-commits] [lld] release/20.x: Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-25 Thread Martin Storsjö via llvm-branch-commits
mstorsjo wrote: I think this one should be closed; there's probably no more 20.x releases planned now? https://github.com/llvm/llvm-project/pull/146699 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add throws comments to comment template (PR #150649)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
@@ -126,6 +138,15 @@ static Object serializeComment(const CommentInfo &I, Object &Description) { auto TextCommentsArray = extractTextComments(CARef.front().getAsObject()); if (I.Name == "brief") insertComment(Description, TextCommentsArray, "BriefComments"); +

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add throws comments to comment template (PR #150649)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
@@ -126,6 +138,15 @@ static Object serializeComment(const CommentInfo &I, Object &Description) { auto TextCommentsArray = extractTextComments(CARef.front().getAsObject()); if (I.Name == "brief") insertComment(Description, TextCommentsArray, "BriefComments"); +

[llvm-branch-commits] [llvm] TableGen: Emit perfect hash function for runtime libcalls (PR #150192)

2025-07-25 Thread Vladimir Vereschaka via llvm-branch-commits
vvereschaka wrote: > @vvereschaka That issue only needs the change to the sort predicate, not this > whole PR. got it, @arsenm is it possible to create a separate PR to fix the test failure? It could taka a lot of time for this PR to get merged. Thank you. https://github.com/llvm/llvm-project/

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add option to delete JSON residuals (PR #150656)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
ilovepi wrote: > It'd be nice to have a test for this but I'm not sure how to check for the > existence of something after a LIT test is done. Why not just another `RUN` line? https://github.com/llvm/llvm-project/pull/150656 ___ llvm-branch-commits m

[llvm-branch-commits] [llvm] release/21.x: [CodeGenPrepare] Make sure that `AddOffset` is also a loop invariant (#150625) (PR #150646)

2025-07-25 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/150646 ___ 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] TableGen: Emit perfect hash function for runtime libcalls (PR #150192)

2025-07-25 Thread Nikita Popov via llvm-branch-commits
nikic wrote: @vvereschaka That issue only needs the change to the sort predicate, not this whole PR. https://github.com/llvm/llvm-project/pull/150192 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[llvm-branch-commits] [llvm] 7a76c0f - Revert "Adjust LDBG output: surround DebugType between `[` and `]` (#150671)"

2025-07-25 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2025-07-25T21:24:44+02:00 New Revision: 7a76c0f74365133035cd028fa25cf4c32db8a4a9 URL: https://github.com/llvm/llvm-project/commit/7a76c0f74365133035cd028fa25cf4c32db8a4a9 DIFF: https://github.com/llvm/llvm-project/commit/7a76c0f74365133035cd028fa25cf4c32db8a4a9.diff L

[llvm-branch-commits] [libcxx] Enable installing new runner binary on existing container (PR #148073)

2025-07-25 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/148073 ___ 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] Enable installing new runner binary on existing container (PR #148073)

2025-07-25 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/148073 ___ 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] [llvm] [DirectX] Add Range Overlap validation to `DXILPostOptimizationValidation.cpp` (PR #148919)

2025-07-25 Thread Chris B via llvm-branch-commits
@@ -295,6 +297,105 @@ getRootSignature(RootSignatureBindingInfo &RSBI, return RootSigDesc; } +static void +reportOverlappingRegisters(Module &M, + llvm::hlsl::rootsig::OverlappingRanges Overlap) { + const llvm::hlsl::rootsig::RangeInfo *Info = Over

[llvm-branch-commits] [mlir] 410d9d0 - Revert "[mlir][linalg] Restrict linalg.pack to not have artificial padding. (…"

2025-07-25 Thread via llvm-branch-commits
Author: Han-Chung Wang Date: 2025-07-25T11:26:37-07:00 New Revision: 410d9d069eeeb8a09f98a4b576b1d7d99db1b9b9 URL: https://github.com/llvm/llvm-project/commit/410d9d069eeeb8a09f98a4b576b1d7d99db1b9b9 DIFF: https://github.com/llvm/llvm-project/commit/410d9d069eeeb8a09f98a4b576b1d7d99db1b9b9.diff

[llvm-branch-commits] [llvm] TableGen: Emit perfect hash function for runtime libcalls (PR #150192)

2025-07-25 Thread Vladimir Vereschaka via llvm-branch-commits
vvereschaka wrote: Sorry, wasn't clear. This PR should fix the broken `RuntimeLibcallEmitter.td` test on the expensive check builders. The problem remains there for almost a week and it would be good to fix it. Because of it i'm trying to understand when this PR will be merged. https://github

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add throws comments to comment template (PR #150649)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150649 >From eb95d560a94f49531ad98389184036726494a016 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 24 Jul 2025 22:10:51 -0700 Subject: [PATCH] [clang-doc] add throws comments to comment template Serialize thr

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add code comments to comment template (PR #150648)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150648 >From 2101340494a046e3472d7a6d2cf08b23416b84cc Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Wed, 23 Jul 2025 12:49:01 -0700 Subject: [PATCH 1/2] [clang-doc] precommit code comments --- .../test/clang-doc/b

[llvm-branch-commits] [clang] [llvm] [DirectX] Add Range Overlap validation to `DXILPostOptimizationValidation.cpp` (PR #148919)

2025-07-25 Thread Chris B via llvm-branch-commits
@@ -295,6 +297,105 @@ getRootSignature(RootSignatureBindingInfo &RSBI, return RootSigDesc; } +static void +reportOverlappingRegisters(Module &M, + llvm::hlsl::rootsig::OverlappingRanges Overlap) { + const llvm::hlsl::rootsig::RangeInfo *Info = Over

[llvm-branch-commits] [llvm] TableGen: Emit perfect hash function for runtime libcalls (PR #150192)

2025-07-25 Thread Eli Friedman via llvm-branch-commits
efriedma-quic wrote: > ping > > (https://lab.llvm.org/buildbot/#/builders/187/builds/8516) Did you mean to put this comment somewhere else? This isn't merged. https://github.com/llvm/llvm-project/pull/150192 ___ llvm-branch-commits mailing list llvm

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add code comments to comment template (PR #150648)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150648 >From 7e9e93756afed954591f970a919f474639b327ec Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Wed, 23 Jul 2025 12:49:01 -0700 Subject: [PATCH 1/2] [clang-doc] precommit code comments --- .../test/clang-doc/b

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add return comments to comment template (PR #150647)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150647 >From 6ca79fa19e505b36bc76a0bd2f062db1e0161b4a Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Wed, 23 Jul 2025 11:25:05 -0700 Subject: [PATCH 1/2] [clang-doc] precommit return comments test --- .../clang-doc

[llvm-branch-commits] [llvm] TableGen: Emit perfect hash function for runtime libcalls (PR #150192)

2025-07-25 Thread Vladimir Vereschaka via llvm-branch-commits
vvereschaka wrote: ping (https://lab.llvm.org/buildbot/#/builders/187/builds/8516) https://github.com/llvm/llvm-project/pull/150192 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add throws comments to comment template (PR #150649)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/150649 ___ 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 option to delete JSON residuals (PR #150656)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
@@ -41,8 +41,8 @@ getClangDocContext(std::vector UserStylesheets = {}, StringRef RepositoryUrl = "", StringRef RepositoryLinePrefix = "", StringRef Base = "") { ClangDocContext CDCtx{ - {}, "test-project", {}, {}, {}, RepositoryUr

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add option to delete JSON residuals (PR #150656)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
@@ -481,9 +481,9 @@ ClangDocContext::ClangDocContext(tooling::ExecutionContext *ECtx, StringRef RepositoryUrl, StringRef RepositoryLinePrefix, StringRef Base, std::vector UserSt

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add throws comments to comment template (PR #150649)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150649 >From e736a45c736753ef6b2643bab71bcc818d49a368 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 24 Jul 2025 22:10:51 -0700 Subject: [PATCH] [clang-doc] add throws comments to comment template Serialize thr

[llvm-branch-commits] [llvm] a413ff2 - Revert "fix: replace report_fatal_error with Diags and exit (#147959)"

2025-07-25 Thread via llvm-branch-commits
Author: Aaron Ballman Date: 2025-07-25T13:23:38-04:00 New Revision: a413ff23ce599eb42a537460c3e240dfd58b87fd URL: https://github.com/llvm/llvm-project/commit/a413ff23ce599eb42a537460c3e240dfd58b87fd DIFF: https://github.com/llvm/llvm-project/commit/a413ff23ce599eb42a537460c3e240dfd58b87fd.diff

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add throws comments to comment template (PR #150649)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 unassigned https://github.com/llvm/llvm-project/pull/150649 ___ 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 throws comments to comment template (PR #150649)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 unassigned https://github.com/llvm/llvm-project/pull/150649 ___ 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] release/21.x: [libc++][hardening] Add an experimental function to log hardening errors (#149452) (PR #150481)

2025-07-25 Thread Louis Dionne via llvm-branch-commits
ldionne wrote: The rationale for cherry-picking this "feature" into the release is that we want to gain experience with this and be able to ship a robust version of this in the next release, non-experimentally. https://github.com/llvm/llvm-project/pull/150481 __

[llvm-branch-commits] [libcxx] release/21.x: [libc++][hardening] Add an experimental function to log hardening errors (#149452) (PR #150481)

2025-07-25 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne approved this pull request. https://github.com/llvm/llvm-project/pull/150481 ___ 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 throws comments to comment template (PR #150649)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 converted_to_draft https://github.com/llvm/llvm-project/pull/150649 ___ 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 option to delete JSON residuals (PR #150656)

2025-07-25 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: It'd be nice to have a test for this but I'm not sure how to check for the existence of something after a LIT test is done. https://github.com/llvm/llvm-project/pull/150656 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add option to delete JSON residuals (PR #150656)

2025-07-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Erick Velez (evelez7) Changes This new option defaults to delete the json dir after HTML generation. --- Full diff: https://github.com/llvm/llvm-project/pull/150656.diff 6 Files Affected: - (modified) clang-tools-extra/clang

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add option to delete JSON residuals (PR #150656)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/150656 ___ 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 option to delete JSON residuals (PR #150656)

2025-07-25 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/150656?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add option to delete JSON residuals (PR #150656)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/150656 This new option defaults to delete the json dir after HTML generation. >From 640a774fcac11e11e4e8768ddfae0380d6e14b39 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 24 Jul 2025 20:51:32 -0700 Subject: [P

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add code comments to comment template (PR #150648)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. https://github.com/llvm/llvm-project/pull/150648 ___ 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 return comments to comment template (PR #150647)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. https://github.com/llvm/llvm-project/pull/150647 ___ 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 param comments to comment template (PR #150571)

2025-07-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. https://github.com/llvm/llvm-project/pull/150571 ___ 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] [AMDGPU][gfx1250] Add `cu-store` subtarget feature (PR #150588)

2025-07-25 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. https://github.com/llvm/llvm-project/pull/150588 ___ 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] [AMDGPU][gfx12] Clean-up implementation of waits before SCOPE_SYS stores (PR #150587)

2025-07-25 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. https://github.com/llvm/llvm-project/pull/150587 ___ 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 code comments to comment template (PR #150648)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/150648 ___ 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 return comments to comment template (PR #150647)

2025-07-25 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/150647 ___ 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] release/21.x: [CodeGenPrepare] Make sure that `AddOffset` is also a loop invariant (#150625) (PR #150646)

2025-07-25 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/150646 ___ 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] release/21.x: [CodeGenPrepare] Make sure that `AddOffset` is also a loop invariant (#150625) (PR #150646)

2025-07-25 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/150646 Backport 2d0ca09305fcece75e2c501f1ec74aa6eada69a0 Requested by: @dtcxzyw >From 15fbe94cc3389b0fa8c820d06d83c42333b53631 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Sat, 26 Jul 2025 00:23:56 +0800 Subjec

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: I suspect this regressed in 36018494fdb9e92e0f61f6937e5ecd3a4472677f and just didn't have tests, so perhaps this should go to the release branch https://github.com/llvm/llvm-project/pull/150628 ___ llvm-branch-commits mailing list llvm-

[llvm-branch-commits] [lldb] [llvm] release/21.x: [LLDB] Update release note about DIL as requested. (#149117) (PR #150600)

2025-07-25 Thread Jonas Devlieghere via llvm-branch-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/150600 ___ 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] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Jul 25, 4:01 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/150628). https://github.com/llvm/llvm-project/pull/150628 _

[llvm-branch-commits] [llvm] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Jul 25, 4:01 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/150627). https://github.com/llvm/llvm-project/pull/150627 _

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/150628 ___ 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] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/150627 ___ 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] Remove ccache from Linux CI Container (PR #149197)

2025-07-25 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/149197 >From 7c3030a3b6da3ef8a48acfe0031a7c2ed348499a Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 17 Jul 2025 14:50:26 + Subject: [PATCH] feedback Created using spr 1.3.4 --- .github/workflows

[llvm-branch-commits] [llvm] [CI] Remove ccache from Linux CI Container (PR #149197)

2025-07-25 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/149197 >From 7c3030a3b6da3ef8a48acfe0031a7c2ed348499a Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 17 Jul 2025 14:50:26 + Subject: [PATCH] feedback Created using spr 1.3.4 --- .github/workflows

[llvm-branch-commits] [llvm] 8d4fde5 - Revert "Reapply [BranchFolding] Kill common hoisted debug instructions (#149999)"

2025-07-25 Thread via llvm-branch-commits
Author: Orlando Cazalet-Hyams Date: 2025-07-25T16:22:25+01:00 New Revision: 8d4fde51caeadb8696eecd2f8c50db0121379420 URL: https://github.com/llvm/llvm-project/commit/8d4fde51caeadb8696eecd2f8c50db0121379420 DIFF: https://github.com/llvm/llvm-project/commit/8d4fde51caeadb8696eecd2f8c50db01213794

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Patch is 20.86 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/150628.diff 3 Files Affected: - (modified) llvm/lib/Target/AMDGPU/SIFoldOperands.c

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/150628 ___ 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] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/150627 ___ 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] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/150627.diff 1 Files Affected: - (modified) llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.ll (+347) ``diff diff --git a/llvm/test/C

[llvm-branch-commits] [llvm] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/150627?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/150628?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Fix not folding splat immediate into VGPR MFMA src2 (PR #150628)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/150628 None >From 3c67b08d7533ed3977c5473aaebf0c281f3d7907 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 25 Jul 2025 23:21:34 +0900 Subject: [PATCH] AMDGPU: Fix not folding splat immediate into VGPR MFMA src

[llvm-branch-commits] [llvm] AMDGPU: Add a few mfma test with immediate splat src2 (PR #150627)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/150627 None >From ad766da7a00a2d270b80d74880b412817b2d1c23 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 25 Jul 2025 23:48:26 +0900 Subject: [PATCH] AMDGPU: Add a few mfma test with immediate splat src2 ---

[llvm-branch-commits] [BOLT][NFC] Register profiled functions once (PR #150623)

2025-07-25 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov closed https://github.com/llvm/llvm-project/pull/150623 ___ 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] [BOLT][NFC] Register profiled functions once (PR #150623)

2025-07-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes While registering profiled functions, only handle each address once. Speeds up `DataAggregator::preprocessProfile`. Test Plan: For intermediate size pre-aggregated profile (10MB), reduces parsing time from ~0.41

[llvm-branch-commits] [BOLT][NFC] Register profiled functions once (PR #150622)

2025-07-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes While registering profiled functions, only handle each address once. Speeds up `DataAggregator::preprocessProfile`. Test Plan: For intermediate size pre-aggregated profile (10MB), reduces parsing time from ~0.41

[llvm-branch-commits] [BOLT][NFC] Register profiled functions once (PR #150623)

2025-07-25 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/150623 While registering profiled functions, only handle each address once. Speeds up `DataAggregator::preprocessProfile`. Test Plan: For intermediate size pre-aggregated profile (10MB), reduces parsing time from ~0.41s

[llvm-branch-commits] [BOLT][NFC] Register profiled functions once (PR #150622)

2025-07-25 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/150622 While registering profiled functions, only handle each address once. Speeds up `DataAggregator::preprocessProfile`. Test Plan: For intermediate size pre-aggregated profile (10MB), reduces parsing time from ~0.41s

[llvm-branch-commits] [llvm] [AMDGPU] wip: MIR pretty printing for S_WAITCNT_FENCE_soft (PR #150391)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
@@ -12,10 +12,135 @@ //===--===// #include "AMDGPUMIRFormatter.h" +#include "SIDefines.h" #include "SIMachineFunctionInfo.h" using namespace llvm; +bool parseAtomicOrdering(StringRef Src, unsigned &Orde

[llvm-branch-commits] [llvm] [AMDGPU] wip: MIR pretty printing for S_WAITCNT_FENCE_soft (PR #150391)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
@@ -12,10 +12,135 @@ //===--===// #include "AMDGPUMIRFormatter.h" +#include "SIDefines.h" #include "SIMachineFunctionInfo.h" using namespace llvm; +bool parseAtomicOrdering(StringRef Src, unsigned &Orde

[llvm-branch-commits] [llvm] [AMDGPU] wip: MIR pretty printing for S_WAITCNT_FENCE_soft (PR #150391)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
@@ -12,10 +12,135 @@ //===--===// #include "AMDGPUMIRFormatter.h" +#include "SIDefines.h" #include "SIMachineFunctionInfo.h" using namespace llvm; +bool parseAtomicOrdering(StringRef Src, unsigned &Orde

[llvm-branch-commits] [llvm] [AMDGPU] wip: MIR pretty printing for S_WAITCNT_FENCE_soft (PR #150391)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
@@ -0,0 +1,29 @@ +# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5 arsenm wrote: Mir print / parse belongs in test/CodeGen/MIR https://github.com/llvm/llvm-project/pull/150391 _

[llvm-branch-commits] [clang] [AMDGPU] Add builtins for wave reduction intrinsics (PR #150170)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
@@ -351,6 +351,31 @@ BUILTIN(__builtin_amdgcn_endpgm, "v", "nr") BUILTIN(__builtin_amdgcn_get_fpenv, "WUi", "n") BUILTIN(__builtin_amdgcn_set_fpenv, "vWUi", "n") +//===--===// + +// Wave Reduction builtins. +

[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

2025-07-25 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis edited https://github.com/llvm/llvm-project/pull/148013 ___ 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] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

2025-07-25 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis edited https://github.com/llvm/llvm-project/pull/148013 ___ 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] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

2025-07-25 Thread Paschalis Mpeis via llvm-branch-commits
@@ -370,6 +375,65 @@ PerfReaderBase::create(ProfiledBinary *Binary, PerfInputFile &PerfInput, return PerfReader; } +Error PerfReaderBase::parseDataAccessPerfTraces( +StringRef DataAccessPerfTraceFile, std::optional PIDFilter) { + // A perf_record_sample line is like +

[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

2025-07-25 Thread Paschalis Mpeis via llvm-branch-commits
@@ -370,6 +375,65 @@ PerfReaderBase::create(ProfiledBinary *Binary, PerfInputFile &PerfInput, return PerfReader; } +Error PerfReaderBase::parseDataAccessPerfTraces( +StringRef DataAccessPerfTraceFile, std::optional PIDFilter) { + // A perf_record_sample line is like +

[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

2025-07-25 Thread Paschalis Mpeis via llvm-branch-commits
@@ -1027,6 +1027,20 @@ class FunctionSamples { return VirtualCallsiteTypeCounts[mapIRLocToProfileLoc(Loc)]; } + // At location \p Loc, add a type sample for the given \p Type with paschalis-mpeis wrote: nit: could use triple `///`. https://github.com/

[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

2025-07-25 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis commented: Nice work. Just adding a few nits. > can you add a PIE variant test case too? IIUC any PIE/PIC code is not yet supported, possibly due to the mapping done below? 🤔 https://github.com/llvm/llvm-project/blob/870d957970f19f29e143d0dd0ac2e325612b2188

[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

2025-07-25 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis edited https://github.com/llvm/llvm-project/pull/148013 ___ 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] [AMDGPU][gfx1250] Add `cu-store` subtarget feature (PR #150588)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
@@ -6066,6 +6066,12 @@ bool AMDGPUAsmParser::ParseDirectiveAMDHSAKernel() { ExprVal, ValRange); if (Val) ImpliedUserSGPRCount += 1; +} else if (ID == ".amdhsa_uses_cu_stores") { + if (!isGFX1250()) arsenm wrote: If

[llvm-branch-commits] [llvm] [AMDGPU][gfx1250] Add `cu-store` subtarget feature (PR #150588)

2025-07-25 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh edited https://github.com/llvm/llvm-project/pull/150588 ___ 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] [AMDGPU][gfx1250] Add `cu-store` option (PR #150588)

2025-07-25 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm commented: It's a subtarget feature, not an option https://github.com/llvm/llvm-project/pull/150588 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-

[llvm-branch-commits] [llvm] [BOLT] Require CFG in BAT mode (PR #150488)

2025-07-25 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/150488 >From faf7d914093c87804e9dbca349b1a2bca0aefd18 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Thu, 24 Jul 2025 13:56:18 -0700 Subject: [PATCH 1/2] updated test Created using spr 1.3.4 --- bolt/test/X86/unclai

  1   2   >