[llvm-branch-commits] [llvm] [LoongArch] Reduce number of reserved relocations when relax enabled (PR #153769)

2025-08-15 Thread via llvm-branch-commits
https://github.com/zhaoqi5 updated https://github.com/llvm/llvm-project/pull/153769 >From f67324528d93ca3e908f39e8e89caef5ecc3e11f Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 15 Aug 2025 17:12:33 +0800 Subject: [PATCH 1/2] [LoongArch] Reduce number of reserved relocations when relax enab

[llvm-branch-commits] [llvm] RuntimeLibcalls: Fix building hash table with duplicate entries (PR #153801)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-binary-utilities Author: Matt Arsenault (arsenm) Changes We were sizing the table appropriately for the number of LibcallImpls, but many of those have identical names which were pushing up the collision count unnecessarily. This ends up decreasing t

[llvm-branch-commits] [llvm] RuntimeLibcalls: Fix building hash table with duplicate entries (PR #153801)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-tablegen Author: Matt Arsenault (arsenm) Changes We were sizing the table appropriately for the number of LibcallImpls, but many of those have identical names which were pushing up the collision count unnecessarily. This ends up decreasing the table size

[llvm-branch-commits] [llvm] RuntimeLibcalls: Fix building hash table with duplicate entries (PR #153801)

2025-08-15 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/153801 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] RuntimeLibcalls: Fix building hash table with duplicate entries (PR #153801)

2025-08-15 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/153801 We were sizing the table appropriately for the number of LibcallImpls, but many of those have identical names which were pushing up the collision count unnecessarily. This ends up decreasing the table size slightl

[llvm-branch-commits] [llvm] RuntimeLibcalls: Fix building hash table with duplicate entries (PR #153801)

2025-08-15 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/153801?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [flang] [flang][OpenMP] Parse GROUPPRIVATE directive (PR #153807)

2025-08-15 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/153807 No semantic checks or lowering yet. >From ccc414db30f65308d47d2efbb3198a896bd5a67e Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Fri, 15 Aug 2025 08:12:45 -0500 Subject: [PATCH] [flang][OpenMP] Pars

[llvm-branch-commits] [llvm] RuntimeLibcalls: Fix building hash table with duplicate entries (PR #153801)

2025-08-15 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/153801 >From 6e2b170ea709c205ad27b3e326a4d4ade7822f53 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 15 Aug 2025 09:45:46 +0900 Subject: [PATCH] RuntimeLibcalls: Fix building hash table with duplicate entries

[llvm-branch-commits] [flang] [flang][OpenMP] Parse GROUPPRIVATE directive (PR #153807)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir @llvm/pr-subscribers-flang-openmp Author: Krzysztof Parzyszek (kparzysz) Changes No semantic checks or lowering yet. --- Full diff: https://github.com/llvm/llvm-project/pull/153807.diff 9 Files Affected: - (modified) flang/include/fla

[llvm-branch-commits] [flang] [flang][OpenMP] Parse GROUPPRIVATE directive (PR #153807)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-parser Author: Krzysztof Parzyszek (kparzysz) Changes No semantic checks or lowering yet. --- Full diff: https://github.com/llvm/llvm-project/pull/153807.diff 9 Files Affected: - (modified) flang/include/flang/Parser/dump-parse-tree.h (+1) - (

[llvm-branch-commits] [llvm] RuntimeLibcalls: Fix building hash table with duplicate entries (PR #153801)

2025-08-15 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/153801 >From 6e2b170ea709c205ad27b3e326a4d4ade7822f53 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 15 Aug 2025 09:45:46 +0900 Subject: [PATCH] RuntimeLibcalls: Fix building hash table with duplicate entries

[llvm-branch-commits] [clang] [LifetimeSafety] Prevent duplicate loans and statement visits (PR #153661)

2025-08-15 Thread Gábor Horváth via llvm-branch-commits
https://github.com/Xazax-hun commented: I am wondering if this is the right approach. If everything works out well, every time we call `Visit` on an expression, there should be a guarantee we already visited all the subexpressions of it (modulo some corner cases with short circuiting operators

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

2025-08-15 Thread Aaron Ballman via llvm-branch-commits
@@ -155,6 +155,7 @@ FEATURE(ptrauth_vtable_pointer_address_discrimination, LangOpts.PointerAuthVTPtr FEATURE(ptrauth_vtable_pointer_type_discrimination, LangOpts.PointerAuthVTPtrTypeDiscrimination) FEATURE(ptrauth_type_info_vtable_pointer_discrimination, LangOpts.PointerAuthT

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

2025-08-15 Thread Aaron Ballman via llvm-branch-commits
https://github.com/AaronBallman edited https://github.com/llvm/llvm-project/pull/153725 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-08-15 Thread Aaron Ballman via llvm-branch-commits
https://github.com/AaronBallman commented: Not opposed but this is a pretty significant amount of change for being this late in the rc cycles, and the changes haven't been upstream for very long. How risky are these changes? https://github.com/llvm/llvm-project/pull/153725

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -0,0 +1,126 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter-out-after "^middle.block:" --filter-out-after "^scalar.ph:" --version 4 +; RUN: opt -S -mtriple=aarch64-unknown-linux-gnu -mattr=+sve2 -passes=loop-vectorize,instcomb

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -2030,32 +2031,68 @@ Value *llvm::addDiffRuntimeChecks( // Map to keep track of created compares, The key is the pair of operands for // the compare, to allow detecting and re-using redundant compares. DenseMap, Value *> SeenCompares; - for (const auto &[SrcStart, Sin

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -2063,6 +2080,12 @@ static bool useActiveLaneMaskForControlFlow(TailFoldingStyle Style) { Style == TailFoldingStyle::DataAndControlFlowWithoutRuntimeCheck; } +static bool useSafeEltsMask(TailFoldingStyle TFStyle, RTCheckStyle Style, +El

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -0,0 +1,126 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter-out-after "^middle.block:" --filter-out-after "^scalar.ph:" --version 4 +; RUN: opt -S -mtriple=aarch64-unknown-linux-gnu -mattr=+sve2 -passes=loop-vectorize,instcomb

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -1347,6 +1354,11 @@ class TargetTransformInfo { PartialReductionExtendKind OpBExtend, std::optional BinOp, TTI::TargetCostKind CostKind) const; + /// \return true if a mask should be formed that disables lanes that could + /// alias between two pointers. The m

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -482,11 +482,14 @@ bool RuntimePointerChecking::tryToCreateDiffCheck( } } + bool WriteAfterRead = isa(SrcInsts[0]); SamTebbs33 wrote: That's better, thanks. https://github.com/llvm/llvm-project/pull/100579 __

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -974,6 +974,11 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, } break; } + case Intrinsic::loop_dependence_raw_mask: + case Intrinsic::loop_dependence_war_mask: +if (ST->hasSVE2()) SamTebbs33 wrote: Done. http

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -974,6 +974,11 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, } break; } + case Intrinsic::loop_dependence_raw_mask: + case Intrinsic::loop_dependence_war_mask: +if (ST->hasSVE2()) + return 1; +return InstructionCost::g

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -5535,6 +5540,11 @@ InstructionCost AArch64TTIImpl::getPartialReductionCost( return Cost; } +bool AArch64TTIImpl::useSafeEltsMask(ElementCount VF) const { + // The whilewr/rw instructions require SVE2 + return ST->hasSVE2(); SamTebbs33 wrote: Done. ht

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -201,6 +201,13 @@ enum class TailFoldingStyle { DataWithEVL, }; +enum class RTCheckStyle { + /// Create runtime checks based on the difference between two pointers + ScalarDifference, + /// Form a mask based on elements which won't be a WAR or RAW hazard. + UseSafeElt

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -2030,32 +2031,68 @@ Value *llvm::addDiffRuntimeChecks( // Map to keep track of created compares, The key is the pair of operands for // the compare, to allow detecting and re-using redundant compares. DenseMap, Value *> SeenCompares; - for (const auto &[SrcStart, Sin

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -1347,6 +1354,11 @@ class TargetTransformInfo { PartialReductionExtendKind OpBExtend, std::optional BinOp, TTI::TargetCostKind CostKind) const; + /// \return true if a mask should be formed that disables lanes that could + /// alias between two pointers. The m

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-15 Thread Sam Tebbs via llvm-branch-commits
@@ -2421,7 +2444,6 @@ void InnerLoopVectorizer::emitIterationCountCheck(BasicBlock *Bypass) { LoopVectorPreHeader = SplitBlock(TCCheckBlock, TCCheckBlock->getTerminator(), static_cast(nullptr), LI, nullptr

[llvm-branch-commits] [llvm] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NFCI. (PR #153881)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec updated https://github.com/llvm/llvm-project/pull/153881 >From 4ee7e8bf3a0cd4036b601a12bbb5bba61deda993 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 15 Aug 2025 14:18:56 -0700 Subject: [PATCH] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NF

[llvm-branch-commits] [llvm] [AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (PR #153880)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec updated https://github.com/llvm/llvm-project/pull/153880 >From df0ab0abe2132a729ec1ad18f20faa9b804f0a6f Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 15 Aug 2025 14:10:55 -0700 Subject: [PATCH] [AMDGPU] Update GCNHazardRecognizer's understanding of

[llvm-branch-commits] [llvm] [AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (PR #153880)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec updated https://github.com/llvm/llvm-project/pull/153880 >From df0ab0abe2132a729ec1ad18f20faa9b804f0a6f Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 15 Aug 2025 14:10:55 -0700 Subject: [PATCH] [AMDGPU] Update GCNHazardRecognizer's understanding of

[llvm-branch-commits] [llvm] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NFCI. (PR #153881)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec updated https://github.com/llvm/llvm-project/pull/153881 >From 4ee7e8bf3a0cd4036b601a12bbb5bba61deda993 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 15 Aug 2025 14:18:56 -0700 Subject: [PATCH] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NF

[llvm-branch-commits] [llvm] 7aa3dbc - Revert "Remember LLVM_ENABLE_LIBCXX setting in installed configuration (#139712)"

2025-08-15 Thread via llvm-branch-commits
Author: gulfemsavrun Date: 2025-08-15T16:00:12-07:00 New Revision: 7aa3dbcae91ade86e362fa6ef6a739f839490cbd URL: https://github.com/llvm/llvm-project/commit/7aa3dbcae91ade86e362fa6ef6a739f839490cbd DIFF: https://github.com/llvm/llvm-project/commit/7aa3dbcae91ade86e362fa6ef6a739f839490cbd.diff

[llvm-branch-commits] [CAS] Add MappedFileRegionBumpPtr (PR #114099)

2025-08-15 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114099 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add MappedFileRegionBumpPtr (PR #114099)

2025-08-15 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114099 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NFCI. (PR #153881)

2025-08-15 Thread Changpeng Fang via llvm-branch-commits
https://github.com/changpeng approved this pull request. https://github.com/llvm/llvm-project/pull/153881 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (PR #153880)

2025-08-15 Thread Changpeng Fang via llvm-branch-commits
https://github.com/changpeng approved this pull request. https://github.com/llvm/llvm-project/pull/153880 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] w/a for s_setreg_b32 gfx1250 hazard with MODE register (PR #153879)

2025-08-15 Thread Changpeng Fang via llvm-branch-commits
https://github.com/changpeng approved this pull request. https://github.com/llvm/llvm-project/pull/153879 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [RISCV] Track Linker Relaxable through Assembly Relaxation (PR #153670)

2025-08-15 Thread Sam Elliott via llvm-branch-commits
https://github.com/lenary edited https://github.com/llvm/llvm-project/pull/153670 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Github] Drop llvm-project-tests (PR #153877)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) Changes All users of this have been claned up so we can now drop it fully. --- Full diff: https://github.com/llvm/llvm-project/pull/153877.diff 2 Files Affected: - (removed) .github/workflows/l

[llvm-branch-commits] [Github] Remove call to llvm-project-tests from libclang tests (PR #153876)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) Changes This allows for removing llvm-project-tests.yml. This significantly reduces the complexity of this workflow (including the complexity of llvm-project-tests.yml) at the cost of a little bit o

[llvm-branch-commits] [Github] Drop llvm-project-tests (PR #153877)

2025-08-15 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/153877 All users of this have been claned up so we can now drop it fully. ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/153873 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/153873 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] w/a for s_setreg_b32 gfx1250 hazard with MODE register (PR #153879)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/153879 None >From 32fc4952dafa723bdff1f26f717b87cd8f4464b1 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 15 Aug 2025 14:03:15 -0700 Subject: [PATCH] [AMDGPU] w/a for s_setreg_b32 gfx1250 hazard with

[llvm-branch-commits] [llvm] [AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (PR #153880)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/153880 This simply updates the pass's cognizance of these instructions, and for the most part the hazards where they might be encountered do not exist for gfx12. Nonetheless, encountering them has to be checked for as

[llvm-branch-commits] [llvm] [AMDGPU] w/a for s_setreg_b32 gfx1250 hazard with MODE register (PR #153879)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
rampitec 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/153879?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NFCI. (PR #153881)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/153881 Co-authored-by: Stephen Thomas >From 0c71fc2a1f291f245dabec98199295b3edd392e5 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 15 Aug 2025 14:18:56 -0700 Subject: [PATCH] [AMDGPU] Use encodeFie

[llvm-branch-commits] [llvm] [AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (PR #153880)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
rampitec 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/153880?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NFCI. (PR #153881)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
rampitec 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/153881?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU] w/a for s_setreg_b32 gfx1250 hazard with MODE register (PR #153879)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec ready_for_review https://github.com/llvm/llvm-project/pull/153879 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] w/a for s_setreg_b32 gfx1250 hazard with MODE register (PR #153879)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Stanislav Mekhanoshin (rampitec) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/153879.diff 4 Files Affected: - (modified) llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp (+12) - (modified) llvm/lib/Target/AM

[llvm-branch-commits] [llvm] [AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (PR #153880)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec ready_for_review https://github.com/llvm/llvm-project/pull/153880 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (PR #153880)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Stanislav Mekhanoshin (rampitec) Changes This simply updates the pass's cognizance of these instructions, and for the most part the hazards where they might be encountered do not exist for gfx12. Nonetheless, encountering them has

[llvm-branch-commits] [llvm] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NFCI. (PR #153881)

2025-08-15 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec ready_for_review https://github.com/llvm/llvm-project/pull/153881 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Use encodeFieldVaVdst in hazard recognizer. NFCI. (PR #153881)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Stanislav Mekhanoshin (rampitec) Changes Co-authored-by: Stephen Thomas --- Full diff: https://github.com/llvm/llvm-project/pull/153881.diff 1 Files Affected: - (modified) llvm/lib/Target/AMDGPU/GCNHaza

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/153873 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/153873 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Github] Remove call to llvm-project-tests.yml from mlir-spirv-tests.yml (PR #153871)

2025-08-15 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/153871 This will eventually allow for removing llvm-project-tests.yml. This should significantly reduce the complexity of this workflow (including the complexity of llvm-project-tests.yml) at the cost of a little

[llvm-branch-commits] [Github] Remove call to llvm-project-tests.yml from mlir-spirv-tests.yml (PR #153871)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) Changes This will eventually allow for removing llvm-project-tests.yml. This should significantly reduce the complexity of this workflow (including the complexity of llvm-project-tests.yml) at the c

[llvm-branch-commits] [llvm] [Github] Remove call to llvm-project-tests.yml from mlir-spirv-tests.yml (PR #153871)

2025-08-15 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/153871 >From a61dece065902c60c9ea0f80ed133c4ad92c549f Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Fri, 15 Aug 2025 20:31:54 + Subject: [PATCH] fix Created using spr 1.3.6 --- .github/workflows/mlir

[llvm-branch-commits] [llvm] [Github] Remove call to llvm-project-tests.yml from mlir-spirv-tests.yml (PR #153871)

2025-08-15 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/153871 >From a61dece065902c60c9ea0f80ed133c4ad92c549f Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Fri, 15 Aug 2025 20:31:54 + Subject: [PATCH 1/2] fix Created using spr 1.3.6 --- .github/workflows/

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Peter Collingbourne (pcc) Changes With gcc 15 we end up emitting a reference to the std::__glibcxx_assert_fail function because of this change: https://github.com/gcc-mirror/gcc/commit/361d230fd7800a7e749aba8ed020f54f5c26d50

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc created https://github.com/llvm/llvm-project/pull/153873 With gcc 15 we end up emitting a reference to the std::__glibcxx_assert_fail function because of this change: https://github.com/gcc-mirror/gcc/commit/361d230fd7800a7e749aba8ed020f54f5c26d504 combined with assertion c

[llvm-branch-commits] [llvm] [mlir] [OpenMP][OMPIRBuilder] Use device shared memory for arg structures (PR #150925)

2025-08-15 Thread Sergio Afonso via llvm-branch-commits
skatrak wrote: I just pushed a commit replacing callbacks with `CodeExtractor` subclasses. I also moved some of the logic to create a `CodeExtractor` from an `OutlineInfo` so that hopefully using these custom `CodeExtractor`s doesn't turn out too much of a hassle. Let me know if this works for

[llvm-branch-commits] [llvm] [DirectX] Add `split-section` to `llvm-objcopy` and implement it for `DXContainer` (PR #153265)

2025-08-15 Thread Finn Plummer via llvm-branch-commits
inbelic wrote: > Rather than a new option, I'd rather you just add support for > `--only-section` and `--dump-section`, which can then be specified in > conjunction with each other to achieve the same result. IIRC, a while back, > `--split-dwo` was considered a mistake, because the same effect

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/153873 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Github] Remove call to llvm-project-tests from libclang tests (PR #153876)

2025-08-15 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/153876 This allows for removing llvm-project-tests.yml. This significantly reduces the complexity of this workflow (including the complexity of llvm-project-tests.yml) at the cost of a little bit of duplication w

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: Landed manually https://github.com/llvm/llvm-project/pull/153873 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] dfsan: Fix test with gcc 15. (PR #153873)

2025-08-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc closed https://github.com/llvm/llvm-project/pull/153873 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] 3c37d74 - Revert "[flang] Lower EOSHIFT into hlfir.eoshift. (#153106)"

2025-08-15 Thread via llvm-branch-commits
Author: Slava Zakharin Date: 2025-08-15T17:38:13-07:00 New Revision: 3c37d74984d24b503c05e338f95c5cb1c2bcb57e URL: https://github.com/llvm/llvm-project/commit/3c37d74984d24b503c05e338f95c5cb1c2bcb57e DIFF: https://github.com/llvm/llvm-project/commit/3c37d74984d24b503c05e338f95c5cb1c2bcb57e.diff

[llvm-branch-commits] [llvm] [RISCV] Track Linker Relaxable through Assembly Relaxation (PR #153670)

2025-08-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/153670 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Github] Remove call to llvm-project-tests from libclang tests (PR #153876)

2025-08-15 Thread Jannick Kremer via llvm-branch-commits
https://github.com/DeinAlptraum edited https://github.com/llvm/llvm-project/pull/153876 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Github] Remove call to llvm-project-tests from libclang tests (PR #153876)

2025-08-15 Thread Jannick Kremer via llvm-branch-commits
https://github.com/DeinAlptraum commented: Sounds good. A few comments: Please also remove the `.github/workflows/llvm-project-tests.yml` entry under `on.push.paths` & `on.pull_request.paths` in the workflow file. https://github.com/llvm/llvm-project/pull/153876

[llvm-branch-commits] [Github] Remove call to llvm-project-tests from libclang tests (PR #153876)

2025-08-15 Thread Jannick Kremer via llvm-branch-commits
@@ -25,17 +25,36 @@ on: jobs: check-clang-python: # Build libclang and then run the libclang Python binding's unit tests. +# There is an issue running on "windows-2019". +# See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082. name:

[llvm-branch-commits] [clang] release/21.x: [clang][LoongArch] Ensure `target("lasx")` implies LSX support (#153542) (PR #153739)

2025-08-15 Thread Lu Weining via llvm-branch-commits
https://github.com/SixWeining approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/153739 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LoongArch] Reduce number of reserved relocations when relax enabled (PR #153769)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc @llvm/pr-subscribers-backend-loongarch Author: ZhaoQi (zhaoqi5) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/153769.diff 2 Files Affected: - (modified) llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp (+9-18) -

[llvm-branch-commits] [llvm] [LoongArch] Reduce number of reserved relocations when relax enabled (PR #153769)

2025-08-15 Thread via llvm-branch-commits
https://github.com/zhaoqi5 created https://github.com/llvm/llvm-project/pull/153769 None >From f67324528d93ca3e908f39e8e89caef5ecc3e11f Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 15 Aug 2025 17:12:33 +0800 Subject: [PATCH] [LoongArch] Reduce number of reserved relocations when relax en

[llvm-branch-commits] [llvm] [AArch64][ISel] Select constructive EXT_ZZI pseudo instruction (PR #152554)

2025-08-15 Thread Paul Walker via llvm-branch-commits
https://github.com/paulwalker-arm approved this pull request. https://github.com/llvm/llvm-project/pull/152554 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Add `split-section` to `llvm-objcopy` and implement it for `DXContainer` (PR #153265)

2025-08-15 Thread James Henderson via llvm-branch-commits
jh7370 wrote: > @inbelic can confirm, but I thought the intent was for this to work like > `--split-dwo` where it also removes the section from the original object. > > We have a few common tooling cases for DX files where the compiler generates > an object with a bunch of sections that you ma

[llvm-branch-commits] [llvm] [DirectX] Add `split-section` to `llvm-objcopy` and implement it for `DXContainer` (PR #153265)

2025-08-15 Thread James Henderson via llvm-branch-commits
https://github.com/jh7370 requested changes to this pull request. Requesting changes to prevent this going in without my review etc. https://github.com/llvm/llvm-project/pull/153265 ___ llvm-branch-commits mailing list [email protected]

[llvm-branch-commits] [llvm] [DirectX] Add support for `remove-section` of `DXContainer` for `llvm-objcopy` (PR #153246)

2025-08-15 Thread James Henderson via llvm-branch-commits
@@ -12,18 +12,18 @@ Header: Version: Major: 1 Minor: 0 -## FileSize = 1996 - 8 (FKE0 content) - 1688 (FKE4 content) +## FileSize = 1996 - 8 (FKE1 content) - 1688 (FKE4 content) ## - 8 (2 part offsets) - 16 (2 part headers) ## =

[llvm-branch-commits] [llvm] [DirectX] Add support for `remove-section` of `DXContainer` for `llvm-objcopy` (PR #153246)

2025-08-15 Thread James Henderson via llvm-branch-commits
@@ -25,13 +25,13 @@ Header: Minor: 0 ## FileSize = 1984 - 24 (RTS0 content) - 4 (1 part offset) - 8 (1 part header) ## = 1948 -## CHECK: FileSize: 1948 +# CHECK: FileSize: 1948 FileSize:1984 -## CHECK: PartCount: 6 +# CHECK: Pa

[llvm-branch-commits] [llvm] [DirectX] Add support for `remove-section` of `DXContainer` for `llvm-objcopy` (PR #153246)

2025-08-15 Thread James Henderson via llvm-branch-commits
@@ -12,18 +12,18 @@ Header: Version: Major: 1 Minor: 0 -## FileSize = 1996 - 8 (FKE0 content) - 1688 (FKE4 content) +## FileSize = 1996 - 8 (FKE1 content) - 1688 (FKE4 content) ## - 8 (2 part offsets) - 16 (2 part headers) ## =

[llvm-branch-commits] [lldb] 82f2353 - Revert "[lldb] Fallback to expression eval when Dump of variable fails in dwi…"

2025-08-15 Thread via llvm-branch-commits
Author: Dave Lee Date: 2025-08-15T08:46:32-07:00 New Revision: 82f23539351c8365281f6b68a42564c4ec25548e URL: https://github.com/llvm/llvm-project/commit/82f23539351c8365281f6b68a42564c4ec25548e DIFF: https://github.com/llvm/llvm-project/commit/82f23539351c8365281f6b68a42564c4ec25548e.diff LOG:

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

2025-08-15 Thread Oliver Hunt via llvm-branch-commits
ojhunt wrote: > Not opposed but this is a pretty significant amount of change for being this > late in the rc cycles, and the changes haven't been upstream for very long. > How risky are these changes? This is the upstreaming of code we've had deployed for a few years at this point, the only

[llvm-branch-commits] [flang] [flang][OpenMP] Parse GROUPPRIVATE directive (PR #153807)

2025-08-15 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/153807 >From ccc414db30f65308d47d2efbb3198a896bd5a67e Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Fri, 15 Aug 2025 08:12:45 -0500 Subject: [PATCH 1/3] [flang][OpenMP] Parse GROUPPRIVATE directive No sema

[llvm-branch-commits] [llvm] [mlir] [OpenMP][OMPIRBuilder] Use device shared memory for arg structures (PR #150925)

2025-08-15 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak updated https://github.com/llvm/llvm-project/pull/150925 >From 688b61435b38e8632ab81e9aa94fadb5aa5ad7f1 Mon Sep 17 00:00:00 2001 From: Sergio Afonso Date: Thu, 3 Jul 2025 16:47:51 +0100 Subject: [PATCH 1/4] [OpenMP][OMPIRBuilder] Use device shared memory for arg stru

[llvm-branch-commits] [llvm] [mlir] [OpenMP][OMPIRBuilder] Support parallel in Generic kernels (PR #150926)

2025-08-15 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak updated https://github.com/llvm/llvm-project/pull/150926 >From bd815722923fad252e5f41910343ef03f6f92883 Mon Sep 17 00:00:00 2001 From: Sergio Afonso Date: Fri, 4 Jul 2025 16:32:03 +0100 Subject: [PATCH 1/2] [OpenMP][OMPIRBuilder] Support parallel in Generic kernels

[llvm-branch-commits] [llvm] [OpenMPOpt] Make parallel regions reachable from new DeviceRTL loop functions (PR #150927)

2025-08-15 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak updated https://github.com/llvm/llvm-project/pull/150927 >From 38a38bb056951bf50c5af7f7562bcbb834259a39 Mon Sep 17 00:00:00 2001 From: Sergio Afonso Date: Fri, 25 Jul 2025 13:52:11 +0100 Subject: [PATCH 1/2] [OpenMPOpt] Make parallel regions reachable from new Device

[llvm-branch-commits] [llvm] release/21.x: [Hexagon] Add missing operand when disassembling Y4_crswap10 (#153849) (PR #153926)

2025-08-15 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/153926 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [Hexagon] Add missing operand when disassembling Y4_crswap10 (#153849) (PR #153926)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: None (llvmbot) Changes Backport 76d993bd25ff462d915f69772454e7b1ca42fdb8 Requested by: @androm3da --- Full diff: https://github.com/llvm/llvm-project/pull/153926.diff 2 Files Affected: - (modified) llvm/lib/Target/Hexagon/Disassembler/Hex

[llvm-branch-commits] [llvm] release/21.x: [Hexagon] Add missing operand when disassembling Y4_crswap10 (#153849) (PR #153926)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-hexagon Author: None (llvmbot) Changes Backport 76d993bd25ff462d915f69772454e7b1ca42fdb8 Requested by: @androm3da --- Full diff: https://github.com/llvm/llvm-project/pull/153926.diff 2 Files Affected: - (modified) llvm/lib/Target/Hexagon/Dis

[llvm-branch-commits] [llvm] release/21.x: [Hexagon] Add missing operand when disassembling Y4_crswap10 (#153849) (PR #153926)

2025-08-15 Thread via llvm-branch-commits
llvmbot wrote: @quic-akaryaki What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/153926 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [llvm] release/21.x: [Hexagon] Add missing operand when disassembling Y4_crswap10 (#153849) (PR #153926)

2025-08-15 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/153926 Backport 76d993bd25ff462d915f69772454e7b1ca42fdb8 Requested by: @androm3da >From 27a00648607f22b4b2d1de4adb72fe6364a7ef88 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Sat, 16 Aug 2025 05:13:43 +0300