[llvm-branch-commits] [llvm] [LoongArch] Spill 256-bit build_vector to avoid using LASX element insertion (PR #154918)

2025-08-22 Thread via llvm-branch-commits
https://github.com/zhaoqi5 updated https://github.com/llvm/llvm-project/pull/154918 >From 49294ba29e19327bf66f3d5ca993a3e48d9b179c Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 22 Aug 2025 17:40:01 +0800 Subject: [PATCH 1/3] [LoongArch] Spill 256-bit build_vector to avoid using LASX elemen

[llvm-branch-commits] [clang] [clang] NFC: Provide inline definitions for {get, cast}TagDecl and friends (PR #155051)

2025-08-22 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/155051 >From 8978115b6623aab9927fae5890b0e6d9d2bf2cef Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Fri, 22 Aug 2025 15:16:27 -0300 Subject: [PATCH] [clang] NFC: Provide inline definitions for {get,cast}TagDecl

[llvm-branch-commits] [clang] [clang] NFC: Provide inline definitions for {get, cast}TagDecl and friends (PR #155051)

2025-08-22 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/155051 >From 8978115b6623aab9927fae5890b0e6d9d2bf2cef Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Fri, 22 Aug 2025 15:16:27 -0300 Subject: [PATCH] [clang] NFC: Provide inline definitions for {get,cast}TagDecl

[llvm-branch-commits] [clang] [clang] NFC: Provide inline definitions for {get, cast}TagDecl and friends (PR #155051)

2025-08-22 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/155051 >From 324e8f3c5e2ac3175d4e4342b43623ae82e32a98 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Fri, 22 Aug 2025 15:16:27 -0300 Subject: [PATCH] [clang] NFC: Provide inline definitions for {get,cast}TagDecl

[llvm-branch-commits] [clang] [clang] NFC: Provide inline definitions for {get, cast}TagDecl and friends (PR #155051)

2025-08-22 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/155051 >From 324e8f3c5e2ac3175d4e4342b43623ae82e32a98 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Fri, 22 Aug 2025 15:16:27 -0300 Subject: [PATCH] [clang] NFC: Provide inline definitions for {get,cast}TagDecl

[llvm-branch-commits] [llvm] 53b3b78 - Revert "[ADT] Deprecate the redirection from SmallSet to SmallPtrSet (#154891)"

2025-08-22 Thread via llvm-branch-commits
Author: Jordan Rupprecht Date: 2025-08-22T23:33:07-05:00 New Revision: 53b3b78a49dcd954c53df0f1e029cdb1854f28ba URL: https://github.com/llvm/llvm-project/commit/53b3b78a49dcd954c53df0f1e029cdb1854f28ba DIFF: https://github.com/llvm/llvm-project/commit/53b3b78a49dcd954c53df0f1e029cdb1854f28ba.di

[llvm-branch-commits] [clang] [HLSL] Enable unbounded resource arrays at global scope (PR #155053)

2025-08-22 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/155053 ___ 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] [PAC] Fix codegen for polymorphic class variables with consteval constructors (PR #155036)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Akira Hatanaka (ahatanak) Changes Fix a bug in CodeGen where such variables could cause a compilation error or be emitted with an undef initializer. rdar://155696134 --- Full diff: https://github.com/llvm/llvm-project/pull/155036.diff

[llvm-branch-commits] [clang] [PAC] Fix codegen for polymorphic class variables with consteval constructors (PR #155036)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Akira Hatanaka (ahatanak) Changes Fix a bug in CodeGen where such variables could cause a compilation error or be emitted with an undef initializer. rdar://155696134 --- Full diff: https://github.com/llvm/llvm-project/pull/155036

[llvm-branch-commits] [clang] [PAC] Fix codegen for polymorphic class variables with consteval constructors (PR #155036)

2025-08-22 Thread Akira Hatanaka via llvm-branch-commits
https://github.com/ahatanak created https://github.com/llvm/llvm-project/pull/155036 Fix a bug in CodeGen where such variables could cause a compilation error or be emitted with an undef initializer. rdar://155696134 >From 2d1814c0d44d7259dee0340abf610f1681545434 Mon Sep 17 00:00:00 2001 From

[llvm-branch-commits] [llvm] AMDGPU: Add baseline test for unspilling VGPRs after MFMA rewrite (PR #154322)

2025-08-22 Thread Sirish Pande via llvm-branch-commits
https://github.com/srpande approved this pull request. https://github.com/llvm/llvm-project/pull/154322 ___ 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][openmp] Add parser/semantic support for workdistribute (PR #154377)

2025-08-22 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz edited https://github.com/llvm/llvm-project/pull/154377 ___ 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][openmp] Add parser/semantic support for workdistribute (PR #154377)

2025-08-22 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -4497,6 +4572,25 @@ void OmpStructureChecker::CheckWorkshareBlockStmts( } } +void OmpStructureChecker::CheckWorkdistributeBlockStmts( +const parser::Block &block, parser::CharBlock source) { + unsigned version{context_.langOptions().OpenMPVersion}; + if (version < 6

[llvm-branch-commits] [flang] [flang][openmp] Add parser/semantic support for workdistribute (PR #154377)

2025-08-22 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz approved this pull request. LGTM with a comment https://github.com/llvm/llvm-project/pull/154377 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-br

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-22 Thread via llvm-branch-commits
agozillon wrote: Thank you for the reviews @skatrak @jsjodin on the PR stack. I've updated all of the PRs now with the feedback, do let me know if I've managed to miss anything or if you spot anything else. p.s. sorry for the spam, I managed to make things go a little wonky during the rebase/

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-22 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/119589 >From e32330b6f5fa9d8c7f89c26e90c8d7ce34fc43bc Mon Sep 17 00:00:00 2001 From: agozillon Date: Fri, 1 Aug 2025 15:55:38 -0500 Subject: [PATCH 1/5] [Flang][OpenMP] Additional global address space modifications

[llvm-branch-commits] [flang] [flang][openmp] Add parser/semantic support for workdistribute (PR #154377)

2025-08-22 Thread via llvm-branch-commits
https://github.com/skc7 updated https://github.com/llvm/llvm-project/pull/154377 >From 4442fced8216bf8e26522e2b4b127e4cfc40 Mon Sep 17 00:00:00 2001 From: skc7 Date: Tue, 19 Aug 2025 21:43:06 +0530 Subject: [PATCH 1/3] [flang][openmp] Add parser/semantic support for workdistribute --- ...

[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Introduce overlapped record type map support (PR #119588)

2025-08-22 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/119588 >From 1169d607d2e1974e4a832d80bc929bb1b0658ea5 Mon Sep 17 00:00:00 2001 From: agozillon Date: Fri, 1 Aug 2025 15:55:38 -0500 Subject: [PATCH 1/5] [Flang][OpenMP] Additional global address space modifications

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 617ca5469852ba2c45e2f84dc649af66fd8150fd Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 617ca5469852ba2c45e2f84dc649af66fd8150fd Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 441b8928a2a4ad8ee987d38c6393c126ea59acb7 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 441b8928a2a4ad8ee987d38c6393c126ea59acb7 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Introduce overlapped record type map support (PR #119588)

2025-08-22 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/119588 >From f6636e1aa35ad260f9e2cefded3dd054db668828 Mon Sep 17 00:00:00 2001 From: agozillon Date: Fri, 1 Aug 2025 15:55:38 -0500 Subject: [PATCH 1/4] [Flang][OpenMP] Additional global address space modifications

[llvm-branch-commits] [libcxx] [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154961)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Louis Dionne (ldionne) Changes This patch adds unit tests to catch the regression described in #154146. At the moment, these tests are pinning down the post-break ABI. (cherry picked from commit 2a83cf5d0e592890f74c5d5ff4a30ae4cf54b61b)

[llvm-branch-commits] [libcxx] [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154961)

2025-08-22 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne milestoned https://github.com/llvm/llvm-project/pull/154961 ___ 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] [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154961)

2025-08-22 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/154961 This patch adds unit tests to catch the regression described in #154146. At the moment, these tests are pinning down the post-break ABI. (cherry picked from commit 2a83cf5d0e592890f74c5d5ff4a30ae4cf54b61b) >Fr

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154945)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: None (llvmbot) Changes Backport 2a83cf5d0e592890f74c5d5ff4a30ae4cf54b61b Requested by: @ldionne --- Patch is 39.15 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/154945.diff 10 Files Affect

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154945)

2025-08-22 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/154945 ___ 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++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154945)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @ldionne What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/154945 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154945)

2025-08-22 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/154945 Backport 2a83cf5d0e592890f74c5d5ff4a30ae4cf54b61b Requested by: @ldionne >From d9af74aba23d30730d8b19d5327578bb6a8ac8a2 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Fri, 22 Aug 2025 15:25:50 +0200 Subj

[llvm-branch-commits] [clang] [analyzer][docs] CSA release notes for clang-21 (PR #154600)

2025-08-22 Thread Balázs Kéri via llvm-branch-commits
@@ -1223,28 +1221,106 @@ New features - Implemented `P2719R5 Type-aware allocation and deallocation functions `_ as an extension in all C++ language modes. +- Added support for the ``[[clang::assume(cond)]]`` attribute, treating it as + ``__builtin

[llvm-branch-commits] [clang] [analyzer][docs] CSA release notes for clang-21 (PR #154600)

2025-08-22 Thread Balázs Kéri via llvm-branch-commits
@@ -1223,28 +1221,106 @@ New features - Implemented `P2719R5 Type-aware allocation and deallocation functions `_ as an extension in all C++ language modes. +- Added support for the ``[[clang::assume(cond)]]`` attribute, treating it as + ``__builtin

[llvm-branch-commits] [clang] [analyzer][docs] CSA release notes for clang-21 (PR #154600)

2025-08-22 Thread Balazs Benics via llvm-branch-commits
https://github.com/steakhal updated https://github.com/llvm/llvm-project/pull/154600 >From 282a84dbcc57738398da024f021bcc057099edb3 Mon Sep 17 00:00:00 2001 From: Balazs Benics Date: Wed, 20 Aug 2025 21:40:26 +0200 Subject: [PATCH 1/4] [analyzer][docs] CSA release notes for clang-21 The commit

[llvm-branch-commits] [clang] [clang][PAC][ObjC] Merge the block metadata support for the arm64e abi to llvm 21 (PR #153725)

2025-08-22 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/153725 ___ 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] 7575bda - [clang][Obj-C][PAC] Add support for authenticating block metadata (#152978)

2025-08-22 Thread Tobias Hieta via llvm-branch-commits
Author: Oliver Hunt Date: 2025-08-22T14:18:22+02:00 New Revision: 7575bda7e1904308b5780ffe09c51b68d18b48da URL: https://github.com/llvm/llvm-project/commit/7575bda7e1904308b5780ffe09c51b68d18b48da DIFF: https://github.com/llvm/llvm-project/commit/7575bda7e1904308b5780ffe09c51b68d18b48da.diff L

[llvm-branch-commits] [clang] ad7bb1c - [clang][Obj-C][PAC] Make block descriptor pointer signing configurable (#153700)

2025-08-22 Thread Tobias Hieta via llvm-branch-commits
Author: Oliver Hunt Date: 2025-08-22T14:18:22+02:00 New Revision: ad7bb1cc45a253d873198b9143fbe9c1e5d97aa5 URL: https://github.com/llvm/llvm-project/commit/ad7bb1cc45a253d873198b9143fbe9c1e5d97aa5 DIFF: https://github.com/llvm/llvm-project/commit/ad7bb1cc45a253d873198b9143fbe9c1e5d97aa5.diff L

[llvm-branch-commits] [clang] [clang][PAC][ObjC] Merge the block metadata support for the arm64e abi to llvm 21 (PR #153725)

2025-08-22 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/153725 >From 7575bda7e1904308b5780ffe09c51b68d18b48da Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 13 Aug 2025 22:01:24 -0700 Subject: [PATCH 1/2] [clang][Obj-C][PAC] Add support for authenticating block metadata

[llvm-branch-commits] [clang] [clang][PAC][ObjC] Merge the block metadata support for the arm64e abi to llvm 21 (PR #153725)

2025-08-22 Thread Aaron Ballman via llvm-branch-commits
https://github.com/AaronBallman approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/153725 ___ 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] [lld] release/21.x: [LLD][COFF] Set isUsedInRegularObj for target symbols in resolveAlternateNames (#154837) (PR #154928)

2025-08-22 Thread Martin Storsjö via llvm-branch-commits
https://github.com/mstorsjo approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/154928 ___ 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] [lld] release/21.x: [LLD][COFF] Set isUsedInRegularObj for target symbols in resolveAlternateNames (#154837) (PR #154928)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld Author: None (llvmbot) Changes Backport a6fcd1a6632a57e1b670dd607dac97ff3bd2d33a Requested by: @cjacek --- Full diff: https://github.com/llvm/llvm-project/pull/154928.diff 2 Files Affected: - (modified) lld/COFF/SymbolTable.cpp (+1) - (added) l

[llvm-branch-commits] [lld] release/21.x: [LLD][COFF] Set isUsedInRegularObj for target symbols in resolveAlternateNames (#154837) (PR #154928)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-coff Author: None (llvmbot) Changes Backport a6fcd1a6632a57e1b670dd607dac97ff3bd2d33a Requested by: @cjacek --- Full diff: https://github.com/llvm/llvm-project/pull/154928.diff 2 Files Affected: - (modified) lld/COFF/SymbolTable.cpp (+1) - (add

[llvm-branch-commits] [lld] release/21.x: [LLD][COFF] Set isUsedInRegularObj for target symbols in resolveAlternateNames (#154837) (PR #154928)

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

[llvm-branch-commits] [lld] release/21.x: [LLD][COFF] Set isUsedInRegularObj for target symbols in resolveAlternateNames (#154837) (PR #154928)

2025-08-22 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/154928 ___ 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] [lld] release/21.x: [LLD][COFF] Set isUsedInRegularObj for target symbols in resolveAlternateNames (#154837) (PR #154928)

2025-08-22 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/154928 Backport a6fcd1a6632a57e1b670dd607dac97ff3bd2d33a Requested by: @cjacek >From 4ad7d672ba75b5371c29e4ff6684136759370924 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 22 Aug 2025 04:05:19 -0700 Subject:

[llvm-branch-commits] [clang] [llvm] [mlir] [OMPIRBuilder] Add support for explicit deallocation points (PR #154752)

2025-08-22 Thread Michael Kruse via llvm-branch-commits
@@ -1870,9 +1821,12 @@ OpenMPIRBuilder::InsertPointOrErrorTy OpenMPIRBuilder::createParallel( }; } - OI->OuterAllocaBB = OuterAllocaBlock; + OI->OuterAllocBB = OuterAllocaBlock; OI->EntryBB = PRegEntryBB; OI->ExitBB = PRegExitBB; + OI->OuterDeallocBBs.reserve(O

[llvm-branch-commits] [clang] [llvm] [mlir] [OMPIRBuilder] Add support for explicit deallocation points (PR #154752)

2025-08-22 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur commented: > Instead of a single deallocation point, lists of those are used. This is to > cover cases where there are multiple exit blocks originating from a single > entry. If an allocation needing explicit deallocation is placed in the entry > block of such cas

[llvm-branch-commits] [clang] [llvm] [mlir] [OMPIRBuilder] Add support for explicit deallocation points (PR #154752)

2025-08-22 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/154752 ___ 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] [mlir] [OMPIRBuilder] Add support for explicit deallocation points (PR #154752)

2025-08-22 Thread Michael Kruse via llvm-branch-commits
@@ -1835,20 +1835,21 @@ void CodeGenFunction::EmitOMPParallelDirective(const OMPParallelDirective &S) { const CapturedStmt *CS = S.getCapturedStmt(OMPD_parallel); const Stmt *ParallelRegionBodyStmt = CS->getCapturedStmt(); -auto BodyGenCB = [&, this](InsertPointTy

[llvm-branch-commits] [llvm] [LoongArch] Spill 256-bit build_vector to avoid using LASX element insertion (PR #154918)

2025-08-22 Thread via llvm-branch-commits
https://github.com/zhaoqi5 created https://github.com/llvm/llvm-project/pull/154918 Note: Only worse for `v8i32/v8f32/v4i64/v4f64` types when the high part only has one non-undef element. >From 49294ba29e19327bf66f3d5ca993a3e48d9b179c Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 22 Aug 20

[llvm-branch-commits] [llvm] [LoongArch] Spill 256-bit build_vector to avoid using LASX element insertion (PR #154918)

2025-08-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: ZhaoQi (zhaoqi5) Changes Note: Only worse for `v8i32/v8f32/v4i64/v4f64` types when the high part only has one non-undef element. --- Patch is 45.89 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm

[llvm-branch-commits] [clang] [analyzer][docs] CSA release notes for clang-21 (PR #154600)

2025-08-22 Thread Balazs Benics via llvm-branch-commits
@@ -1246,6 +1323,9 @@ Moved checkers checker ``alpha.security.ArrayBound`` (which was searching for the same kind of bugs with an different, simpler and less accurate algorithm) is removed. steakhal wrote: I decided to drop the whole second part of the sent

[llvm-branch-commits] [clang] [clang][PAC][ObjC] Merge the block metadata support for the arm64e abi to llvm 21 (PR #153725)

2025-08-22 Thread Oliver Hunt via llvm-branch-commits
ojhunt wrote: > ping @AaronBallman for review @tru I've reached out as well, but i believe the original cherrypick request was approved (https://github.com/llvm/llvm-project/pull/153725#pullrequestreview-3123667711) and this PR is just the manual merge of the required commits https://github.

[llvm-branch-commits] [clang] [analyzer][docs] CSA release notes for clang-21 (PR #154600)

2025-08-22 Thread Balazs Benics via llvm-branch-commits
@@ -1223,20 +1221,99 @@ New features - Implemented `P2719R5 Type-aware allocation and deallocation functions `_ as an extension in all C++ language modes. +- Added support for the ``[[clang::assume(cond)]]`` attribute, treating it as + ``__builtin_

[llvm-branch-commits] [llvm] [LoongArch] Broadcast repeated subsequence in build_vector instead of inserting per element (PR #154533)

2025-08-22 Thread via llvm-branch-commits
https://github.com/zhaoqi5 updated https://github.com/llvm/llvm-project/pull/154533 >From 3674bad63bffc351ecd099baef91f90b8d1a0866 Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Wed, 20 Aug 2025 20:39:50 +0800 Subject: [PATCH 1/5] [LoongArch] Broadcast repeated subsequence in build_vector instea

[llvm-branch-commits] [llvm] [AMDGPU][gfx1250] Implement SIMemoryLegalizer (PR #154726)

2025-08-22 Thread Pierre van Houtryve via llvm-branch-commits
@@ -1656,6 +1656,11 @@ let OtherPredicates = [HasImageInsts] in { def S_WAIT_KMCNT_soft : SOPP_Pseudo <"s_soft_wait_kmcnt", (ins s16imm:$simm16), "$simm16">; } + +let SubtargetPredicate = HasWaitXcnt in { + def S_WAIT_XCNT_soft : SOPP_Pseudo<"s_soft_wait_xcnt", (ins s16imm

[llvm-branch-commits] [llvm] [AMDGPU][gfx1250] Implement SIMemoryLegalizer (PR #154726)

2025-08-22 Thread Pierre van Houtryve via llvm-branch-commits
@@ -1656,6 +1656,11 @@ let OtherPredicates = [HasImageInsts] in { def S_WAIT_KMCNT_soft : SOPP_Pseudo <"s_soft_wait_kmcnt", (ins s16imm:$simm16), "$simm16">; } + +let SubtargetPredicate = HasWaitXcnt in { Pierre-vh wrote: We use `SubtargetPredicate` to def

[llvm-branch-commits] [llvm] [AMDGPU] Precommit memory legalizer tests for private AS (PR #154709)

2025-08-22 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. https://github.com/llvm/llvm-project/pull/154709 ___ 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] Precommit memory legalizer tests for private AS (PR #154709)

2025-08-22 Thread Stanislav Mekhanoshin via llvm-branch-commits
rampitec wrote: > They're a stacked PR, it'll merge into main normally once the PR before it > lands. Indeed they don't render though, that's annoying. This only adds a new > series of tests for the SIMemoryLegalizer that target the private AS, > following the same structure as other tests (gl

[llvm-branch-commits] [llvm] [AMDGPU] Precommit memory legalizer tests for private AS (PR #154709)

2025-08-22 Thread Pierre van Houtryve via llvm-branch-commits
Pierre-vh wrote: They're a stacked PR, it'll merge into main normally once the PR before it lands. Indeed they don't render though, that's annoying. This only adds a new series of tests for the SIMemoryLegalizer that target the private AS, following the same structure as other tests (global/fl