[llvm-branch-commits] [llvm] [LoopVectorizer] Prune VFs based on plan register pressure (PR #132190)

2025-04-07 Thread Sam Tebbs via llvm-branch-commits
https://github.com/SamTebbs33 edited https://github.com/llvm/llvm-project/pull/132190 ___ 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] AArch64: Relax x16/x17 constraint on AUT in certain cases. (PR #132857)

2025-04-07 Thread Anatoly Trosinenko via llvm-branch-commits
atrosinenko wrote: Tagging @asl https://github.com/llvm/llvm-project/pull/132857 ___ 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] [KeyInstr][Clang] Static variable init atom (PR #134636)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams 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/134636?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [KeyInstr][Clang] For range stmt atoms (PR #134647)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams 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/134647?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [KeyInstr][Clang] Assign matrix element atom (PR #134650)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Orlando Cazalet-Hyams (OCHyams) Changes This patch is part of a stack that teaches Clang to generate Key Instructions metadata for C and C++. The Key Instructions project is introduced, including a "quick summary" section at the top which

[llvm-branch-commits] [clang] [KeyInstr][Clang] Scalar init atom (PR #134633)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Orlando Cazalet-Hyams (OCHyams) Changes This patch is part of a stack that teaches Clang to generate Key Instructions metadata for C and C++. The Key Instructions project is introduced, including a "quick summary" section at the top which

[llvm-branch-commits] [clang] [KeyInstr][Clang] While stmt atom (PR #134645)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams 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/134645?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [KeyInstr][Clang] Do stmt atom (PR #134644)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Orlando Cazalet-Hyams (OCHyams) Changes See test comment for possible future improvement. This patch is part of a stack that teaches Clang to generate Key Instructions metadata for C and C++. The Key Instructions project is introduced, in

[llvm-branch-commits] [clang] [KeyInstr][Clang] Assign vector element atom (PR #134649)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Orlando Cazalet-Hyams (OCHyams) Changes This patch is part of a stack that teaches Clang to generate Key Instructions metadata for C and C++. The Key Instructions project is introduced, including a "quick summary" section at the to

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

2025-04-07 Thread David Spickett via llvm-branch-commits
https://github.com/DavidSpickett approved this pull request. 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] Release/20.x: [clang-format] Set C11 instead of C17 for LK_C (PR #134514)

2025-04-07 Thread via llvm-branch-commits
https://github.com/mydeveloperday approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/134514 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-comm

[llvm-branch-commits] [clang] [KeyInstr][Clang] Add Clang option -g[no-]key-instructions (PR #134627)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/134627 This needs to be driver level to pass an -mllvm flag to LLVM. Keep the flag help-hidden as the feature is under development. --- This patch is part of a stack that teaches Clang to generate Key Instructions me

[llvm-branch-commits] [clang] [KeyInstr][Clang] Add Clang option -g[no-]key-instructions (PR #134627)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams 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/134627?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [KeyInstr][Clang] Add Clang option -g[no-]key-instructions (PR #134627)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams ready_for_review https://github.com/llvm/llvm-project/pull/134627 ___ 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] [KeyInstr][Clang] Add Clang option -g[no-]key-instructions (PR #134627)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Orlando Cazalet-Hyams (OCHyams) Changes This needs to be driver level to pass an -mllvm flag to LLVM. Keep the flag help-hidden as the feature is under development. --- This patch is part of a stack that teaches Clang to generate

[llvm-branch-commits] [clang] [KeyInstr][Clang] Add Clang option -g[no-]key-instructions (PR #134627)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Orlando Cazalet-Hyams (OCHyams) Changes This needs to be driver level to pass an -mllvm flag to LLVM. Keep the flag help-hidden as the feature is under development. --- This patch is part of a stack that teaches Clang to generate Key Ins

[llvm-branch-commits] [flang] [flang][OpenMP][HLFIR] Support vector subscripted array sections for DEPEND (PR #133892)

2025-04-07 Thread Tom Eccles via llvm-branch-commits
tblah wrote: Ping for review. @vzakhari are you happy with the change to `hlfir.elemental_addr`? https://github.com/llvm/llvm-project/pull/133892 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/ma

[llvm-branch-commits] [clang] [flang] [llvm] [mlir] [OpenMPIRBuilder] Use BuildBuiltins for atomic operations (PR #101966)

2025-04-07 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/101966 ___ 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-07 Thread Jack Styles via llvm-branch-commits
https://github.com/Stylie777 approved this pull request. LGTM 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] [KeyInstr][Clang] For range stmt atoms (PR #134647)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/134647 This patch is part of a stack that teaches Clang to generate Key Instructions metadata for C and C++. The Key Instructions project is introduced, including a "quick summary" section at the top which adds context

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

2025-04-07 Thread Brox Chen 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] [llvm] PHITransAddr: Avoid looking at constant use lists (PR #134689)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/134689 Avoids asserts in GVN >From a87e23c0785cde8666b354b23225498152c7993a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 07:42:53 +0700 Subject: [PATCH] PHITransAddr: Avoid looking at constant us

[llvm-branch-commits] [llvm] ObjCARCContract: Use stripPointerCastsAndAliases (PR #134275)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134275 >From 981f43526b7467e34201a5ae2c52dd8de1a8d5cd Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 3 Apr 2025 23:44:32 +0700 Subject: [PATCH] ObjCARCContract: Use stripPointerCastsAndAliases --- .../Transf

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/134692 ___ 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] SeparateConstOffsetFromGEP: Avoid looking at constant uses (PR #134685)

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

[llvm-branch-commits] [llvm] SeparateConstOffsetFromGEP: Avoid looking at constant uses (PR #134685)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/134685 ___ 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] SeparateConstOffsetFromGEP: Avoid looking at constant uses (PR #134685)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes We could be more aggressive and inspect uses of global variables, if the use context instruction is in the same function. --- Full diff: https://github.com/llvm/llvm-project/pull/134685.diff 2 Fil

[llvm-branch-commits] [llvm] SeparateConstOffsetFromGEP: Avoid looking at constant uses (PR #134685)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/134685 We could be more aggressive and inspect uses of global variables, if the use context instruction is in the same function. >From aaa35b040045c21b0cb99d2afcfac3e42b55 Mon Sep 17 00:00:00 2001 From: Matt Arsenau

[llvm-branch-commits] [llvm] IROutliner: Fixme relies on constant use lists (PR #134692)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/134692 IROutliner: Fixme relies on constant use lists IR: Remove uselist for constantdata This is a resurrected version of the patch attached to this RFC: https://discourse.llvm.org/t/rfc-constantdata-should-not-have-

[llvm-branch-commits] [llvm] IROutliner: Fixme relies on constant use lists (PR #134692)

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

[llvm-branch-commits] [llvm] SimplifyLibCalls: Skip sincospi optimization for ConstantData (PR #134688)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/134688 Avoids looking at the uselist, and it would probably be more productive to constant fold this. >From fea5554fbd8d6075d5c423a777ac39a6d633e496 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 0

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

2025-04-07 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/133461 >From 59e6eaa6b1d8e5579bc28d2c0df6d7f3db033b3a 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-07 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/133461 >From 59e6eaa6b1d8e5579bc28d2c0df6d7f3db033b3a 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] Reland "RegisterCoalescer: Add implicit-def of super register when coalescing SUBREG_TO_REG" (PR #134408)

2025-04-07 Thread Brox Chen via llvm-branch-commits
https://github.com/broxigarchen edited https://github.com/llvm/llvm-project/pull/134408 ___ 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] 6de19ec - Revert "Reland [Clang][Cmake] fix libtool duplicate member name warnings (#13…"

2025-04-07 Thread via llvm-branch-commits
Author: Farzon Lotfi Date: 2025-04-07T09:59:24-04:00 New Revision: 6de19ec12771b19d50f248221006724b3bbbd869 URL: https://github.com/llvm/llvm-project/commit/6de19ec12771b19d50f248221006724b3bbbd869 DIFF: https://github.com/llvm/llvm-project/commit/6de19ec12771b19d50f248221006724b3bbbd869.diff

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

2025-04-07 Thread Brox Chen via llvm-branch-commits
https://github.com/broxigarchen edited https://github.com/llvm/llvm-project/pull/134408 ___ 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] Reland "RegisterCoalescer: Add implicit-def of super register when coalescing SUBREG_TO_REG" (PR #134408)

2025-04-07 Thread Brox Chen via llvm-branch-commits
https://github.com/broxigarchen edited https://github.com/llvm/llvm-project/pull/134408 ___ 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] [llvm] [mlir] [OpenMPIRBuilder] Use BuildBuildins for atomic operations (PR #101966)

2025-04-07 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/101966 ___ 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] [llvm] [mlir] [OpenMPIRBuilder] Use BuildBuildins for atomic operations (PR #101966)

2025-04-07 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/101966 ___ 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-07 Thread David Sherwood via llvm-branch-commits
@@ -2033,6 +2033,8 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe, /// Generate the phi/select nodes. void execute(VPTransformState &State) override; + unsigned getVFScaleFactor() const { return VFScaleFactor; } david-arm wrote: Perhaps good to

[llvm-branch-commits] [llvm] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Matt Arsenault (arsenm) Changes The codegen test changes seem incidental. Either way, sms-grp-order.ll seems to already not hit the original issue. --- Full diff: https://github.com/llvm/llvm-project/pull/134690.diff 7 Files Af

[llvm-branch-commits] [llvm] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/134690 ___ 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] SCEVExpander: Don't look at uses of constants (PR #134691)

2025-04-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/134691 ___ 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-07 Thread Ulrich Weigand via llvm-branch-commits
@@ -671,24 +672,48 @@ MCContext::getELFUniqueIDForEntsize(StringRef SectionName, unsigned Flags, : std::nullopt; } -MCSectionGOFF *MCContext::getGOFFSection(StringRef Section, SectionKind Kind, - MC

[llvm-branch-commits] [llvm] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-07 Thread Nikita Popov via llvm-branch-commits
@@ -2294,10 +2294,14 @@ collectPromotionCandidates(MemorySSA *MSSA, AliasAnalysis *AA, Loop *L) { AliasSetTracker AST(BatchAA); auto IsPotentiallyPromotable = [L](const Instruction *I) { -if (const auto *SI = dyn_cast(I)) - return L->isLoopInvariant(SI->getPointe

[llvm-branch-commits] [llvm] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-07 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/134690 ___ 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] SCEVExpander: Don't look at uses of constants (PR #134691)

2025-04-07 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn approved this pull request. LGTM, thanks https://github.com/llvm/llvm-project/pull/134691 ___ 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] [clang] [flang] [llvm] [mlir] [Transforms] Introduce BuildBuiltins.h atomic helpers (PR #101966)

2025-04-07 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/101966 ___ 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-07 Thread Ulrich Weigand via llvm-branch-commits
@@ -239,6 +298,63 @@ class GOFFWriter { GOFFWriter::GOFFWriter(raw_pwrite_stream &OS, MCAssembler &Asm) : OS(OS), Asm(Asm) {} +void GOFFWriter::defineSectionSymbols(const MCSectionGOFF &Section) { + if (Section.isSD()) { +GOFFSymbol SD(Section.getName(), Section.getId

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

2025-04-07 Thread Ulrich Weigand via llvm-branch-commits
@@ -599,8 +615,23 @@ class MCContext { unsigned Flags, unsigned EntrySize); - MCSectionGOFF *getGOFFSection(StringRef Section, SectionKind Kind, -

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

2025-04-07 Thread Ulrich Weigand via llvm-branch-commits
@@ -26,6 +27,29 @@ GOFFObjectWriter &MCGOFFStreamer::getWriter() { return static_cast(getAssembler().getWriter()); } +void MCGOFFStreamer::initSections(bool /*NoExecStack*/, + const MCSubtargetInfo &STI) { + MCContext &Ctx = getContext(); +

[llvm-branch-commits] [llvm] SCEVExpander: Don't look at uses of constants (PR #134691)

2025-04-07 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/134691 ___ 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] SimplifyLibCalls: Skip sincospi optimization for ConstantData (PR #134688)

2025-04-07 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/134688 ___ 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-07 Thread Ulrich Weigand via llvm-branch-commits
@@ -26,6 +27,29 @@ GOFFObjectWriter &MCGOFFStreamer::getWriter() { return static_cast(getAssembler().getWriter()); } +void MCGOFFStreamer::initSections(bool /*NoExecStack*/, + const MCSubtargetInfo &STI) { + MCContext &Ctx = getContext(); +

[llvm-branch-commits] [llvm] SeparateConstOffsetFromGEP: Avoid looking at constant uses (PR #134685)

2025-04-07 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 approved this pull request. Seems reasonable to me https://github.com/llvm/llvm-project/pull/134685 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm

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

2025-04-07 Thread Kai Nacke via llvm-branch-commits
@@ -26,6 +27,29 @@ GOFFObjectWriter &MCGOFFStreamer::getWriter() { return static_cast(getAssembler().getWriter()); } +void MCGOFFStreamer::initSections(bool /*NoExecStack*/, + const MCSubtargetInfo &STI) { + MCContext &Ctx = getContext(); +

[llvm-branch-commits] [clang] [llvm] release/20.x: [fatlto] Add coroutine passes when using FatLTO with ThinLTO (#134434) (PR #134711)

2025-04-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/134711 Backport 268c065eab06b81a0d7256ac62c0865b3781e236 Requested by: @nikic >From 6b1ebaea68f1e2140c54cc2c4a271e2847451c08 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 7 Apr 2025 08:41:49 -0700 Subject: [PA

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

2025-04-07 Thread Kai Nacke via llvm-branch-commits
@@ -239,6 +298,63 @@ class GOFFWriter { GOFFWriter::GOFFWriter(raw_pwrite_stream &OS, MCAssembler &Asm) : OS(OS), Asm(Asm) {} +void GOFFWriter::defineSectionSymbols(const MCSectionGOFF &Section) { + if (Section.isSD()) { +GOFFSymbol SD(Section.getName(), Section.getId

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

2025-04-07 Thread Ulrich Weigand via llvm-branch-commits
@@ -239,6 +298,63 @@ class GOFFWriter { GOFFWriter::GOFFWriter(raw_pwrite_stream &OS, MCAssembler &Asm) : OS(OS), Asm(Asm) {} +void GOFFWriter::defineSectionSymbols(const MCSectionGOFF &Section) { + if (Section.isSD()) { +GOFFSymbol SD(Section.getName(), Section.getId

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

2025-04-07 Thread Ulrich Weigand via llvm-branch-commits
uweigand wrote: > I use the ordinal number +1 of the section as the section number, but still > need a counter for the symbols. Can't we just set the ordinal to the correct value to begin with? ELF sets the ordinals while writing out the sections; I think we might as well do the same. (The

[llvm-branch-commits] [clang] [llvm] release/20.x: [fatlto] Add coroutine passes when using FatLTO with ThinLTO (#134434) (PR #134711)

2025-04-07 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. I think this makes sense to backport. https://github.com/llvm/llvm-project/pull/134711 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [llvm] [ctxprof] Use the flattened contextual profile pre-thinlink (PR #134723)

2025-04-07 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/134723 None >From 579bb9c7db80734ed5801af2206edb2b34d006ce Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 7 Apr 2025 11:14:22 -0700 Subject: [PATCH] [ctxprof] Use the flattened contextual profile pre-thinlink

[llvm-branch-commits] [llvm] [ctxprof] Use the flattened contextual profile pre-thinlink (PR #134723)

2025-04-07 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/134723?utm_source=stack-comment-downstack-mergeability-warning";

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

2025-04-07 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] [clang] [KeyIntsr][Clang] Builtins alloca auto-init atom (PR #134651)

2025-04-07 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/134651 [KeyIntsr][Clang] Builtins alloca auto-init atom This patch is part of a stack that teaches Clang to generate Key Instructions metadata for C and C++. The Key Instructions project is introduced, including a "qu

[llvm-branch-commits] [clang] [KeyInstr][Clang] For range stmt atoms (PR #134647)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Orlando Cazalet-Hyams (OCHyams) Changes This patch is part of a stack that teaches Clang to generate Key Instructions metadata for C and C++. The Key Instructions project is introduced, including a "quick summary" section at the top which

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

2025-04-07 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/134468 ___ 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] [ctxprof] Use `isInSpecializedModule` as criteria for using contextual profile (PR #134468)

2025-04-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Mircea Trofin (mtrofin) Changes After #134340, the availability of contextual profile isn't in itself an indication of compiling the module containing all the functions covered by that profile. --- Full diff: https://github.com

<    1   2