[llvm-branch-commits] [clang] release/20.x: [C++20][Modules][Serialization] Delay marking pending incomplete decl chains until the end of `finishPendingActions`. (#121245) (PR #126289)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126289 Backport a9e249f64e800fbb20a3b26c0cfb68c1a1aee5e1 Requested by: @mpark >From 64294cc046c113af3ae10b08dd77c125170e2e20 Mon Sep 17 00:00:00 2001 From: Michael Park Date: Mon, 3 Feb 2025 11:22:02 -0800 Subject: [

[llvm-branch-commits] [clang] release/20.x: [clang] Parse warning-suppression-mapping after setting up diagengine (#125714) (PR #126030)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/126030 >From e40790864ba00124931f0b242c20a474a9255eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kadir=20=C3=A7etinkaya?= Date: Thu, 6 Feb 2025 10:18:38 +0100 Subject: [PATCH] [clang] Parse warning-suppression-mapping af

[llvm-branch-commits] [clang] e407908 - [clang] Parse warning-suppression-mapping after setting up diagengine (#125714)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
Author: kadir çetinkaya Date: 2025-02-07T15:59:30-08:00 New Revision: e40790864ba00124931f0b242c20a474a9255eb7 URL: https://github.com/llvm/llvm-project/commit/e40790864ba00124931f0b242c20a474a9255eb7 DIFF: https://github.com/llvm/llvm-project/commit/e40790864ba00124931f0b242c20a474a9255eb7.dif

[llvm-branch-commits] [clang] release/20.x: [clang] Parse warning-suppression-mapping after setting up diagengine (#125714) (PR #126030)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/126030 ___ 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] release/20.x: [clang] Parse warning-suppression-mapping after setting up diagengine (#125714) (PR #126030)

2025-02-07 Thread via llvm-branch-commits
github-actions[bot] wrote: @kadircet (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.

[llvm-branch-commits] [llvm] release/20.x: [Offload] Stop the RPC server faiilng with more than one GPU (#125982) (PR #125985)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/125985 >From dbb2699d2eee998e2a3d7862f7d633736bbbd77b Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Wed, 5 Feb 2025 20:51:28 -0600 Subject: [PATCH] [Offload] Stop the RPC server faiilng with more than one GPU (#12

[llvm-branch-commits] [llvm] release/20.x: [Offload] Stop the RPC server faiilng with more than one GPU (#125982) (PR #125985)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/125985 ___ 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/20.x: [LLD][ELF][AArch64] Discard .ARM.attributes sections (#125838) (PR #126065)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/126065 >From 4d3d4445c67c02d34900d5e4160632e1a06b8df8 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Wed, 5 Feb 2025 19:04:21 + Subject: [PATCH] [LLD][ELF][AArch64] Discard .ARM.attributes sections (#125838) LL

[llvm-branch-commits] [lld] 4d3d444 - [LLD][ELF][AArch64] Discard .ARM.attributes sections (#125838)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
Author: Peter Smith Date: 2025-02-07T16:13:24-08:00 New Revision: 4d3d4445c67c02d34900d5e4160632e1a06b8df8 URL: https://github.com/llvm/llvm-project/commit/4d3d4445c67c02d34900d5e4160632e1a06b8df8 DIFF: https://github.com/llvm/llvm-project/commit/4d3d4445c67c02d34900d5e4160632e1a06b8df8.diff L

[llvm-branch-commits] [lld] release/20.x: [LLD][ELF][AArch64] Discard .ARM.attributes sections (#125838) (PR #126065)

2025-02-07 Thread via llvm-branch-commits
github-actions[bot] wrote: @zmodem (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/20.x: [Offload] Stop the RPC server faiilng with more than one GPU (#125982) (PR #125985)

2025-02-07 Thread via llvm-branch-commits
github-actions[bot] wrote: @jhuber6 (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] [lld] release/20.x: [LLD][ELF][AArch64] Discard .ARM.attributes sections (#125838) (PR #126065)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/126065 ___ 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] de5dcad - [AArch64] Update feature dep. for Armv9.6 extensions (#125874)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
Author: CarolineConcatto Date: 2025-02-07T16:16:11-08:00 New Revision: de5dcad3a2d332e75ea3b680d7d41080b064ca7c URL: https://github.com/llvm/llvm-project/commit/de5dcad3a2d332e75ea3b680d7d41080b064ca7c DIFF: https://github.com/llvm/llvm-project/commit/de5dcad3a2d332e75ea3b680d7d41080b064ca7c.di

[llvm-branch-commits] [llvm] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/126210 ___ 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] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/126210 >From de5dcad3a2d332e75ea3b680d7d41080b064ca7c Mon Sep 17 00:00:00 2001 From: CarolineConcatto Date: Thu, 6 Feb 2025 17:13:30 + Subject: [PATCH] [AArch64] Update feature dep. for Armv9.6 extensions (#12587

[llvm-branch-commits] [llvm] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread via llvm-branch-commits
github-actions[bot] wrote: @CarolineConcatto (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 thi

[llvm-branch-commits] [libclc] release/20.x: [libclc] Allow default path when looking for llvm-spirv (#126071) (PR #126201)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126201 ___ 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] [libclc] release/20.x: [libclc] Allow default path when looking for llvm-spirv (#126071) (PR #126201)

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

[llvm-branch-commits] [libclc] release/20.x: [libclc] Allow default path when looking for llvm-spirv (#126071) (PR #126201)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126201 Backport 26ecddb05d13c101ccd840a6710eb5f8b82de841 Requested by: @nikic >From 809e49e886872e4962df643629dde9a2f23a34ec Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 7 Feb 2025 09:18:18 +0100 Subject: [

[llvm-branch-commits] [llvm] release/20.x: [TableGen] Don't use inline storage for ReferenceLocs (NFC) (#125231) (PR #125287)

2025-02-07 Thread Nikita Popov via llvm-branch-commits
nikic wrote: ping @arsenm https://github.com/llvm/llvm-project/pull/125287 ___ 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] try (PR #126198)

2025-02-07 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/126198 None ___ 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/20.x: [TableGen] Don't use inline storage for ReferenceLocs (NFC) (#125231) (PR #125287)

2025-02-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/125287 ___ 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] [RegAlloc][NewPM] Plug Greedy RA in codegen pipeline (PR #120557)

2025-02-07 Thread Christudasan Devadasan via llvm-branch-commits
@@ -2126,6 +2127,28 @@ void AMDGPUCodeGenPassBuilder::addPostRegAlloc(AddMachinePass &addPass) const { Base::addPostRegAlloc(addPass); } +static const char RegAllocNPMNotSupportedMessage[] = +"-regalloc-npm not supported with amdgcn. Use -sgpr-regalloc-npm, " +"-wwm

[llvm-branch-commits] [llvm] [RegAlloc][NewPM] Plug Greedy RA in codegen pipeline (PR #120557)

2025-02-07 Thread Christudasan Devadasan via llvm-branch-commits
@@ -48,10 +48,17 @@ using namespace llvm; -static cl::opt -RegAlloc("regalloc-npm", - cl::desc("Register allocator to use for new pass manager"), - cl::Hidden, cl::init("default")); +static cl::opt RegAlloc( cdevadas wrote: This c

[llvm-branch-commits] try (PR #126198)

2025-02-07 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka converted_to_draft https://github.com/llvm/llvm-project/pull/126198 ___ 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] try (PR #126198)

2025-02-07 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/126198 ___ 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][NewPM] Port SIOptimizeExecMaskingPreRA to NPM (PR #125351)

2025-02-07 Thread Christudasan Devadasan via llvm-branch-commits
@@ -1,4 +1,5 @@ # RUN: llc -mtriple=amdgcn -mcpu=gfx1100 -run-pass=si-optimize-exec-masking-pre-ra,greedy -verify-machineinstrs -o - %s +# RUN: llc -mtriple=amdgcn -mcpu=gfx1100 -passes=si-optimize-exec-masking-pre-ra,greedy -verify-machineinstrs -o - %s cdevad

[llvm-branch-commits] [llvm] [AMDGPU][NewPM] Port SIOptimizeExecMaskingPreRA to NPM (PR #125351)

2025-02-07 Thread Christudasan Devadasan via llvm-branch-commits
@@ -340,15 +348,29 @@ bool SIOptimizeExecMaskingPreRA::optimizeElseBranch(MachineBasicBlock &MBB) { return true; } -bool SIOptimizeExecMaskingPreRA::runOnMachineFunction(MachineFunction &MF) { +PreservedAnalyses +SIOptimizeExecMaskingPreRAPass::run(MachineFunction &MF, +

[llvm-branch-commits] [llvm] release/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126209 ___ 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/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

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

[llvm-branch-commits] [llvm] release/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126209 Backport 1930524 Requested by: @david-arm >From f44f33b35c69050ac019a67232aa4d21a06bffe3 Mon Sep 17 00:00:00 2001 From: David Sherwood Date: Fri, 7 Feb 2025 09:36:52 + Subject: [PATCH] [LoopVectorize] Fix

[llvm-branch-commits] [llvm] release/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

2025-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-vectorizers @llvm/pr-subscribers-llvm-transforms Author: None (llvmbot) Changes Backport 1930524 Requested by: @david-arm --- Patch is 26.15 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/126209.diff 2 Fi

[llvm-branch-commits] [llvm] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread via llvm-branch-commits
https://github.com/CarolineConcatto created https://github.com/llvm/llvm-project/pull/126210 These features FEAT_FAMINMAX, FEAT_LUT and FEAT_FP8 depends on FEAT_NEON. Update dependency from FEAT_FP8DOT4 and FEAT_FP8DOT2. Now depends indirectly on FEAT_NEON through FEAT_FP8 >From 8b9c57c3c4a87

[llvm-branch-commits] [llvm] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: None (CarolineConcatto) Changes These features FEAT_FAMINMAX, FEAT_LUT and FEAT_FP8 depends on FEAT_NEON. Update dependency from FEAT_FP8DOT4 and FEAT_FP8DOT2. Now depends indirectly on FEAT_NEON through FEAT_FP8 --- Full diff:

[llvm-branch-commits] [mlir] release/20.x: [mlir][CMake] Fix dependency on MLIRTestDialect in Transforms tests (#125894) (PR #126211)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126211 Backport ebd23f25c8936db3dd917567737a067d6878e2f4 Requested by: @DavidSpickett >From c2666379712761dc002cb8d19c5fa8e19b687d41 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Wed, 5 Feb 2025 17:49:52 +

[llvm-branch-commits] [mlir] release/20.x: [mlir][CMake] Fix dependency on MLIRTestDialect in Transforms tests (#125894) (PR #126211)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126211 ___ 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] release/20.x: [mlir][CMake] Fix dependency on MLIRTestDialect in Transforms tests (#125894) (PR #126211)

2025-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: None (llvmbot) Changes Backport ebd23f25c8936db3dd917567737a067d6878e2f4 Requested by: @DavidSpickett --- Full diff: https://github.com/llvm/llvm-project/pull/126211.diff 1 Files Affected: - (modified) mlir/test/lib/Transforms/CMakeList

[llvm-branch-commits] [llvm] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread Paul Walker via llvm-branch-commits
https://github.com/paulwalker-arm approved this pull request. https://github.com/llvm/llvm-project/pull/126210 ___ 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] [flang] [lld] [Flang] Rename libFortranRuntime.a to libflang_rt.a (PR #122341)

2025-02-07 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/122341 >From 875607fdecfada90a80ec732637ea9595fe72ba3 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Fri, 24 Jan 2025 16:42:24 +0100 Subject: [PATCH 1/4] [Flang] Rename libFortranRuntime.a to libflang_rt.a ---

[llvm-branch-commits] [flang] [Flang] Remove FLANG_INCLUDE_RUNTIME (PR #124126)

2025-02-07 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/124126 >From c515d13f0ad684763e6d76a87a610801482c15f4 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Fri, 24 Jan 2025 16:52:46 +0100 Subject: [PATCH 1/2] [Flang] Remove FLANG_INCLUDE_RUNTIME --- flang/CMakeLis

[llvm-branch-commits] [llvm] [Flang-RT] Build libflang_rt.so (PR #121782)

2025-02-07 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/121782 >From b05c9a033158aea459d51ff34b8ec47e72f85740 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Fri, 24 Jan 2025 16:51:27 +0100 Subject: [PATCH 1/2] [Flang-RT] Build libflang_rt.so --- flang-rt/CMakeLists

[llvm-branch-commits] [llvm] release/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

2025-02-07 Thread Florian Hahn via llvm-branch-commits
fhahn wrote: Can you push the commit to this PR? Otherwise it would probably be better to start a new PR with both commits (can use `/cherry-pick commit1 commit2` to include multiple commits automatically https://github.com/llvm/llvm-project/pull/126209

[llvm-branch-commits] [llvm] release/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

2025-02-07 Thread David Sherwood via llvm-branch-commits
david-arm wrote: Also needs a build error fix - 3872e55758a5de035c032a975f244302c3ddacc3. Not sure the best way to do this - should I backport two commits or create a new PR with a joint patch? https://github.com/llvm/llvm-project/pull/126209 ___ llv

[llvm-branch-commits] [mlir] release/20.x: [mlir][CMake] Fix dependency on MLIRTestDialect in Transforms tests (#125894) (PR #126211)

2025-02-07 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/126211 ___ 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/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/126209 >From bdb84b4517bcf2d98340ca32b8e9c9f7918fcf73 Mon Sep 17 00:00:00 2001 From: David Sherwood Date: Fri, 7 Feb 2025 09:36:52 + Subject: [PATCH 1/2] [LoopVectorize] Fix cost model assert when vectorising call

[llvm-branch-commits] [llvm] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread via llvm-branch-commits
https://github.com/CarolineConcatto milestoned https://github.com/llvm/llvm-project/pull/126210 ___ 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/20.x: [LoopVectorize] Fix cost model assert when vectorising calls (#125716) (PR #126209)

2025-02-07 Thread via llvm-branch-commits
llvmbot wrote: Failed to cherry-pick: commit1 https://github.com/llvm/llvm-project/actions/runs/13197926127 Please manually backport the fix and push it to your github fork. Once this is done, please create a [pull request](https://github.com/llvm/llvm-project/compare) https://github.com/l

[llvm-branch-commits] [libc] fix: removes invalid token from LLVM_VERSION_SUFFIX in LIBC namespace (PR #126193)

2025-02-07 Thread via llvm-branch-commits
samvangysegem wrote: > Is this a backport? I don't see one for the `main` branch. Normally you land > it on main and follow > https://llvm.org/docs/GitHub.html#backporting-fixes-to-the-release-branches > for the backport. I looked over that! Will redirect to main and add the comment as per th

[llvm-branch-commits] [libc] fix: removes invalid token from LLVM_VERSION_SUFFIX in LIBC namespace (PR #126193)

2025-02-07 Thread via llvm-branch-commits
@@ -51,7 +51,8 @@ set(LIBC_KERNEL_HEADERS "/usr/include" CACHE STRING "Path to Linux kernel header # Defining a global namespace to enclose all libc functions. set(default_namespace "__llvm_libc") if(LLVM_VERSION_MAJOR) - set(default_namespace "__llvm_libc_${LLVM_VERSION_MAJ

[llvm-branch-commits] [mlir] release/20.x: [mlir][CMake] Fix dependency on MLIRTestDialect in Transforms tests (#125894) (PR #126211)

2025-02-07 Thread Michał Górny via llvm-branch-commits
https://github.com/mgorny approved this pull request. https://github.com/llvm/llvm-project/pull/126211 ___ 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] [libc] fix: removes invalid token from LLVM_VERSION_SUFFIX in LIBC namespace (PR #126193)

2025-02-07 Thread Joseph Huber via llvm-branch-commits
https://github.com/jhuber6 commented: Is this a backport? I don't see one for the `main` branch. Normally you land it on main and follow https://llvm.org/docs/GitHub.html#backporting-fixes-to-the-release-branches for the backport. https://github.com/llvm/llvm-project/pull/126193 _

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2025-02-07 Thread Michael Kruse via llvm-branch-commits
Meinersbur wrote: @h-vetinari Thanks you the complete paths in the internal FLANG_RT_* variables. Unfortunately it was not sufficient for me to understand what is going on. This is what I can conclude: 1. You are using a runtimes build (`cmake /runtimes -DLLVM_ENABLE_RUNTIMES=flang-rt -DLLVM_

[llvm-branch-commits] [libc] fix: removes invalid token from LLVM_VERSION_SUFFIX in LIBC namespace (PR #126193)

2025-02-07 Thread Joseph Huber via llvm-branch-commits
@@ -51,7 +51,8 @@ set(LIBC_KERNEL_HEADERS "/usr/include" CACHE STRING "Path to Linux kernel header # Defining a global namespace to enclose all libc functions. set(default_namespace "__llvm_libc") if(LLVM_VERSION_MAJOR) - set(default_namespace "__llvm_libc_${LLVM_VERSION_MAJ

[llvm-branch-commits] [libc] fix: removes invalid token from LLVM_VERSION_SUFFIX in LIBC namespace (PR #126193)

2025-02-07 Thread Joseph Huber via llvm-branch-commits
https://github.com/jhuber6 edited https://github.com/llvm/llvm-project/pull/126193 ___ 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] [AArch64] Update feature dep. for Armv9.6 extensions (#125874) (PR #126210)

2025-02-07 Thread Maciej Gabka via llvm-branch-commits
https://github.com/mgabka approved this pull request. https://github.com/llvm/llvm-project/pull/126210 ___ 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] Remove dead function metadata after amdgpu-lower-kernel-arguments (PR #126147)

2025-02-07 Thread Scott Linder via llvm-branch-commits
@@ -132,6 +132,7 @@ class PreloadKernelArgInfo { NF->setAttributes(AL); F.replaceAllUsesWith(NF); F.setCallingConv(CallingConv::C); +F.clearMetadata(); slinder1 wrote: I'm a bit lost, isn't any useful metadata already poached by the new functio

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -484,7 +485,10 @@ class MapInfoFinalizationPass // ourselves to the possibility of race conditions while this pass // undergoes frequent re-iteration for the near future. So we loop // over function in the module and then map.info inside of those. -getOperati

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -2612,7 +2612,52 @@ static void genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable, semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval, const parser::OpenMPDeclareMapperConstruct &declareMapperConstruct) { - TODO(converter.getC

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -2612,7 +2612,52 @@ static void genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable, semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval, const parser::OpenMPDeclareMapperConstruct &declareMapperConstruct) { - TODO(converter.getC

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak commented: This generally looks good, I just have a few small comments. Also, I see the corresponding code to match `omp.declare_mapper` operations with their uses in `map` clauses is missing at the moment, so this lowering only generates "orphan" operations. Is that

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -0,0 +1,85 @@ +! This test checks lowering of OpenMP declare mapper Directive. + +! RUN: split-file %s %t +! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=50 %t/omp-declare-mapper-1.f90 -o - | FileCheck %t/omp-declare-mapper-1.f90 +! RUN: %flang_fc1 -emit-hlfir -fopenm

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -2612,7 +2612,52 @@ static void genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable, semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval, const parser::OpenMPDeclareMapperConstruct &declareMapperConstruct) { - TODO(converter.getC

[llvm-branch-commits] [clang] [compiler-rt] [flang] [libc] [libcxx] [llvm] [mlir] fix: removes invalid token from LLVM_VERSION_SUFFIX in LIBC namespace (PR #126193)

2025-02-07 Thread via llvm-branch-commits
https://github.com/samvangysegem updated https://github.com/llvm/llvm-project/pull/126193 error: too big or took too long to generate ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[llvm-branch-commits] [llvm] release/20.x: [AArch64] Enable AvoidLDAPUR for cpu=generic between armv8.4 and armv9.3. (#125261) (PR #126253)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126253 Backport 6424abcd6c9c6aa8171c79d0fe0369d3a10da3d5 Requested by: @davemgreen >From 521366d7d3d97b8c61e6c2a868c20149ef80263a Mon Sep 17 00:00:00 2001 From: David Green Date: Fri, 7 Feb 2025 10:16:57 + Subjec

[llvm-branch-commits] [llvm] release/20.x: [AArch64] Enable AvoidLDAPUR for cpu=generic between armv8.4 and armv9.3. (#125261) (PR #126253)

2025-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: None (llvmbot) Changes Backport 6424abcd6c9c6aa8171c79d0fe0369d3a10da3d5 Requested by: @davemgreen --- Full diff: https://github.com/llvm/llvm-project/pull/126253.diff 4 Files Affected: - (modified) llvm/lib/Target/AArch64/AA

[llvm-branch-commits] [llvm] release/20.x: [AArch64] Enable AvoidLDAPUR for cpu=generic between armv8.4 and armv9.3. (#125261) (PR #126253)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126253 ___ 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/20.x: [AArch64] Enable AvoidLDAPUR for cpu=generic between armv8.4 and armv9.3. (#125261) (PR #126253)

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

[llvm-branch-commits] [llvm] [AMDGPU] Remove dead function metadata after amdgpu-lower-kernel-arguments (PR #126147)

2025-02-07 Thread Matt Arsenault via llvm-branch-commits
@@ -132,6 +132,7 @@ class PreloadKernelArgInfo { NF->setAttributes(AL); F.replaceAllUsesWith(NF); F.setCallingConv(CallingConv::C); +F.clearMetadata(); arsenm wrote: Oh right https://github.com/llvm/llvm-project/pull/126147 __

[llvm-branch-commits] [llvm] [AMDGPU] Remove dead function metadata after amdgpu-lower-kernel-arguments (PR #126147)

2025-02-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/126147 ___ 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] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak edited https://github.com/llvm/llvm-project/pull/117046 ___ 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/20.x: [AArch64] Enable AvoidLDAPUR for cpu=generic between armv8.4 and armv9.3. (#125261) (PR #126253)

2025-02-07 Thread Ricardo Jesus via llvm-branch-commits
https://github.com/rj-jesus approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/126253 ___ 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] [mlir] [MLIR][OpenMP] Add OMP Mapper field to MapInfoOp (PR #120994)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/120994 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Add OMP Mapper field to MapInfoOp (PR #120994)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
skatrak wrote: One small comment, though. Please trigger a not-yet-implemented error when translating all operations taking `map` clauses if the new field is set. That would be in `checkImplementationStatus`, in OpenMPToLLVMIRTranslation.cpp. https://github.com/llvm/llvm-project/pull/120994 __

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Akash Banerjee via llvm-branch-commits
@@ -2612,7 +2612,52 @@ static void genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable, semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval, const parser::OpenMPDeclareMapperConstruct &declareMapperConstruct) { - TODO(converter.getC

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak edited https://github.com/llvm/llvm-project/pull/121001 ___ 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] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -970,6 +972,20 @@ void ClauseProcessor::processMapObjects( } } +if (!mapperIdName.empty()) { + if (mapperIdName == "default") { +auto &typeSpec = object.sym()->owner().IsDerivedType() + ? *object.sym()->owner().derivedT

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -970,6 +972,20 @@ void ClauseProcessor::processMapObjects( } } +if (!mapperIdName.empty()) { + if (mapperIdName == "default") { +auto &typeSpec = object.sym()->owner().IsDerivedType() + ? *object.sym()->owner().derivedT

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directive (PR #117046)

2025-02-07 Thread Akash Banerjee via llvm-branch-commits
@@ -2612,7 +2612,52 @@ static void genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable, semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval, const parser::OpenMPDeclareMapperConstruct &declareMapperConstruct) { - TODO(converter.getC

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak approved this pull request. Thank you, LGTM. Just some minor nits, no need to wait for another review by me. https://github.com/llvm/llvm-project/pull/121001 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -936,8 +936,10 @@ void ClauseProcessor::processMapObjects( llvm::omp::OpenMPOffloadMappingFlags mapTypeBits, std::map &parentMemberIndices, llvm::SmallVectorImpl &mapVars, -llvm::SmallVectorImpl &mapSyms) const { +llvm::SmallVectorImpl &mapSyms, +std:

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
@@ -983,7 +999,8 @@ void ClauseProcessor::processMapObjects( static_cast< std::underlying_type_t>( mapTypeBits), -mlir::omp::VariableCaptureKind::ByRef, baseOp.getType()); +mlir::omp::VariableCaptureKind::ByRef, baseOp.getType(),

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Add OMP Mapper field to MapInfoOp (PR #120994)

2025-02-07 Thread Akash Banerjee via llvm-branch-commits
TIFitis wrote: > One small comment, though. Please trigger a not-yet-implemented error when > translating all operations taking `map` clauses if the new field is set. That > would be in `checkImplementationStatus`, in OpenMPToLLVMIRTranslation.cpp. Is that necessary given I have the entire imp

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Add conversion support from FIR to LLVM Dialect for OMP DeclareMapper (PR #121005)

2025-02-07 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/121005 ___ 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/20.x: [AArch64] Fix op mask detection in performZExtDeinterleaveShuffleCombine (#126054) (PR #126263)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126263 Backport 2c43479683651f0eb208c97bf12e49bacbea4e6f Requested by: @davemgreen >From 8642669f018751928dd31c9f9436513466d1e8d5 Mon Sep 17 00:00:00 2001 From: David Green Date: Fri, 7 Feb 2025 16:37:05 + Subjec

[llvm-branch-commits] [llvm] release/20.x: [AArch64] Fix op mask detection in performZExtDeinterleaveShuffleCombine (#126054) (PR #126263)

2025-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126263 ___ 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/20.x: [AArch64] Fix op mask detection in performZExtDeinterleaveShuffleCombine (#126054) (PR #126263)

2025-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: None (llvmbot) Changes Backport 2c43479683651f0eb208c97bf12e49bacbea4e6f Requested by: @davemgreen --- Full diff: https://github.com/llvm/llvm-project/pull/126263.diff 2 Files Affected: - (modified) llvm/lib/Target/AArch64/AA

[llvm-branch-commits] [llvm] release/20.x: [AArch64] Fix op mask detection in performZExtDeinterleaveShuffleCombine (#126054) (PR #126263)

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

[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)

2025-02-07 Thread Akash Banerjee via llvm-branch-commits
@@ -936,8 +936,10 @@ void ClauseProcessor::processMapObjects( llvm::omp::OpenMPOffloadMappingFlags mapTypeBits, std::map &parentMemberIndices, llvm::SmallVectorImpl &mapVars, -llvm::SmallVectorImpl &mapSyms) const { +llvm::SmallVectorImpl &mapSyms, +std:

<    1   2