[llvm-branch-commits] [llvm] llvm-reduce: Fix losing fast math flags in operands-to-args (PR #133421)

2025-04-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/133421 >From f7605bad9a66743461e4ab1e00123615f3fadfa8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 28 Mar 2025 18:00:05 +0700 Subject: [PATCH] llvm-reduce: Fix losing fast math flags in operands-to-args ---

[llvm-branch-commits] [llvm] llvm-reduce: Reduce with early return of arguments (PR #133627)

2025-04-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/133627 >From 3e646d940a2fece2624de27e223639cd2546b694 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 24 Mar 2025 14:33:36 +0700 Subject: [PATCH] llvm-reduce: Reduce with early return of arguments Extend the i

[llvm-branch-commits] [libcxx] [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (#131921) (PR #134406)

2025-04-04 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne updated https://github.com/llvm/llvm-project/pull/134406 >From abb3af9e0f26cae7583efe2591fe870da7b87fa7 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 4 Apr 2025 11:48:46 -0400 Subject: [PATCH] [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (

[llvm-branch-commits] [llvm] llvm-reduce: Fix overly conservative operands-to-args user restriction (PR #133854)

2025-04-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/133854 ___ 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] 8392666 - Revert "[cmake] Refactor clang unittest cmake (#133545)"

2025-04-04 Thread via llvm-branch-commits
Author: dpalermo Date: 2025-04-01T22:15:57-05:00 New Revision: 8392666bb92c87127db2ecbb85523bd64bfabcd7 URL: https://github.com/llvm/llvm-project/commit/8392666bb92c87127db2ecbb85523bd64bfabcd7 DIFF: https://github.com/llvm/llvm-project/commit/8392666bb92c87127db2ecbb85523bd64bfabcd7.diff LOG:

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for extends and trunc (PR #132383)

2025-04-04 Thread Pierre van Houtryve via llvm-branch-commits
@@ -489,22 +489,61 @@ RegBankLegalizeRules::RegBankLegalizeRules(const GCNSubtarget &_ST, .Uni(B32, {{SgprB32}, {Sgpr32AExtBoolInReg, SgprB32, SgprB32}}); addRulesForGOpcs({G_ANYEXT}) + .Any({{UniS16, S1}, {{None}, {None}}}) // should be combined away .Any

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix deployment targets that were incorrectly bumped (#134278) (PR #134435)

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: None (llvmbot) Changes Backport a97f73405f8e074263a0ed2dd2b8c87c014f46d9 Requested by: @ldionne --- Full diff: https://github.com/llvm/llvm-project/pull/134435.diff 1 Files Affected: - (modified) libcxx/include/__configuration/availab

[llvm-branch-commits] [llvm] [SDAG] Introduce inbounds flag for pointer arithmetic (PR #131862)

2025-04-04 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: > I think if we add something called "inbounds" to SelectionDAG, it will > inevitably get misused for other purposes, though. Wouldn't we have any problems that would introduce already with inbounds GEPs in the IR? Assuming we introduce ISD::PTRADD and only give inbounds a m

[llvm-branch-commits] [llvm] [ctxprof] Use `isInSpecializedModule` as criteria for using contextual profile (PR #134468)

2025-04-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/134468 None >From e935ffab268301aa1b23f41facd9f800c8842a96 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Fri, 4 Apr 2025 13:18:32 -0700 Subject: [PATCH] [ctxprof] Use `isInSpecializedModule` as criteria for using

[llvm-branch-commits] [clang] 1237245 - Revert "[Clang] [NFC] Introduce a helper for emitting compatibility diagnosti…"

2025-04-04 Thread via llvm-branch-commits
Author: Sirraide Date: 2025-04-02T08:28:09+02:00 New Revision: 12372457f6284197ba610616c3fdd4ddea937d5c URL: https://github.com/llvm/llvm-project/commit/12372457f6284197ba610616c3fdd4ddea937d5c DIFF: https://github.com/llvm/llvm-project/commit/12372457f6284197ba610616c3fdd4ddea937d5c.diff LOG:

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-04 Thread Kai Nacke via llvm-branch-commits
redstar wrote: I refactored the code in the suggested way. Some notes: - I section to emit the code/data is either the ED or the PR. The other sections are linked via the `Parent` pointer. `MCGOFFStreamer::changeSection()` makes sure that all sections are registered in the correct order. - I u

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix deployment targets that were incorrectly bumped (#134278) (PR #134435)

2025-04-04 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/134435 Backport a97f73405f8e074263a0ed2dd2b8c87c014f46d9 Requested by: @ldionne >From 98cff83467d2e63d6805cb4d138a785865a45e34 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 4 Apr 2025 14:56:26 -0400 Subject:

[llvm-branch-commits] [libcxx] release/20.x: [libcxx] Add a missing include for __bit_iterator (#127015) (PR #131382)

2025-04-04 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne approved this pull request. Now that we have a better understanding that this is a workaround for an issue, how to reproduce the issue, etc, I am comfortable with cherry-picking this to LLVM 20. I don't think this is necessarily the workaround we'll want to keep fore

[llvm-branch-commits] [llvm] [LoopInterchange] Improve profitability check for vectorization (PR #133672)

2025-04-04 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/133672 >From 692e4de4f84281f8c2bc5f7278f8066929df3cd6 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Thu, 27 Mar 2025 10:45:26 + Subject: [PATCH] [LoopInterchange] Improve profitability check for vectorizat

[llvm-branch-commits] [llvm] [ctxprof] Use `isInSpecializedModule` as criteria for using contextual profile (PR #134468)

2025-04-04 Thread Mircea Trofin via llvm-branch-commits
mtrofin 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/134468?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] gn build: Add check-builtins target. (PR #134482)

2025-04-04 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/134482 >From bc8dda56bcfadc6d7312b53313159a978d71f4fb Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 4 Apr 2025 22:10:52 -0700 Subject: [PATCH] Remove unnecessary code Created using spr 1.3.6-beta.1 --- ...

[llvm-branch-commits] gn build: Add check-builtins target. (PR #134482)

2025-04-04 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc created https://github.com/llvm/llvm-project/pull/134482 Tested on aarch64 Linux and x86_64 Linux. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bra

[llvm-branch-commits] [llvm] [LoopInterchange] Improve profitability check for vectorization (PR #133672)

2025-04-04 Thread Sjoerd Meijer via llvm-branch-commits
@@ -80,6 +80,21 @@ enum class RuleTy { ForVectorization, }; +/// Store the information about if corresponding direction vector was negated sjoerdmeijer wrote: Before I keep reading the rest of this patch, just wanted to share this first question that I had

[llvm-branch-commits] libcxx: In gdb test detect execute_mi with feature check instead of version check. (PR #132291)

2025-04-04 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc created https://github.com/llvm/llvm-project/pull/132291 The existing version check can lead to test failures on some distribution packages of gdb where not all components of the version number are integers, such as Fedora where gdb.VERSION can be something like "15.2-4.fc4

[llvm-branch-commits] [clang] [Clang][Backport] Demote mixed enumeration arithmetic error to a warning (PR #131853)

2025-04-04 Thread via llvm-branch-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/131853 >From 11518ee84c9442934cd85ca99567a7f3fc3ba827 Mon Sep 17 00:00:00 2001 From: cor3ntin Date: Tue, 18 Mar 2025 16:45:37 +0100 Subject: [PATCH 1/2] [Clang][Backport] Demote mixed enumeration arithmetic error to

[llvm-branch-commits] [llvm] [AMDGPU] Precommit si-fold-bitmask.mir (PR #131310)

2025-04-04 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh closed https://github.com/llvm/llvm-project/pull/131310 ___ 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] Gadget scanner: Detect address materialization and arithmetics (PR #132540)

2025-04-04 Thread Kristof Beyls via llvm-branch-commits
@@ -304,6 +304,36 @@ class AArch64MCPlusBuilder : public MCPlusBuilder { } } + MCPhysReg getSafelyMaterializedAddressReg(const MCInst &Inst) const override { +switch (Inst.getOpcode()) { +case AArch64::ADR: +case AArch64::ADRP: kbeyls wrote

[llvm-branch-commits] [clang] [clang-tools-extra] [libcxx] [clang] improved preservation of template keyword (PR #133610)

2025-04-04 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 edited https://github.com/llvm/llvm-project/pull/133610 ___ 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] [lldb] release/20.x: [LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK, WATCH} (#126020) (PR #134479)

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (llvmbot) Changes Backport 50ae1c7 Requested by: @ziyao233 --- Full diff: https://github.com/llvm/llvm-project/pull/134479.diff 1 Files Affected: - (modified) lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_loongarch6

[llvm-branch-commits] [lldb] release/20.x: [LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK, WATCH} (#126020) (PR #134479)

2025-04-04 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/134479 Backport 50ae1c7 Requested by: @ziyao233 >From e5ea8aee19a9f3b82bed91c6c947965ed613741e Mon Sep 17 00:00:00 2001 From: Tiezhu Yang Date: Fri, 7 Feb 2025 11:18:40 +0800 Subject: [PATCH] [LLDB][LoongArch] Fix bu

[llvm-branch-commits] [lldb] release/20.x: [LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK, WATCH} (#126020) (PR #134479)

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

[llvm-branch-commits] [lldb] release/20.x: [LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK, WATCH} (#126020) (PR #134479)

2025-04-04 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/134479 ___ 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] [LoopInterchange] Fix the vectorizable check for a loop (PR #133667)

2025-04-04 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/133667 >From bd84ddc9e4dc645e965b2a6dc535a3023e0d7e45 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Thu, 27 Mar 2025 09:52:16 + Subject: [PATCH] [LoopInterchange] Fix the vectorizable check for a loop In t

[llvm-branch-commits] [clang-tools-extra] release/20.x: [clang-tidy] Fix broken HeaderFilterRegex when read from config file (#133582) (PR #134215)

2025-04-04 Thread Carlos Galvez via llvm-branch-commits
carlosgalvezp wrote: > It's ok as far as it works. Personally if we do not utilize that optional, > then probably it should be removed. It's essentially a revert. I agree that our usage of optional in the Options is not good, we should improve that on a separate patch. https://github.com/llvm

[llvm-branch-commits] [clang] release/20.x: cuda clang: Fix argument order for __reduce_max_sync (#132881) (PR #134295)

2025-04-04 Thread Durgadoss R via llvm-branch-commits
https://github.com/durga4github approved this pull request. https://github.com/llvm/llvm-project/pull/134295 ___ 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] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Petr Hosek via llvm-branch-commits
@@ -545,9 +545,27 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back(Arch == llvm::Triple::aarch64_be ? "-EB" : "-EL"); } - if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, - options::OPT_r

[llvm-branch-commits] [llvm] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds (PR #132353)

2025-04-04 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/132353 ___ 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: Introduce runtime functions for emulated PAC. (PR #133530)

2025-04-04 Thread Jon Roelofs via llvm-branch-commits
@@ -0,0 +1,115 @@ +#include + +#define XXH_INLINE_ALL +#define XXH_NO_STDLIB +#define XXH_memcpy __builtin_memcpy +#define XXH_memset __builtin_memset +#define XXH_memcmp __builtin_memcmp +#include "../xxhash.h" + +// EmuPAC implements runtime emulation of PAC instructions. If th

[llvm-branch-commits] [llvm] 0d0bb63 - Revert "[AMDGPU][CodeGenPrepare] Narrow 64 bit math to 32 bit if profitable (…"

2025-04-04 Thread via llvm-branch-commits
Author: Shoreshen Date: 2025-04-01T16:24:54+08:00 New Revision: 0d0bb63b43da23bc625139c096bc2ebe8be28fbf URL: https://github.com/llvm/llvm-project/commit/0d0bb63b43da23bc625139c096bc2ebe8be28fbf DIFF: https://github.com/llvm/llvm-project/commit/0d0bb63b43da23bc625139c096bc2ebe8be28fbf.diff LOG

[llvm-branch-commits] [mlir] [mlir][memref] Verify out-of-bounds access for `memref.subview` (PR #131876)

2025-04-04 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer edited https://github.com/llvm/llvm-project/pull/131876 ___ 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] [ctxprof][nfc] Move 2 implementation functions up in `CtxInstrProfiling.cpp` (PR #133146)

2025-04-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/133146 >From 5579f73a4ad3d8205608eecde962257077578685 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 26 Mar 2025 10:10:43 -0700 Subject: [PATCH] [ctxprof][nfc] Move 2 implementation functions up in `CtxInstrP

[llvm-branch-commits] [llvm] ddb09a0 - Revert "[AArch64][SVE] Use FeatureUseFixedOverScalableIfEqualCost for A510 a…"

2025-04-04 Thread via llvm-branch-commits
Author: Nashe Mncube Date: 2025-04-04T14:36:21+01:00 New Revision: ddb09a0c9c764b0195ddbf3916782d0a84bb484a URL: https://github.com/llvm/llvm-project/commit/ddb09a0c9c764b0195ddbf3916782d0a84bb484a DIFF: https://github.com/llvm/llvm-project/commit/ddb09a0c9c764b0195ddbf3916782d0a84bb484a.diff

[llvm-branch-commits] [libcxx] [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (#131921) (PR #134406)

2025-04-04 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/134406 There were some remaining headers that were not guarded with _LIBCPP_HAS_LOCALIZATION, leading to errors when trying to use modules on platforms that don't support localization (since all the headers get pulled

[llvm-branch-commits] [libcxx] [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (#131921) (PR #134406)

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Louis Dionne (ldionne) Changes There were some remaining headers that were not guarded with _LIBCPP_HAS_LOCALIZATION, leading to errors when trying to use modules on platforms that don't support localization (since all the headers get pu

[llvm-branch-commits] [clang] Revert "[clang] [ARM] Explicitly enable NEON for Windows/Darwin targets (#122095)" (PR #134407)

2025-04-04 Thread Martin Storsjö via llvm-branch-commits
https://github.com/mstorsjo created https://github.com/llvm/llvm-project/pull/134407 This reverts commit 8fa0f0efce5fb81eb422e6d7eec74c66dafef4a3. This change broke assembling for e.g. "armv7s-apple-darwin" triples, which should enable VFPv4 by default (and did that before this change), but af

[llvm-branch-commits] [libcxx] [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (#131921) (PR #134406)

2025-04-04 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne milestoned https://github.com/llvm/llvm-project/pull/134406 ___ 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] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
@@ -545,9 +545,27 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back(Arch == llvm::Triple::aarch64_be ? "-EB" : "-EL"); } - if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, - options::OPT_r

[llvm-branch-commits] [clang] Revert "[clang] [ARM] Explicitly enable NEON for Windows/Darwin targets (#122095)" (PR #134407)

2025-04-04 Thread Martin Storsjö via llvm-branch-commits
https://github.com/mstorsjo milestoned https://github.com/llvm/llvm-project/pull/134407 ___ 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] Revert "[clang] [ARM] Explicitly enable NEON for Windows/Darwin targets (#122095)" (PR #134407)

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-arm Author: Martin Storsjö (mstorsjo) Changes This reverts commit 8fa0f0efce5fb81eb422e6d7eec74c66dafef4a3. This change broke assembling for e.g. "armv7s-apple-darwin" triples, which should enable VFPv4 by default (and did that before this chan

[llvm-branch-commits] [clang] Revert "[clang] [ARM] Explicitly enable NEON for Windows/Darwin targets (#122095)" (PR #134407)

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Martin Storsjö (mstorsjo) Changes This reverts commit 8fa0f0efce5fb81eb422e6d7eec74c66dafef4a3. This change broke assembling for e.g. "armv7s-apple-darwin" triples, which should enable VFPv4 by default (and did that before this cha

[llvm-branch-commits] [clang] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
@@ -545,9 +545,27 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back(Arch == llvm::Triple::aarch64_be ? "-EB" : "-EL"); } - if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, - options::OPT_r

[llvm-branch-commits] [clang] [RISCV] Integrate RISCV target in baremetal toolchain object and deprecate RISCVToolchain object (PR #121831)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/121831 >From d2ec1a627542ce41c5ef7c2faa5149e8d96b4c5a Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 6 Jan 2025 10:05:08 -0800 Subject: [PATCH] [RISCV] Integrate RISCV target in baremetal toolchain object

[llvm-branch-commits] [clang-tools-extra] release/20.x: [clang-tidy] Fix broken HeaderFilterRegex when read from config file (#133582) (PR #134215)

2025-04-04 Thread Piotr Zegar via llvm-branch-commits
https://github.com/PiotrZSL approved this pull request. It's ok as far as it works. Personally if we do not utilize that optional, then probably it should be removed. https://github.com/llvm/llvm-project/pull/134215 ___ llvm-branch-commits mailing lis

[llvm-branch-commits] [clang] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
@@ -545,9 +545,27 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back(Arch == llvm::Triple::aarch64_be ? "-EB" : "-EL"); } - if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, - options::OPT_r

[llvm-branch-commits] [clang] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/121830 >From ef7e1d493d8621a78bea93454b14ac3b4e9d5673 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 04:58:57 -0700 Subject: [PATCH] [Driver] Add support for crtbegin.o, crtend.o and libgloss

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

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-powerpc @llvm/pr-subscribers-backend-aarch64 Author: Sander de Smalen (sdesmalen-arm) Changes I had to previously revert #123632 due to failures on X86 and it took me a while before I had the time to get back to this. This PR tries to reland t

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

2025-04-04 Thread Sander de Smalen via llvm-branch-commits
@@ -329,11 +329,10 @@ define <2 x half> @chain_hi_to_lo_global() { ; GFX11-TRUE16: ; %bb.0: ; %bb ; GFX11-TRUE16-NEXT:s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) ; GFX11-TRUE16-NEXT:v_mov_b32_e32 v0, 2 -; GFX11-TRUE16-NEXT:v_mov_b32_e32 v1, 0 +; GFX11-TRUE16-NEXT:

[llvm-branch-commits] [lldb] e789e78 - Revert "[LLDB] Expose checking if the symbol file exists/is loaded via SBModu…"

2025-04-04 Thread via llvm-branch-commits
Author: Jacob Lalonde Date: 2025-04-03T20:45:32-07:00 New Revision: e789e78d20c0dfe70d4e977b259460f1c8008515 URL: https://github.com/llvm/llvm-project/commit/e789e78d20c0dfe70d4e977b259460f1c8008515 DIFF: https://github.com/llvm/llvm-project/commit/e789e78d20c0dfe70d4e977b259460f1c8008515.diff

[llvm-branch-commits] [llvm] release/20.x: [X86] When expanding LCMPXCHG16B_SAVE_RBX, substitute RBX in base (#134109) (PR #134331)

2025-04-04 Thread Phoebe Wang via llvm-branch-commits
phoebewang wrote: > @phoebewang What do you think about merging this PR to the release branch? I think it's ok to merge. https://github.com/llvm/llvm-project/pull/134331 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://l

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-04 Thread Ulrich Weigand via llvm-branch-commits
uweigand wrote: > I think that splitting the SD/ED/LD into 3 "section"s implies that a > MCSectionGOFF has a fundamentally different semantic than the other > MCSectionXXX. This is something I would like to avoid. On the other hand, the > SD/ED pair is almost the same as an ELF section, so jus

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: Kai Nacke (redstar) Changes The GOFF format uses symbol definitions to represent sections and symbols. Introducing a section can require up to 3 symbol definitions. However, most of these details are not needed by the AsmPrinter. To mapped f

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: analyze functions without CFG information (PR #133461)

2025-04-04 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/133461 >From 5a549c4cdc7d452e0579608f51adeb67eff5efe7 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Wed, 19 Mar 2025 18:58:32 +0300 Subject: [PATCH 1/4] [BOLT] Gadget scanner: analyze functions without CF

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: analyze functions without CFG information (PR #133461)

2025-04-04 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/133461 >From 5a549c4cdc7d452e0579608f51adeb67eff5efe7 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Wed, 19 Mar 2025 18:58:32 +0300 Subject: [PATCH 1/4] [BOLT] Gadget scanner: analyze functions without CF

[llvm-branch-commits] [llvm] [BOLT] Make DataflowAnalysis::getStateBefore() const (NFC) (PR #133308)

2025-04-04 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/133308 >From 05852d602b5d1106067d859381fada2c780239b6 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Thu, 27 Mar 2025 21:06:55 +0300 Subject: [PATCH] [BOLT] Make DataflowAnalysis::getStateBefore() const (N

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-04 Thread Fangrui Song via llvm-branch-commits
@@ -19,7 +19,7 @@ ; CHECK:.quad L#PPA2-CELQSTRT * A(PPA2-CELQSTRT) ; CHECK: L#PPA1_void_test_0: ; CHECK:.long L#PPA2-L#PPA1_void_test_0 * Offset to PPA2 -; CHECK:.section"B_IDRL" +; CHECK:.section".idrl" MaskRay

[llvm-branch-commits] [llvm] [LV] Reduce register usage for scaled reductions (PR #133090)

2025-04-04 Thread Sam Tebbs via llvm-branch-commits
https://github.com/SamTebbs33 edited https://github.com/llvm/llvm-project/pull/133090 ___ 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] [Driver] Fix link order of BareMetal toolchain object (PR #132806)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132806 >From 9c67ffb3e6ef1a5365aed5e00f3b1b1aee82b28f Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 06:17:42 -0700 Subject: [PATCH] [Driver] Fix link order of BareMetal toolchain object The

[llvm-branch-commits] [clang] [RISCV] Integrate RISCV target in baremetal toolchain object and deprecate RISCVToolchain object (PR #121831)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/121831 >From eaa96afd599216f042fd01fbe7f6f30a851add38 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 6 Jan 2025 10:05:08 -0800 Subject: [PATCH] [RISCV] Integrate RISCV target in baremetal toolchain object

[llvm-branch-commits] [clang] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/121830 >From 05930f0e10391684df5cc24ed4a3460583a0ccd7 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 04:58:57 -0700 Subject: [PATCH] [Driver] Add support for crtbegin.o, crtend.o and libgloss

[llvm-branch-commits] [clang] [Driver] Forward sysroot from Driver to linker in BareMetal ToolChain Object (PR #132808)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132808 >From 3d7bc6fda9dd5d4c69ea36f26ffebff052fd3d7b Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 07:04:59 -0700 Subject: [PATCH] [Driver] Forward sysroot from Driver to linker in BareMetal

[llvm-branch-commits] [clang] [Driver] Fix link order of BareMetal toolchain object (PR #132806)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132806 >From 34b8356347f3a8a7dd729e547c888448f41dfb99 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 06:17:42 -0700 Subject: [PATCH] [Driver] Fix link order of BareMetal toolchain object The

[llvm-branch-commits] [clang] [Driver] Add option to force undefined symbols during linking in BareMetal toolchain object. (PR #132807)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132807 >From b3b8c8e629ea6fca9444f01ebd51939eb4fe1673 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 06:49:09 -0700 Subject: [PATCH] [Driver] Add option to force udnefined symbols during linki

[llvm-branch-commits] [clang] [Driver] Forward sysroot from Driver to linker in BareMetal ToolChain Object (PR #132808)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132808 >From c74186f7a40031a04113d7cd17841152e4dd4229 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 07:04:59 -0700 Subject: [PATCH] [Driver] Forward sysroot from Driver to linker in BareMetal

[llvm-branch-commits] [clang] release/20.x: cuda clang: Fix argument order for __reduce_max_sync (#132881) (PR #134295)

2025-04-04 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/134295 Backport 2d1517d Requested by: @Artem-B >From b55d12882f761ecbefe488c7357b7ff55a2bd56e Mon Sep 17 00:00:00 2001 From: Austin Schuh Date: Wed, 26 Mar 2025 13:54:58 -0700 Subject: [PATCH] cuda clang: Fix argumen

[llvm-branch-commits] [clang] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Petr Hosek via llvm-branch-commits
@@ -545,9 +545,27 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back(Arch == llvm::Triple::aarch64_be ? "-EB" : "-EL"); } - if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, - options::OPT_r

[llvm-branch-commits] [clang] [Driver] Add option to force undefined symbols during linking in BareMetal toolchain object. (PR #132807)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132807 >From 789d8f235791aa02915259ec59d679c6b02ccae9 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 06:49:09 -0700 Subject: [PATCH] [Driver] Add option to force udnefined symbols during linki

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Add missing release note for LLVM 20 about zip_view (#134144) (PR #134313)

2025-04-04 Thread A. Jiang via llvm-branch-commits
https://github.com/frederick-vs-ja approved this pull request. https://github.com/llvm/llvm-project/pull/134313 ___ 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] [GOFF] Add writing of section symbols (PR #133799)

2025-04-04 Thread Kai Nacke via llvm-branch-commits
redstar wrote: > Thinking a bit more about this, it looks to me that we should treat SD/ED/PR > on the one hand differently from LD (and ER) on the other. The former > identify a range of address space and may hold contents of those ranges in > the form of text records; the latter identify a s

[llvm-branch-commits] [llvm] [LV] Reduce register usage for scaled reductions (PR #133090)

2025-04-04 Thread Sam Tebbs via llvm-branch-commits
@@ -2031,17 +2033,19 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe, /// scalar value. class VPPartialReductionRecipe : public VPSingleDefRecipe { unsigned Opcode; + unsigned ScaleFactor; SamTebbs33 wrote: Done. https://github.com/llvm/llvm-proje

[llvm-branch-commits] [llvm] [SDAG] Introduce inbounds flag for pointer arithmetic (PR #131862)

2025-04-04 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/131862 >From bd22087405bdf669eca230dcf0656dd14b290083 Mon Sep 17 00:00:00 2001 From: Fabian Ritter Date: Mon, 17 Mar 2025 06:51:16 -0400 Subject: [PATCH] [SDAG] Introduce inbounds flag for pointer arithmetic This p

[llvm-branch-commits] [clang-tools-extra] release/20.x: [clang-tidy] Fix broken HeaderFilterRegex when read from config file (#133582) (PR #134215)

2025-04-04 Thread Carlos Galvez via llvm-branch-commits
https://github.com/carlosgalvezp updated https://github.com/llvm/llvm-project/pull/134215 >From d868cc50a9aa0884a360c20179a8a921417d867c Mon Sep 17 00:00:00 2001 From: Carlos Galvez Date: Thu, 3 Apr 2025 09:28:34 +0200 Subject: [PATCH] [clang-tidy] Fix broken HeaderFilterRegex when read from c

[llvm-branch-commits] [mlir] [mlir][memref] Check memory space before lowering alloc ops (PR #134427)

2025-04-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Matthias Springer (matthias-springer) Changes Check the memory space before lowering allocation ops, instead of starting the lowering and then rolling back the pattern when the memory space was found to be incompatible with LLVM. Note: Th

[llvm-branch-commits] [mlir] [mlir][memref] Check memory space before lowering alloc ops (PR #134427)

2025-04-04 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/134427 Check the memory space before lowering allocation ops, instead of starting the lowering and then rolling back the pattern when the memory space was found to be incompatible with LLVM. Note: This is i

[llvm-branch-commits] [clang] [Driver] Fix link order of BareMetal toolchain object (PR #132806)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132806 >From d74ec9a3ef550fba3f7dc9c7734c9d5bb096c288 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 06:17:42 -0700 Subject: [PATCH] [Driver] Fix link order of BareMetal toolchain object The

[llvm-branch-commits] [clang] [Driver] Forward sysroot from Driver to linker in BareMetal ToolChain Object (PR #132808)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132808 >From c5f98ad8993db4dc1386e393f8218f7e44cf9bb5 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 07:04:59 -0700 Subject: [PATCH] [Driver] Forward sysroot from Driver to linker in BareMetal

[llvm-branch-commits] [clang] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/121830 >From 7013325dc42da6df36cfeaa40e88d86592055d5a Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 04:58:57 -0700 Subject: [PATCH] [Driver] Add support for crtbegin.o, crtend.o and libgloss

[llvm-branch-commits] [clang] [Driver] Add option to force undefined symbols during linking in BareMetal toolchain object. (PR #132807)

2025-04-04 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132807 >From bfba89a42967789abe53863e9dbbce84332e1596 Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 06:49:09 -0700 Subject: [PATCH] [Driver] Add option to force udnefined symbols during linki

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for AND OR and XOR (PR #132382)

2025-04-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic created https://github.com/llvm/llvm-project/pull/132382 Uniform S1 is lowered to S32. Divergent S1 is selected as VCC(S1) instruction select will select SALU instruction based on wavesize (S32 or S64). S16 are selected as is. There are register classes for vgp

[llvm-branch-commits] [compiler-rt] release/20.x: [rtsan][Apple] Add interceptor for _os_nospin_lock_lock (#131034) (PR #132997)

2025-04-04 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/132997 Backport 481a55a3d9645a6bc1540d326319b78ad8ed8db1 Requested by: @wrotki >From e2c95b17d56f210927b9ec695126ae0d264c93e7 Mon Sep 17 00:00:00 2001 From: davidtrevelyan Date: Thu, 13 Mar 2025 10:18:25 + Subjec

[llvm-branch-commits] [CI] Move CI over to new project computation script (PR #132642)

2025-04-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/132642 This patch migrates the CI over to the new compute_projects.py script for calculating what projects need to be tested based on a change to LLVM. ___ llvm-bran

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for bit shifts and sext-inreg (PR #132385)

2025-04-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132385 >From 9f92e94f7171f9e04405dee69b0f69ea80fbeb2f Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Fri, 21 Mar 2025 13:12:11 +0100 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for bit s

[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

2025-04-04 Thread Florian Mayer via llvm-branch-commits
@@ -635,6 +635,13 @@ class CGDebugInfo { llvm::DILocation *CreateTrapFailureMessageFor(llvm::DebugLoc TrapLocation, StringRef Category, StringRef FailureMsg); + /// Create a debug

[llvm-branch-commits] [clang] release/20.x: [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863) (PR #134194)

2025-04-04 Thread Erich Keane via llvm-branch-commits
erichkeane wrote: > @erichkeane What do you think about merging this PR to the release branch? I'm on the fence. It IS a regression that we should fix, and the new version is significantly better of an implementation than we already have, but the risk of further regression is non-zero (and on

[llvm-branch-commits] [llvm] release/20.x: [LoongArch][MC] Add relocation support for fld fst [x]vld [x]vst (PR #133836)

2025-04-04 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/133836 ___ 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: Introduce runtime functions for emulated PAC. (PR #133530)

2025-04-04 Thread Peter Collingbourne via llvm-branch-commits
@@ -0,0 +1,115 @@ +#include + +#define XXH_INLINE_ALL +#define XXH_NO_STDLIB +#define XXH_memcpy __builtin_memcpy +#define XXH_memset __builtin_memset +#define XXH_memcmp __builtin_memcmp +#include "../xxhash.h" + +// EmuPAC implements runtime emulation of PAC instructions. If th

[llvm-branch-commits] [llvm] llvm-reduce: Fix losing fast math flags in operands-to-args (PR #133421)

2025-04-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/133421 >From 1ef46ecbad539c23e95a02dd5f0a8f9f28b5865d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 28 Mar 2025 18:00:05 +0700 Subject: [PATCH] llvm-reduce: Fix losing fast math flags in operands-to-args ---

[llvm-branch-commits] [llvm] [LoopInterchange] Add tests for the vectorization profitability (NFC) (PR #133665)

2025-04-04 Thread Ryotaro Kasuga via llvm-branch-commits
kasuga-fj wrote: Depends on #133664 (Sorry for inconvenience, I tried using [Graphite](https://app.graphite.dev/), but it didn't work fine due to my network problem). https://github.com/llvm/llvm-project/pull/133665 ___ llvm-branch-commits mailing li

[llvm-branch-commits] [llvm] llvm-reduce: Fix introducing unreachable code in simplify conditionals (PR #133842)

2025-04-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/133842 ___ 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] [LV] Reduce register usage for scaled reductions (PR #133090)

2025-04-04 Thread Sam Tebbs via llvm-branch-commits
@@ -5026,10 +5026,23 @@ calculateRegisterUsage(VPlan &Plan, ArrayRef VFs, // even in the scalar case. RegUsage[ClassID] += 1; } else { +// The output from scaled phis and scaled reductions actually have +// fewer lanes

[llvm-branch-commits] [llvm] [LV] Reduce register usage for scaled reductions (PR #133090)

2025-04-04 Thread Sam Tebbs via llvm-branch-commits
@@ -5026,10 +5026,24 @@ calculateRegisterUsage(VPlan &Plan, ArrayRef VFs, // even in the scalar case. RegUsage[ClassID] += 1; } else { +// The output from scaled phis and scaled reductions actually have +// fewer lanes

[llvm-branch-commits] [llvm] eec5039 - Revert "[Metadata] Preserve MD_prof when merging instructions when one is mis…"

2025-04-04 Thread via llvm-branch-commits
Author: Snehasish Kumar Date: 2025-04-02T22:08:33-07:00 New Revision: eec5039bb4f01dd3067fce475ff8bf65297ed4ba URL: https://github.com/llvm/llvm-project/commit/eec5039bb4f01dd3067fce475ff8bf65297ed4ba DIFF: https://github.com/llvm/llvm-project/commit/eec5039bb4f01dd3067fce475ff8bf65297ed4ba.dif

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix deployment targets that were incorrectly bumped (#134278) (PR #134435)

2025-04-04 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/134435 ___ 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] 63bf5d5 - Revert "[clang] add support for -Wpadded on Windows (#130182)"

2025-04-04 Thread via llvm-branch-commits
Author: Alex Bradbury Date: 2025-04-03T13:12:30+01:00 New Revision: 63bf5d531c46cbc9c1571debf285fc51463f007d URL: https://github.com/llvm/llvm-project/commit/63bf5d531c46cbc9c1571debf285fc51463f007d DIFF: https://github.com/llvm/llvm-project/commit/63bf5d531c46cbc9c1571debf285fc51463f007d.diff

[llvm-branch-commits] [flang] [flang][OpenMP] Extend `do concurrent` mapping to multi-range loops (PR #127634)

2025-04-04 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak approved this pull request. Thank you Kareem, LGTM! https://github.com/llvm/llvm-project/pull/127634 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm

[llvm-branch-commits] [llvm] llvm-reduce: Fix losing call metadata in operands-to-args (PR #133422)

2025-04-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/133422 >From 2bd8ae1562c25fbd2273d19db59e320292595786 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 28 Mar 2025 18:01:39 +0700 Subject: [PATCH] llvm-reduce: Fix using call metadata in operands-to-args --- .

  1   2   >