[llvm-branch-commits] [llvm] Reland "RegisterCoalescer: Add implicit-def of super register when coalescing SUBREG_TO_REG" (PR #134408)

2025-07-24 Thread Sander de Smalen via llvm-branch-commits
sdesmalen-arm wrote: Gentle ping @arsenm and @qcolombet I know that @arsenm is in favour of moving away from `SUBREG_TO_REG` entirely, but at the moment it is still used in many places by multiple targets and this PR fixes a genuine bug that is exposed with sub-reg liveness tracking. https:/

[llvm-branch-commits] [llvm] release/21.x: [AArch64, TTI] Disable RealUse check for vector insert/extract costs and Apple CPUs. (#146526) (PR #149815)

2025-07-24 Thread David Green via llvm-branch-commits
https://github.com/davemgreen approved this pull request. Thanks. The commit message could now do with an adjustment. Otherwise LGTM. https://github.com/llvm/llvm-project/pull/149815 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.o

[llvm-branch-commits] [llvm] [AMDGPU][NPM] Add isRequired to passes missing it (PR #148115)

2025-07-24 Thread Vikram Hegde via llvm-branch-commits
https://github.com/vikramRH updated https://github.com/llvm/llvm-project/pull/148115 >From fe653178dc8c6cfd0929d5ca5dc7c16e224c696a Mon Sep 17 00:00:00 2001 From: vikhegde Date: Thu, 10 Jul 2025 18:53:39 +0530 Subject: [PATCH] [AMDGPU][NPM] Add isRequired to passes missing it --- llvm/include

[llvm-branch-commits] [llvm] [AMDGPU][NPM] Add isRequired to passes missing it (PR #148115)

2025-07-24 Thread Vikram Hegde via llvm-branch-commits
https://github.com/vikramRH updated https://github.com/llvm/llvm-project/pull/148115 >From fe653178dc8c6cfd0929d5ca5dc7c16e224c696a Mon Sep 17 00:00:00 2001 From: vikhegde Date: Thu, 10 Jul 2025 18:53:39 +0530 Subject: [PATCH] [AMDGPU][NPM] Add isRequired to passes missing it --- llvm/include

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

2025-07-24 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/148919 >From 831dc1cab2662151e0c4a95883f6fb73afc595d4 Mon Sep 17 00:00:00 2001 From: joaosaffran Date: Tue, 15 Jul 2025 01:59:47 + Subject: [PATCH 1/6] adding validation --- .../DXILPostOptimizationValidation

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

2025-07-24 Thread via llvm-branch-commits
@@ -0,0 +1,15 @@ +; RUN: not opt -S -passes='dxil-post-optimization-validation' -mtriple=dxil-pc-shadermodel6.6-compute %s 2>&1 | FileCheck %s +; CHECK: error: register CBuffer (space=0, register=0) is overlapping with register CBuffer (space=0, register=2), verify your root sig

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

2025-07-24 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/148919 >From 831dc1cab2662151e0c4a95883f6fb73afc595d4 Mon Sep 17 00:00:00 2001 From: joaosaffran Date: Tue, 15 Jul 2025 01:59:47 + Subject: [PATCH 1/7] adding validation --- .../DXILPostOptimizationValidation

[llvm-branch-commits] [llvm] ecd793c - [AMDGPU] Add v_fma_mix_f32_f16 as an alias of v_fma_mix_f32 on gfx1250 (#150502)

2025-07-24 Thread via llvm-branch-commits
Author: Changpeng Fang Date: 2025-07-24T12:42:30-07:00 New Revision: ecd793cbb1888507850b806699e97fc978d15dd7 URL: https://github.com/llvm/llvm-project/commit/ecd793cbb1888507850b806699e97fc978d15dd7 DIFF: https://github.com/llvm/llvm-project/commit/ecd793cbb1888507850b806699e97fc978d15dd7.diff

[llvm-branch-commits] [clang-tools-extra] d69ea93 - Merge branch 'main' into revert-143441-atomic-control-frontend

2025-07-24 Thread via llvm-branch-commits
Author: Kiran Chandramohan Date: 2025-07-24T20:43:47+01:00 New Revision: d69ea933c6f243a17d37609d4ac29712dd0b20c6 URL: https://github.com/llvm/llvm-project/commit/d69ea933c6f243a17d37609d4ac29712dd0b20c6 DIFF: https://github.com/llvm/llvm-project/commit/d69ea933c6f243a17d37609d4ac29712dd0b20c6.

[llvm-branch-commits] [llvm] Fix FileCheck prefix in the histogram test. (PR #150506)

2025-07-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-pgo Author: Snehasish Kumar (snehasish) Changes The test is fine though it seems the checks weren't being enforced because of the typo. --- Full diff: https://github.com/llvm/llvm-project/pull/150506.diff 1 Files Affected: - (modified) llvm/test/too

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

2025-07-24 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/150488 ___ 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] Require CFG in BAT mode (PR #150488)

2025-07-24 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/150488 ___ 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] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)

2025-07-24 Thread Joel E. Denny via llvm-branch-commits
https://github.com/jdenny-ornl edited https://github.com/llvm/llvm-project/pull/128785 ___ 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] generate comments for functions (PR #150468)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150468 >From b388252f5857e5004cfd26ab05037f13df66657b Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Fri, 18 Jul 2025 13:03:07 -0700 Subject: [PATCH] [clang-doc] generate comments for functions Change the function p

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Precommit param comment test changes (PR #150469)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150469 >From 6f213799caf42bb3ba0c00822cef55a2e2948cb4 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 22 Jul 2025 21:49:57 -0700 Subject: [PATCH] [clang-doc] Precommit param comment test changes --- .../clang-d

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

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/150470 >From 98172493abfb2c93caefe2424dd17b93d32c17a0 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 22 Jul 2025 21:15:36 -0700 Subject: [PATCH] [clang-doc] add param comments to comment template --- clang-too

[llvm-branch-commits] [llvm] release/21.x: [X86] getTargetConstantBitsFromNode - early-out if the element bitsize doesn't align with the source bitsize (#150184) (PR #150478)

2025-07-24 Thread Phoebe Wang via llvm-branch-commits
phoebewang wrote: > @phoebewang What do you think about merging this PR to the release branch? LGTM. https://github.com/llvm/llvm-project/pull/150478 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[llvm-branch-commits] [llvm] release/21.x: [X86] getTargetConstantBitsFromNode - early-out if the element bitsize doesn't align with the source bitsize (#150184) (PR #150478)

2025-07-24 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang approved this pull request. https://github.com/llvm/llvm-project/pull/150478 ___ 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: [X86] Fix misassemble due to not storing registers to state machine on RParen (#150252) (PR #150402)

2025-07-24 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang approved this pull request. https://github.com/llvm/llvm-project/pull/150402 ___ 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] Fix FileCheck prefix in the histogram test. (PR #150506)

2025-07-24 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish created https://github.com/llvm/llvm-project/pull/150506 None >From f57f3845aa1a6f03a605096e57e5345ebf3131b5 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Thu, 24 Jul 2025 06:25:00 + Subject: [PATCH] Fix FileCheck prefix in the histogram test. --- .../

[llvm-branch-commits] [clang-tools-extra] 60bf979 - [clang-tidy] modernize-use-std-print, format: Fix checks with Abseil functions (#142312)

2025-07-24 Thread via llvm-branch-commits
Author: Mike Crowe Date: 2025-07-24T22:40:41+03:00 New Revision: 60bf97983df3efeb17f6db19b811b68fa74df9aa URL: https://github.com/llvm/llvm-project/commit/60bf97983df3efeb17f6db19b811b68fa74df9aa DIFF: https://github.com/llvm/llvm-project/commit/60bf97983df3efeb17f6db19b811b68fa74df9aa.diff LO

[llvm-branch-commits] [clang-tools-extra] [clang-doc] generate comments for functions (PR #150468)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/150468 ___ 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] [compiler-rt] [llvm] Write out raw profile bytes in little endian. (PR #150375)

2025-07-24 Thread Teresa Johnson via llvm-branch-commits
@@ -23,7 +20,16 @@ using ::llvm::memprof::encodeHistogramCount; namespace { template char *WriteBytes(const T &Pod, char *Buffer) { - *(T *)Buffer = Pod; + static_assert(is_trivially_copyable::value, "T must be POD"); + const uint8_t *Src = reinterpret_cast(&Pod); + for (

[llvm-branch-commits] [compiler-rt] [llvm] Write out raw profile bytes in little endian. (PR #150375)

2025-07-24 Thread Teresa Johnson via llvm-branch-commits
@@ -23,7 +20,16 @@ using ::llvm::memprof::encodeHistogramCount; namespace { template char *WriteBytes(const T &Pod, char *Buffer) { - *(T *)Buffer = Pod; + static_assert(is_trivially_copyable::value, "T must be POD"); + const uint8_t *Src = reinterpret_cast(&Pod); + for (

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

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/150470 ___ 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 #150470)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 reopened https://github.com/llvm/llvm-project/pull/150470 ___ 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] generate comments for functions (PR #150468)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/150468 ___ 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 #150470)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/150470 ___ 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] Precommit param comment test changes (PR #150469)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 closed https://github.com/llvm/llvm-project/pull/150469 ___ 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] generate comments for functions (PR #150468)

2025-07-24 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 reopened https://github.com/llvm/llvm-project/pull/150468 ___ 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] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

2025-07-24 Thread Adam Siemieniuk via llvm-branch-commits
https://github.com/adam-smnk approved this pull request. Looks good, great change 👍 https://github.com/llvm/llvm-project/pull/149624 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[llvm-branch-commits] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

2025-07-24 Thread Adam Siemieniuk via llvm-branch-commits
@@ -150,9 +150,15 @@ def Linalg_PackOp : Linalg_RelayoutOp<"pack", [ `padding_value` specifies a padding value at the boundary on non-perfectly divisible dimensions. Padding is optional: -- If absent, it is UB if the tile does not perfectly divide the dimension. +

[llvm-branch-commits] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

2025-07-24 Thread Adam Siemieniuk via llvm-branch-commits
@@ -4717,6 +4697,12 @@ static LogicalResult commonVerifierPackAndUnPackOp(OpTy packOrUnPack) { return op->emitError("mismatch in inner tile sizes specified and shaped of " "tiled dimension in the packed type"); } + if (failed(verifyCompatibleSh

[llvm-branch-commits] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

2025-07-24 Thread Adam Siemieniuk via llvm-branch-commits
https://github.com/adam-smnk edited https://github.com/llvm/llvm-project/pull/149624 ___ 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] Test All Projects On Workflow Changes (PR #150250)

2025-07-24 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/150250 ___ 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] Test All Projects On Workflow Changes (PR #150250)

2025-07-24 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/150250 ___ 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] Run All Tests When Changing third-party (PR #150251)

2025-07-24 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/150251 ___ 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] Run All Tests When Changing third-party (PR #150251)

2025-07-24 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/150251 ___ 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] Run All Tests When Changing third-party (PR #150251)

2025-07-24 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/150251 ___ 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] Run All Tests When Changing third-party (PR #150251)

2025-07-24 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/150251 ___ 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] [flang] release/21.x: [flang][OpenMP] Avoid analyzing assumed-size array bases (#150324) (PR #150411)

2025-07-24 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. https://github.com/llvm/llvm-project/pull/150411 ___ 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] [CodeGen] Prevent register coalescer rematerialization based on target (PR #148430)

2025-07-24 Thread Tomer Shafir via llvm-branch-commits
https://github.com/tomershafir closed https://github.com/llvm/llvm-project/pull/148430 ___ 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] [CodeGen] Add 2 subtarget hooks canLowerToZeroCycleReg[Move|Zeroing] (PR #148428)

2025-07-24 Thread Tomer Shafir via llvm-branch-commits
https://github.com/tomershafir closed https://github.com/llvm/llvm-project/pull/148428 ___ 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] [CodeGen] Add 2 subtarget hooks canLowerToZeroCycleReg[Move|Zeroing] (PR #148428)

2025-07-24 Thread Tomer Shafir via llvm-branch-commits
tomershafir wrote: Retreating back to a single commit patch for all of the changes, as the stacked PR is hard to operate. https://github.com/llvm/llvm-project/pull/148428 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://

[llvm-branch-commits] [CodeGen] Add target hook shouldReMaterializeTrivialRegDef (PR #148429)

2025-07-24 Thread Tomer Shafir via llvm-branch-commits
tomershafir wrote: Retreating back to a single commit patch for all of the changes, as the stacked PR is hard to operate. https://github.com/llvm/llvm-project/pull/148429 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://

[llvm-branch-commits] [CodeGen] Add target hook shouldReMaterializeTrivialRegDef (PR #148429)

2025-07-24 Thread Tomer Shafir via llvm-branch-commits
https://github.com/tomershafir closed https://github.com/llvm/llvm-project/pull/148429 ___ 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] [CodeGen] Prevent register coalescer rematerialization based on target (PR #148430)

2025-07-24 Thread Tomer Shafir via llvm-branch-commits
tomershafir wrote: Retreating back to a single commit patch for all of the changes, as the stacked PR is hard to operate. https://github.com/llvm/llvm-project/pull/148430 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://

[llvm-branch-commits] [llvm] AMDGPU: Handle rewriting non-tied MFMA to AGPR form (PR #149027)

2025-07-24 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ping https://github.com/llvm/llvm-project/pull/149027 ___ 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] wip: MIR pretty printing for S_WAITCNT_FENCE_soft (PR #150391)

2025-07-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Sameer Sahasrabuddhe (ssahasra) Changes --- Patch is 34.95 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/150391.diff 7 Files Affected: - (modified) llvm/lib/CodeGen/MIRParser/MIPa

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

2025-07-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-globalisel Author: Sameer Sahasrabuddhe (ssahasra) Changes --- Patch is 34.95 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/150391.diff 7 Files Affected: - (modified) llvm/lib/CodeGen/MIRParser/MIP

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

2025-07-24 Thread Sameer Sahasrabuddhe via llvm-branch-commits
https://github.com/ssahasra edited https://github.com/llvm/llvm-project/pull/150391 ___ 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] [DTLTO] Add LLVM release note for LLVM 21 (PR #150171)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru approved this pull request. https://github.com/llvm/llvm-project/pull/150171 ___ 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] [flang] [Flang] Fix a crash when equivalence and namelist statements are used (PR #150292)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Who can review this? https://github.com/llvm/llvm-project/pull/150292 ___ 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] [clang][deps] Add a release note for fixing crashes in `clang-scan-deps`. (#149857) (PR #150329)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru approved this pull request. https://github.com/llvm/llvm-project/pull/150329 ___ 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] release/21.x: [KeyInstr] Fix verifier check (#149043) (PR #149053)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: > As for the pre-merge on this one: the abi-compare bot thing seems cool, > though I don't think the reported failure is for this patch, I've not touched > any function signatures here Yeah it's not correct until we made the RC1 release. If this branch is rebased it will pass. But

[llvm-branch-commits] [lld] release/21.x: [lld] Add thunks for hexagon (#111217) (PR #149723)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/149723 >From 760616dcfde320a2653eab10c5c6a377d9c986c8 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Sun, 20 Jul 2025 11:46:31 -0500 Subject: [PATCH] [lld] Add thunks for hexagon (#111217) MIME-Version: 1.0 Content-Type: t

[llvm-branch-commits] [llvm] Propagate Constants for Wave Reduction Intrinsics (PR #150395)

2025-07-24 Thread via llvm-branch-commits
easyonaadit 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/150395?utm_source=stack-comment-downstack-mergeability-warni

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][Mips] Fix stat size check on mips64 musl (#143301) (PR #149683)

2025-07-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @brad0 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. htt

[llvm-branch-commits] [llvm] release/21.x: [LV] Vectorize maxnum/minnum w/o fast-math flags. (#148239) (PR #149736)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/149736 ___ 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: [LV] Vectorize maxnum/minnum w/o fast-math flags. (#148239) (PR #149736)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Closed in favor of #150193 https://github.com/llvm/llvm-project/pull/149736 ___ 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: [LoongArch] Strengthen stack size estimation for LSX/LASX extension (#146455) (PR #149777)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/149777 >From 6dde08705669b8579694aee5b5c6acbb5bdbb492 Mon Sep 17 00:00:00 2001 From: tangaac Date: Fri, 18 Jul 2025 16:12:11 +0800 Subject: [PATCH] [LoongArch] Strengthen stack size estimation for LSX/LASX extension (#1464

[llvm-branch-commits] [llvm] release/21.x: [LoongArch] Strengthen stack size estimation for LSX/LASX extension (#146455) (PR #149777)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/149777 ___ 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: [LoongArch] Strengthen stack size estimation for LSX/LASX extension (#146455) (PR #149777)

2025-07-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @tangaac (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [llvm] release/21.x: [AArch64, TTI] Disable RealUse check for vector insert/extract costs and Apple CPUs. (#146526) (PR #149815)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Can you update the PR description to match the reality and I can merge this after that. https://github.com/llvm/llvm-project/pull/149815 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/

[llvm-branch-commits] [llvm] [AMDGPU] Propagate Constants for Wave Reduction Intrinsics (PR #150395)

2025-07-24 Thread via llvm-branch-commits
https://github.com/easyonaadit edited https://github.com/llvm/llvm-project/pull/150395 ___ 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: [MachinePipeliner] Fix incorrect dependency direction (#149436) (PR #149950)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Can you rebase and squash this PR so that I won't merge a merge commit. https://github.com/llvm/llvm-project/pull/149950 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[llvm-branch-commits] [flang] release/21.x: [Flang] Fix ASSIGN statement (#149941) (PR #150228)

2025-07-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @ceseo (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. htt

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Fix hash_multi{map, set}::insert (#149290) (PR #149435)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/149435 >From 4a4071dc71d87357ea27e81bf46078e03ca9630e Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Thu, 17 Jul 2025 23:23:04 +0200 Subject: [PATCH] [libc++] Fix hash_multi{map,set}::insert (#149290) (cherry picked

[llvm-branch-commits] [clang] [clang][deps] Add a release note for fixing crashes in `clang-scan-deps`. (#149857) (PR #150329)

2025-07-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @vsapsai (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [clang] [clang][deps] Add a release note for fixing crashes in `clang-scan-deps`. (#149857) (PR #150329)

2025-07-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/150329 ___ 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] [flang] release/21.x: [flang][OpenMP] Restore reduction processor behavior broken by #145837 (#150178) (PR #150200)

2025-07-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @ergawy (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [llvm] release/21.x: [X86] Fix misassemble due to not storing registers to state machine on RParen (#150252) (PR #150402)

2025-07-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: None (llvmbot) Changes Backport a073cbbb1aeaaeac01b12e818fe47e4c04080aac Requested by: @phoebewang --- Full diff: https://github.com/llvm/llvm-project/pull/150402.diff 2 Files Affected: - (modified) llvm/lib/Target/X86/AsmParser/X86AsmPar

[llvm-branch-commits] [llvm] release/21.x: [X86] Fix misassemble due to not storing registers to state machine on RParen (#150252) (PR #150402)

2025-07-24 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/150402 Backport a073cbbb1aeaaeac01b12e818fe47e4c04080aac Requested by: @phoebewang >From b9b8c95fea2cfa8848cdbd2418db41bfafa8706d Mon Sep 17 00:00:00 2001 From: circuit10 Date: Thu, 24 Jul 2025 10:38:16 +0100 Subject

[llvm-branch-commits] [llvm] release/21.x: [X86] Fix misassemble due to not storing registers to state machine on RParen (#150252) (PR #150402)

2025-07-24 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/150402 ___ 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: [X86] Fix misassemble due to not storing registers to state machine on RParen (#150252) (PR #150402)

2025-07-24 Thread via llvm-branch-commits
llvmbot wrote: @phoebewang What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/150402 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[llvm-branch-commits] [clang] release/21.x: [KeyInstr] Inline asm atoms (#149076) (PR #150056)

2025-07-24 Thread Jeremy Morse via llvm-branch-commits
https://github.com/jmorse approved this pull request. LGTM, and completes key-instr related things in llvm21. https://github.com/llvm/llvm-project/pull/150056 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.or

[llvm-branch-commits] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

2025-07-24 Thread Andrzej Warzyński via llvm-branch-commits
https://github.com/banach-space edited https://github.com/llvm/llvm-project/pull/149624 ___ 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] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

2025-07-24 Thread Andrzej Warzyński via llvm-branch-commits
banach-space wrote: Should we also update: ``` - The following relationship for the tiled dimensions holds: `shape(result)[inner_dims_pos[i]] = shape(source)[inner_dims_pos[i]] / inner_tiles[i]`. ``` as ``` - The following relationship for the ti

[llvm-branch-commits] [mlir] [mlir][linalg] Restrict linalg.pack to not have artificial padding. (PR #149624)

2025-07-24 Thread Han-Chung Wang via llvm-branch-commits
https://github.com/hanhanW closed https://github.com/llvm/llvm-project/pull/149624 ___ 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] Require CFG in BAT mode (PR #150488)

2025-07-24 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] updated test Created using spr 1.3.4 --- bolt/test/X86/unclaimed-

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

2025-07-24 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/150488 ___ 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] [flang] 32c9e86 - Revert "[flang][flang-driver][mlir][OpenMP] atomic control support (#143441)"

2025-07-24 Thread via llvm-branch-commits
Author: Kiran Chandramohan Date: 2025-07-24T20:33:43+01:00 New Revision: 32c9e86d027efc84ba696a38ef626ae04d306ec0 URL: https://github.com/llvm/llvm-project/commit/32c9e86d027efc84ba696a38ef626ae04d306ec0 DIFF: https://github.com/llvm/llvm-project/commit/32c9e86d027efc84ba696a38ef626ae04d306ec0.

[llvm-branch-commits] [llvm] Fix FileCheck prefix in the histogram test. (PR #150506)

2025-07-24 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson approved this pull request. https://github.com/llvm/llvm-project/pull/150506 ___ 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: [RISCV] Pass sign-extended value to isInt check in expandMul (#150211) (PR #150556)

2025-07-24 Thread Sam Elliott via llvm-branch-commits
https://github.com/lenary approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/150556 ___ 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: Handle rewriting non-tied MFMA to AGPR form (PR #149027)

2025-07-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/149027 >From bcdb0d78fe8c227e7b2c9b539db496950332f66b Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 11 Jul 2025 12:57:13 +0900 Subject: [PATCH] AMDGPU: Handle rewriting non-tied MFMA to AGPR form If src2 and

[llvm-branch-commits] [llvm] AMDGPU: Handle rewriting non-tied MFMA to AGPR form (PR #149027)

2025-07-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/149027 >From bcdb0d78fe8c227e7b2c9b539db496950332f66b Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 11 Jul 2025 12:57:13 +0900 Subject: [PATCH] AMDGPU: Handle rewriting non-tied MFMA to AGPR form If src2 and

[llvm-branch-commits] [llvm] AMDGPU: Add a few missing mfma rewrite tests (PR #149026)

2025-07-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/149026 >From 15d9c6ac5705ebceb5c3a8656b2392caf8da6b13 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 16 Jul 2025 13:06:08 +0900 Subject: [PATCH] AMDGPU: Add a few missing mfma rewrite tests Test other splitti

[llvm-branch-commits] [llvm] AMDGPU: Add a few missing mfma rewrite tests (PR #149026)

2025-07-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/149026 >From 15d9c6ac5705ebceb5c3a8656b2392caf8da6b13 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 16 Jul 2025 13:06:08 +0900 Subject: [PATCH] AMDGPU: Add a few missing mfma rewrite tests Test other splitti

[llvm-branch-commits] [clang] release/21.x: [clang-format] Add AfterNot to SpaceBeforeParensOptions (#150367) (PR #150457)

2025-07-24 Thread Björn Schäpers via llvm-branch-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/150457 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] Fix FileCheck prefix in the histogram test. (PR #150506)

2025-07-24 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish edited https://github.com/llvm/llvm-project/pull/150506 ___ 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] Fix FileCheck prefix in the histogram test. (PR #150506)

2025-07-24 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish ready_for_review https://github.com/llvm/llvm-project/pull/150506 ___ 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] Fix FileCheck prefix in the histogram test. (PR #150506)

2025-07-24 Thread Snehasish Kumar via llvm-branch-commits
snehasish 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/150506?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [clang] release/21.x: [clang-format] Fix a bug in `DerivePointerAlignment: true` (#150387) (PR #150458)

2025-07-24 Thread Björn Schäpers via llvm-branch-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/150458 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)

2025-07-24 Thread Joel E. Denny via llvm-branch-commits
https://github.com/jdenny-ornl edited https://github.com/llvm/llvm-project/pull/128785 ___ 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] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)

2025-07-24 Thread Joel E. Denny via llvm-branch-commits
@@ -7866,6 +7866,17 @@ The attributes in this metadata is added to all followup loops of the loop distribution pass. See :ref:`Transformation Metadata ` for details. +'``llvm.loop.estimated_trip_count``' Metadata + + +This metad

[llvm-branch-commits] [llvm] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)

2025-07-24 Thread Joel E. Denny via llvm-branch-commits
@@ -7866,6 +7866,17 @@ The attributes in this metadata is added to all followup loops of the loop distribution pass. See :ref:`Transformation Metadata ` for details. +'``llvm.loop.estimated_trip_count``' Metadata jdenny-ornl wrote: This is now part of PR #14

[llvm-branch-commits] [llvm] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)

2025-07-24 Thread Joel E. Denny via llvm-branch-commits
@@ -7866,6 +7866,17 @@ The attributes in this metadata is added to all followup loops of the loop distribution pass. See :ref:`Transformation Metadata ` for details. +'``llvm.loop.estimated_trip_count``' Metadata + + ---

[llvm-branch-commits] [llvm] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)

2025-07-24 Thread Joel E. Denny via llvm-branch-commits
@@ -850,27 +852,35 @@ llvm::getLoopEstimatedTripCount(Loop *L, getEstimatedTripCount(LatchBranch, L, ExitWeight)) { if (EstimatedLoopInvocationWeight) *EstimatedLoopInvocationWeight = ExitWeight; + if (auto EstimatedTripCount = jd

[llvm-branch-commits] [clang] [clang] callee_type metadata for indirect calls (PR #117036)

2025-07-24 Thread Paul Kirth via llvm-branch-commits
@@ -2869,9 +2870,23 @@ static void setLinkageForGV(llvm::GlobalValue *GV, const NamedDecl *ND) { GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); } +static bool hasExistingGeneralizedTypeMD(llvm::Function *F) { + llvm::MDNode *MD = F->getMetadata(llvm::LLVMContext

[llvm-branch-commits] [llvm] [llvm][AsmPrinter] Emit call graph section (PR #87576)

2025-07-24 Thread Paul Kirth via llvm-branch-commits
@@ -1,40 +1,43 @@ ;; Test if temporary labels are generated for each indirect callsite with a callee_type metadata. -;; Test if the .callgraph section contains the numerical callee type id for each of the temporary -;; labels generated. +;; Test if the .callgraph section cont

  1   2   3   >