[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent`: support `reduce` on device (PR #156610)

2025-09-20 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/156610 >From 76c4b9ade19db980178ab297c3e893f14dd97bbc Mon Sep 17 00:00:00 2001 From: ergawy Date: Tue, 2 Sep 2025 08:36:34 -0500 Subject: [PATCH] [flang][OpenMP] `do concurrent`: support `reduce` on device Extends `do

[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent`: support `local` on device (PR #157638)

2025-09-20 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy edited https://github.com/llvm/llvm-project/pull/157638 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC][CodeGen][CFI] Add GeneralizePointers parameter to GeneralizeFunctionType (PR #158191)

2025-09-20 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/158191 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent` to device mapping lit tests (PR #155992)

2025-09-20 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy edited https://github.com/llvm/llvm-project/pull/155992 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-20 Thread Mircea Trofin via llvm-branch-commits
@@ -301,12 +380,16 @@ class Vocabulary { constexpr static unsigned NumCanonicalEntries = MaxOpcodes + MaxCanonicalTypeIDs + MaxOperandKinds + MaxPredicateKinds; - // Base offsets for slot layout to simplify index computation + // Base offsets for flat index computati

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt] Remove leftovers of FreeBSD md5/sha2 interceptors (#153351) (PR #155718)

2025-09-20 Thread Tobias Hieta via llvm-branch-commits
tru wrote: ping https://github.com/llvm/llvm-project/pull/155718 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Add option to run only SIV routines (PR #157084)

2025-09-20 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157084 >From 43aa6e2ca9af3e71a913891f2927c4f3e5e6ac93 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 10:13:22 + Subject: [PATCH] [DA] Add option to run only SIV routines --- llvm/lib/Analys

[llvm-branch-commits] [llvm] CodeGen: Remove TRI arguments from stack load/store hooks (PR #158240)

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

[llvm-branch-commits] [llvm] [AllocToken, Clang] Implement __builtin_alloc_token_infer() and llvm.alloc.token.id (PR #156842)

2025-09-20 Thread Marco Elver via llvm-branch-commits
@@ -846,6 +836,22 @@ static void addSanitizers(const Triple &TargetTriple, } } +static void addAllocTokenPass(const Triple &TargetTriple, melver wrote: Separate llvm/.. from clang/.. changes? Or clang/lib/CodeGen from others? One is useless without the ot

[llvm-branch-commits] [llvm] release/21.x: [SCEVExp] Fix early exit in ComputeEndCheck. (PR #157410)

2025-09-20 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/157410 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Use lit internal shell by default (PR #157237)

2025-09-20 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157237 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Rewrite tests using subshells to set env variables (PR #158446)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Aiden Grossman (boomanaiden154) Changes Now that we have the %readfile substitution, we can rewrite these tests that were using env variable subshells to write the output of the command into a file and then load it where it is needed

[llvm-branch-commits] [Remarks] BitstreamRemarkParser: Refactor error handling (PR #156511)

2025-09-20 Thread Tobias Stadler via llvm-branch-commits
@@ -52,171 +91,132 @@ static Error parseRecord(BitstreamMetaParserHelper &Parser, unsigned Code) { switch (*RecordID) { case RECORD_META_CONTAINER_INFO: { if (Record.size() != 2) - return malformedRecord("BLOCK_META", "RECORD_META_CONTAINER_INFO"); -Parser.Con

[llvm-branch-commits] [llvm] [Offload] Add GenericPluginTy::get_mem_info (PR #157484)

2025-09-20 Thread Ross Brunton via llvm-branch-commits
https://github.com/RossBrunton updated https://github.com/llvm/llvm-project/pull/157484 >From 3d68ccff47294dd2dc7d54eaf333608e7a8af235 Mon Sep 17 00:00:00 2001 From: Ross Brunton Date: Mon, 8 Sep 2025 10:45:42 +0100 Subject: [PATCH] [Offload] Add GenericPluginTy::get_mem_info This takes a poin

[llvm-branch-commits] [llvm] [LoongArch] Generate [x]vldi instructions with special constant splats (PR #159258)

2025-09-20 Thread Zhaoxin Yang via llvm-branch-commits
@@ -113,44 +113,58 @@ void LoongArchDAGToDAGISel::Select(SDNode *Node) { APInt SplatValue, SplatUndef; unsigned SplatBitSize; bool HasAnyUndefs; -unsigned Op; +unsigned Op = 0; ylzsx wrote: Without initialization, a warning will occur. I'm

[llvm-branch-commits] [llvm] CodeGen: Make target overrides of PointerLikeRegClass mandatory (PR #159882)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-systemz Author: Matt Arsenault (arsenm) Changes Most targets should now use the convenience multiclass to fixup the operand definitions of pointer-using pseudoinstructions: defm : RemapAllTargetPseudoPointerOperands; --- Fu

[llvm-branch-commits] [llvm] SPARC: Use RegClassByHwMode instead of PointerLikeRegClass (PR #158271)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-sparc Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/158271.diff 2 Files Affected: - (modified) llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp (-8) - (modified) llvm/lib/Target/Spa

[llvm-branch-commits] [llvm] AMDGPU: Move spill pseudo special case out of adjustAllocatableRegClass (PR #158246)

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

[llvm-branch-commits] [flang][OpenMP] `do concurrent`: support `local` on device (PR #156589)

2025-09-20 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy closed https://github.com/llvm/llvm-project/pull/156589 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] Backport AArch64 sanitizer fixes to 21.x. (PR #157848)

2025-09-20 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Yeah seems fair enough. I'll await @pcc review. https://github.com/llvm/llvm-project/pull/157848 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [PowerPC] Implement Elliptic Curve Cryptography (ECC) Instructions (PR #158362)

2025-09-20 Thread Lei Huang via llvm-branch-commits
https://github.com/lei137 edited https://github.com/llvm/llvm-project/pull/158362 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent`: support `reduce` on device (PR #156610)

2025-09-20 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/156610 >From 6d02115ac90d8782e99cc8abc65f7e997b937335 Mon Sep 17 00:00:00 2001 From: ergawy Date: Tue, 2 Sep 2025 08:36:34 -0500 Subject: [PATCH] [flang][OpenMP] `do concurrent`: support `reduce` on device Extends `do

[llvm-branch-commits] [llvm] CodeGen: Introduce MachineFunction::getPreferredAlignment(). (PR #158368)

2025-09-20 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/158368 >From d81fcf5f9ed8a28717e6b1c4897a458bf2b2994c Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 12 Sep 2025 14:41:02 -0700 Subject: [PATCH] Format Created using spr 1.3.6-beta.1 --- llvm/include/llvm/C

[llvm-branch-commits] [llvm] CodeGen: Remove TRI argument from getRegClass (PR #158225)

2025-09-20 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov approved this pull request. https://github.com/llvm/llvm-project/pull/158225 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AllocToken, Clang] Implement __builtin_alloc_token_infer() and llvm.alloc.token.id (PR #156842)

2025-09-20 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156842 >From 48227c8f7712b2dc807b252d18353c91905b1fb5 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Mon, 8 Sep 2025 17:19:04 +0200 Subject: [PATCH] fixup! Created using spr 1.3.8-beta.1 --- llvm/lib/Transforms/Inst

[llvm-branch-commits] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)

2025-09-20 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental updated https://github.com/llvm/llvm-project/pull/157944 >From 888cca06e4c81b1b12c85ec0ac48408e53ad57bd Mon Sep 17 00:00:00 2001 From: makslevental Date: Wed, 10 Sep 2025 12:57:54 -0700 Subject: [PATCH 01/13] [MLIR][Standalone] test Standalone against install di

[llvm-branch-commits] [Remarks] BitstreamRemarkParser: Refactor error handling (PR #156511)

2025-09-20 Thread Jon Roelofs via llvm-branch-commits
@@ -12,35 +12,74 @@ //===--===// #include "BitstreamRemarkParser.h" -#include "llvm/Remarks/Remark.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" #include using namespace llvm

[llvm-branch-commits] [NFC][CodeGen][CFI] Add GeneralizePointers parameter to GeneralizeFunctionType (PR #158191)

2025-09-20 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/158191 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AllocToken, Clang] Implement __builtin_alloc_token_infer() and llvm.alloc.token.id (PR #156842)

2025-09-20 Thread Marco Elver via llvm-branch-commits
https://github.com/melver ready_for_review https://github.com/llvm/llvm-project/pull/156842 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: Remove TRI arguments from stack load/store hooks (PR #158240)

2025-09-20 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff origin/main HEAD --extensions h,cpp -- llvm/include/llvm/CodeGen/TargetInstrInfo.h l

[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2025-09-20 Thread Alexander Richardson via llvm-branch-commits
@@ -6,7 +6,9 @@ target datalayout = "p:16:16:16:8" ; The GEP should only modify the low 8 bits of the pointer. define ptr @test() { ; CHECK-LABEL: define ptr @test() { -; CHECK-NEXT:ret ptr inttoptr (i16 -256 to ptr) +; We need to use finer-grained DataLayout properties for

[llvm-branch-commits] [ConstantFolding] Avoid use of isNonIntegralPointerType() (PR #159959)

2025-09-20 Thread Alexander Richardson via llvm-branch-commits
@@ -0,0 +1,75 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5 +; RUN: opt -S -passes=instsimplify < %s | FileCheck %s +;; Check that we do not create new inttoptr intstructions for unstable pointers +;; or pointers with external

[llvm-branch-commits] [ConstantFolding] Avoid use of isNonIntegralPointerType() (PR #159959)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Alexander Richardson (arichardson) Changes Avoiding any new inttoptr is unnecessarily restrictive for "plain" non-integral pointers, but it is important for unstable pointers and pointers with external state. Fixes another test code

[llvm-branch-commits] [ConstantFolding] Avoid use of isNonIntegralPointerType() (PR #159959)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Alexander Richardson (arichardson) Changes Avoiding any new inttoptr is unnecessarily restrictive for "plain" non-integral pointers, but it is important for unstable pointers and pointers with external state. Fixes another test co

[llvm-branch-commits] [ConstantFolding] Avoid use of isNonIntegralPointerType() (PR #159959)

2025-09-20 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson created https://github.com/llvm/llvm-project/pull/159959 Avoiding any new inttoptr is unnecessarily restrictive for "plain" non-integral pointers, but it is important for unstable pointers and pointers with external state. Fixes another test codegen regression from

[llvm-branch-commits] [llvm] [DA] Add test where WeakCrossingSIV misses dependency due to overflow (PR #158281)

2025-09-20 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/158281 >From e80ffc1565ff57a17a28a802b2b7ee21775da6d7 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 12 Sep 2025 11:06:39 + Subject: [PATCH] [DA] Add test where WeakCrossingSIV misses dependency due to

[llvm-branch-commits] [llvm] release/21.x: [X86] Only fold AND/ANDNP back to VSELECT if we know the predicated mask select is legal (#156663) (PR #157047)

2025-09-20 Thread via llvm-branch-commits
github-actions[bot] wrote: @RKSimon (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [llvm] [Xtensa] Fix lowering FP compare operations. (PR #157520)

2025-09-20 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/157520 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AArch64] Prepare for split ZPR and PPR area allocation (NFCI) (PR #142391)

2025-09-20 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue updated https://github.com/llvm/llvm-project/pull/142391 >From fbf514fd7329be3f7a0268a10b13284583e9bb42 Mon Sep 17 00:00:00 2001 From: Benjamin Maxwell Date: Thu, 8 May 2025 17:38:27 + Subject: [PATCH] [AArch64] Prepare for split ZPR and PPR area allocation (NFCI)

[llvm-branch-commits] [llvm] release/21.x: [CMake][AIX] Enable CMP0182: Create shared library archives by default (#155686) (PR #156504)

2025-09-20 Thread via llvm-branch-commits
github-actions[bot] wrote: @amy-kwan (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [llvm] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (PR #157845)

2025-09-20 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic 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/157845?utm_source=stack-comment-downstack-mergeability-w

[llvm-branch-commits] [clang] port 5b4819e to release (PR #159209)

2025-09-20 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/159209 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [InstCombine] Set !prof metadata on selects (PR #157599)

2025-09-20 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request. Seems reasonable enough to me. This comes down to what Nikita thinks is reasonable though. https://github.com/llvm/llvm-project/pull/157599 ___ llvm-branch-commits mailing list llvm-branch-

[llvm-branch-commits] [llvm] [Xtensa] Fix lowering FP compare operations. (PR #157520)

2025-09-20 Thread Andrei Safronov via llvm-branch-commits
https://github.com/andreisfr edited https://github.com/llvm/llvm-project/pull/157520 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [AllocToken, Clang] Infer type hints from sizeof expressions and casts (PR #156841)

2025-09-20 Thread Florian Mayer via llvm-branch-commits
@@ -1349,6 +1350,98 @@ void CodeGenFunction::EmitAllocTokenHint(llvm::CallBase *CB, CB->setMetadata(llvm::LLVMContext::MD_alloc_token_hint, MDN); } +/// Infer type from a simple sizeof expression. +static QualType inferTypeFromSizeofExpr(const Expr *E) { + const Expr *Arg

[llvm-branch-commits] [llvm] CodeGen: Remove TRI argument from getRegClass (PR #158225)

2025-09-20 Thread Craig Topper via llvm-branch-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/158225 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [IR] Add `MD_prof` to the `Keep` list of `dropUBImplyingAttrsAndMetadata` (PR #154635)

2025-09-20 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/154635 >From b46d516642b0256250df08742953f3f78f80c2be Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 20 Aug 2025 15:04:49 -0700 Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto` --- l

[llvm-branch-commits] [llvm] [DA] Add overflow check in ExactSIV (PR #157086)

2025-09-20 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157086 >From 9f8794a071e152cf128dc03d9994c884fecf5d12 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 11:41:29 + Subject: [PATCH 1/2] [DA] Add overflow check in ExactSIV --- llvm/lib/Analysi

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

2025-09-20 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 739caaa21a514cc89c57deae344bf563c9563e90 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 26 Aug 2025 14:10:41 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [Remarks] BitstreamRemarkParser: Refactor error handling (PR #156511)

2025-09-20 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler updated https://github.com/llvm/llvm-project/pull/156511 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CodeGen][CFI] Generalize transparent union in args of args of functions (PR #158194)

2025-09-20 Thread Vitaly Buka via llvm-branch-commits
@@ -2360,12 +2363,19 @@ static QualType GeneralizeType(ASTContext &Ctx, QualType Ty, bool GeneralizePointers) { Ty = GeneralizeTransparentUnion(Ty); - if (!GeneralizePointers || !Ty->isPointerType()) + if (!Ty->isPointerType()) +return T

[llvm-branch-commits] [clang] release/21.x: [DebugInfo] When referencing structured bindings use the reference's location, not the binding's declaration's location (#153637) (PR #156664)

2025-09-20 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/156664 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: Make all targets override pseudos with pointers (PR #159881)

2025-09-20 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/159881?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [lld] release/21.x: [ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .text (#156354) (PR #159948)

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

[llvm-branch-commits] [lld] release/21.x: [ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .text (#156354) (PR #159948)

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

[llvm-branch-commits] [lld] release/21.x: [ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .text (#156354) (PR #159948)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld Author: None (llvmbot) Changes Backport 507f394d03d8cb24c90ae4b2d28e8afae3b4088d Requested by: @MaskRay --- Full diff: https://github.com/llvm/llvm-project/pull/159948.diff 2 Files Affected: - (modified) lld/ELF/LinkerScript.cpp (+12-8) - (adde

[llvm-branch-commits] [lld] release/21.x: [ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .text (#156354) (PR #159948)

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

[llvm-branch-commits] [lld] release/21.x: [ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .text (#156354) (PR #159948)

2025-09-20 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/159948 Backport 507f394d03d8cb24c90ae4b2d28e8afae3b4088d Requested by: @MaskRay >From f0eb5b7e6094f73b497106ff9cb5a1aee9724acd Mon Sep 17 00:00:00 2001 From: mykouHW Date: Sun, 21 Sep 2025 00:41:54 +0800 Subject: [PA

[llvm-branch-commits] [flang] [flang][OpenMP] Resolve all components of OmpDirectiveSpecification (PR #159946)

2025-09-20 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/159946 >From e0ae3e5dd4817329f0e104e0ea7fd883754f442f Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Sat, 20 Sep 2025 09:58:43 -0500 Subject: [PATCH] [flang][OpenMP] Resolve all components of OmpDirectiveSp

[llvm-branch-commits] [flang] [flang][OpenMP] Stop tracking metadirective level in name resolution (PR #159945)

2025-09-20 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/159945 >From 0fa862b9382c8e5b774bf103c7c3c7fb04bc6268 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Sat, 20 Sep 2025 12:11:18 -0500 Subject: [PATCH] [flang][OpenMP] Stop tracking metadirective level in name

[llvm-branch-commits] [flang] [flang][OpenMP] Resolve all components of OmpDirectiveSpecification (PR #159946)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-semantics Author: Krzysztof Parzyszek (kparzysz) Changes Fully resolve all arguments and clauses in OmpDirectiveSpecification instead of just looking for special cases. Delegate resolution from nodes that inherit from ODS to use the ODS resolutio

[llvm-branch-commits] [flang] [flang][OpenMP] Resolve all components of OmpDirectiveSpecification (PR #159946)

2025-09-20 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/159946 Fully resolve all arguments and clauses in OmpDirectiveSpecification instead of just looking for special cases. Delegate resolution from nodes that inherit from ODS to use the ODS resolution. >From e0ae3e5dd4

[llvm-branch-commits] [flang] [flang][OpenMP] Stop tracking metadirective level in name resolution (PR #159945)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-semantics Author: Krzysztof Parzyszek (kparzysz) Changes This was checked in the visitor for OmpDirectiveSpecification, and is not necessary anymore: the early exit (in case of not being inside of a METADIRECTIVE) performs the same actions as the

[llvm-branch-commits] [flang] [flang][OpenMP] Stop tracking metadirective level in name resolution (PR #159945)

2025-09-20 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/159945 This was checked in the visitor for OmpDirectiveSpecification, and is not necessary anymore: the early exit (in case of not being inside of a METADIRECTIVE) performs the same actions as the code that was skipp

[llvm-branch-commits] [llvm] release/21.x: [RISCV] Re-work how VWADD_W_VL and similar _W_VL nodes are handled in combineOp_VLToVWOp_VL. (#159205) (PR #159891)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (llvmbot) Changes Backport 6119d1f115625cd1b8a2b9d331609eb9e9f676ce Requested by: @topperc --- Full diff: https://github.com/llvm/llvm-project/pull/159891.diff 2 Files Affected: - (modified) llvm/lib/Target/RISCV/RISCVISe

[llvm-branch-commits] [llvm] AMDGPU: Move spill pseudo special case out of adjustAllocatableRegClass (PR #158246)

2025-09-20 Thread Matt Arsenault via llvm-branch-commits
@@ -5976,8 +5976,7 @@ SIInstrInfo::getWholeWaveFunctionSetup(MachineFunction &MF) const { static const TargetRegisterClass * adjustAllocatableRegClass(const GCNSubtarget &ST, const SIRegisterInfo &RI, const MCInstrDesc &TID, unsigned RCID) { - if (!S

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

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

[llvm-branch-commits] [clang] [Clang] Introduce -fsanitize=alloc-token (PR #156839)

2025-09-20 Thread Marco Elver via llvm-branch-commits
@@ -0,0 +1,172 @@ += +Allocation Tokens += + +.. contents:: + :local: + +Introduction + + +Clang provides support for allocation tokens to enable allocator-level heap +organization strategies. Clang assigns mode-dependent token IDs to

[llvm-branch-commits] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)

2025-09-20 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/157944 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AllocToken, Clang] Implement __builtin_alloc_token_infer() and llvm.alloc.token.id (PR #156842)

2025-09-20 Thread Oliver Hunt via llvm-branch-commits
https://github.com/ojhunt requested changes to this pull request. I would really prefer the codegen changes to be separate from the inference pass. What I _really_ want is a __builtin_infer_allocation_type(expr) that somehow produces a human readable output - for the purpose of testing mostly

[llvm-branch-commits] [llvm] [SimplifyCFG] Avoid using isNonIntegralPointerType() (PR #159890)

2025-09-20 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/159890 >From 318e921e83ca607732637bcfa1994e525928759e Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 19 Sep 2025 18:42:03 -0700 Subject: [PATCH 1/3] remove todo comment Created using spr 1.3.8-beta.1 --

[llvm-branch-commits] [llvm] [SimplifyCFG] Avoid using isNonIntegralPointerType() (PR #159890)

2025-09-20 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/159890 >From 318e921e83ca607732637bcfa1994e525928759e Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 19 Sep 2025 18:42:03 -0700 Subject: [PATCH 1/3] remove todo comment Created using spr 1.3.8-beta.1 --

[llvm-branch-commits] [llvm] [SimplifyCFG] Avoid using isNonIntegralPointerType() (PR #159890)

2025-09-20 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/159890 >From 318e921e83ca607732637bcfa1994e525928759e Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 19 Sep 2025 18:42:03 -0700 Subject: [PATCH 1/2] remove todo comment Created using spr 1.3.8-beta.1 --

[llvm-branch-commits] [llvm] [DA] Add overflow check in ExactSIV (PR #157086)

2025-09-20 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157086 >From 06b81a649a3ee3b4739882c7fc4cccfb4053fb7c Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 11:41:29 + Subject: [PATCH] [DA] Add overflow check in ExactSIV --- llvm/lib/Analysis/De

[llvm-branch-commits] [llvm] CodeGen: Make all targets override pseudos with pointers (PR #159881)

2025-09-20 Thread Anton Korobeynikov via llvm-branch-commits
asl wrote: MSP430 changes are obviously ok :) https://github.com/llvm/llvm-project/pull/159881 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Add overflow check in ExactSIV (PR #157086)

2025-09-20 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157086 >From 06b81a649a3ee3b4739882c7fc4cccfb4053fb7c Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 11:41:29 + Subject: [PATCH] [DA] Add overflow check in ExactSIV --- llvm/lib/Analysis/De

[llvm-branch-commits] [flang] [flang] Consolidate copy-in/copy-out determination in evaluate framework (PR #155810)

2025-09-20 Thread Tobias Hieta via llvm-branch-commits
tru wrote: I am wary about merging this big of a PR after the first release. Can it be more made smaller to specifically target the issue at hand? This will miss 21.1.1 - if you want this or a version of it in 21.1.2, I would want to hear from @sscalpone or some of the others flang maintainers

[llvm-branch-commits] [compiler-rt] release/21.x: compiler-rt: Use OpenBSD's elf_aux_info to detect AArch64 HW features (#155768) (PR #155899)

2025-09-20 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/155899 >From c75a0754d358da432f2bf18320a3208f9c06b65d Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 28 Aug 2025 02:49:59 -0400 Subject: [PATCH 1/2] [builtins] Rename freebsd to elf_aux_info to reflect the function c

[llvm-branch-commits] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)

2025-09-20 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental edited https://github.com/llvm/llvm-project/pull/157944 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Add option to run only SIV routines (PR #157084)

2025-09-20 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157084 >From 43aa6e2ca9af3e71a913891f2927c4f3e5e6ac93 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 10:13:22 + Subject: [PATCH] [DA] Add option to run only SIV routines --- llvm/lib/Analys

[llvm-branch-commits] [llvm] Add deactivation symbol operand to ConstantPtrAuth. (PR #133537)

2025-09-20 Thread Ahmed Bougacha via llvm-branch-commits
@@ -3809,6 +3818,16 @@ Error BitcodeReader::parseConstants() { (unsigned)Record[2], (unsigned)Record[3]}); break; } +case bitc::CST_CODE_PTRAUTH2: { + if (Record.size() < 4) ahmedbougacha wrote: Should this

[llvm-branch-commits] [libc++] Annotate classes with _LIBCXX_PFP to enable pointer field protection (PR #151652)

2025-09-20 Thread Nikolas Klauser via llvm-branch-commits
https://github.com/philnik777 requested changes to this pull request. What is the reasoning behind this? Could we document something when to apply the attribute? https://github.com/llvm/llvm-project/pull/151652 ___ llvm-branch-commits mailing list llv

[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent`: support `local` on device (PR #156589)

2025-09-20 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/156589 >From 13f45440d26ae78a18be5205773c389d654977ea Mon Sep 17 00:00:00 2001 From: ergawy Date: Tue, 2 Sep 2025 05:54:00 -0500 Subject: [PATCH] [flang][OpenMP] `do concurrent`: support `local` on device Extends suppo

[llvm-branch-commits] AlwaysInliner: A new inlining algorithm to interleave alloca promotion with inlines. (PR #145613)

2025-09-20 Thread Mircea Trofin via llvm-branch-commits
mtrofin wrote: > Final ping. Does anyone have _objections_ to this patch? It seems very odd to tackle this in the always inliner, as it adds a new concern to a fairly scoped pass. Are you sure there are no alternatives, for instance, having a pre-AlwaysInliner pass to mark off callsites that s

[llvm-branch-commits] Utils: Inhibit load/store folding through phis for llvm.protected.field.ptr. (PR #151649)

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

[llvm-branch-commits] [llvm] [AArch64] Prepare for split ZPR and PPR area allocation (NFCI) (PR #142391)

2025-09-20 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue updated https://github.com/llvm/llvm-project/pull/142391 >From c89f1a70ebc2829e2102c7bf838c074148ad5a9a Mon Sep 17 00:00:00 2001 From: Benjamin Maxwell Date: Thu, 8 May 2025 17:38:27 + Subject: [PATCH] [AArch64] Prepare for split ZPR and PPR area allocation (NFCI)

[llvm-branch-commits] [clang] [AllocToken, Clang] Implement TypeHashPointerSplit mode (PR #156840)

2025-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Marco Elver (melver) Changes Implement the TypeHashPointerSplit mode: This mode assigns a token ID based on the hash of the allocated type's name, where the top half ID-space is reserved for types that contain pointers and the bot

[llvm-branch-commits] Utils: Inhibit load/store folding through phis for llvm.protected.field.ptr. (PR #151649)

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

[llvm-branch-commits] [llvm] [flang][do concurent] Add saxpy offload tests for OpenMP mapping (PR #155993)

2025-09-20 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155993 >From 6c1a312bcc0491e7dcd2c67452c6e5ccb5fb Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 04:04:07 -0500 Subject: [PATCH] [flang][do concurent] Add saxpy offload tests for OpenMP mapping Adds

[llvm-branch-commits] Utils: Inhibit load/store folding through phis for llvm.protected.field.ptr. (PR #151649)

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

[llvm-branch-commits] [llvm] CodeGen: Keep reference to TargetRegisterInfo in TargetInstrInfo (PR #158224)

2025-09-20 Thread Sergei Barannikov via llvm-branch-commits
@@ -1070,8 +1070,8 @@ void InstrInfoEmitter::run(raw_ostream &OS) { OS << "namespace llvm {\n"; OS << "struct " << ClassName << " : public TargetInstrInfo {\n" << " explicit " << ClassName - << "(const TargetSubtargetInfo &STI, unsigned CFSetupOpcode = ~0u, " -

[llvm-branch-commits] Utils: Inhibit load/store folding through phis for llvm.protected.field.ptr. (PR #151649)

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

[llvm-branch-commits] [llvm] AMDGPU: Stop using aligned VGPR classes for addRegisterClass (PR #158278)

2025-09-20 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158278 >From eb3bb429165b5f239195f9a7ec74a00de0407284 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 12 Sep 2025 20:45:56 +0900 Subject: [PATCH] AMDGPU: Stop using aligned VGPR classes for addRegisterClass Th

[llvm-branch-commits] [llvm] ARM: Remove TRI argument from AddDReg (PR #158228)

2025-09-20 Thread Simon Pilgrim via llvm-branch-commits
https://github.com/RKSimon approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/158228 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU][SDAG] Enable ISD::PTRADD for 64-bit AS by default (PR #146076)

2025-09-20 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/146076 >From 3b0c210862015dc304004641990fea429f8e31c7 Mon Sep 17 00:00:00 2001 From: Fabian Ritter Date: Fri, 27 Jun 2025 05:38:52 -0400 Subject: [PATCH 1/3] [AMDGPU][SDAG] Enable ISD::PTRADD for 64-bit AS by defau

[llvm-branch-commits] [llvm] [lit] Implement ulimit builtin (PR #157958)

2025-09-20 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[llvm-branch-commits] [llvm] [LV] Use VPReductionRecipe for partial reductions (PR #147513)

2025-09-20 Thread Sam Tebbs via llvm-branch-commits
SamTebbs33 wrote: Ping. https://github.com/llvm/llvm-project/pull/147513 ___ 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: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-20 Thread Simon Pilgrim via llvm-branch-commits
https://github.com/RKSimon approved this pull request. https://github.com/llvm/llvm-project/pull/159286 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [HLSL] Remove resource constructors with binding (PR #157008)

2025-09-20 Thread Damyan Pepper via llvm-branch-commits
https://github.com/damyanp approved this pull request. https://github.com/llvm/llvm-project/pull/157008 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Introduce -fsanitize=alloc-token (PR #156839)

2025-09-20 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156839 >From b3653330c2c39ebaa094670f11afb0f9d36b9de2 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Thu, 4 Sep 2025 12:07:26 +0200 Subject: [PATCH] fixup! Insert AllocToken into index.rst Created using spr 1.3.8-bet

  1   2   >