[llvm-branch-commits] [llvm] PPC: Replace PointerLikeRegClass with RegClassByHwMode (PR #158777)

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158777 >From 0e5dfd5493a599e6eb9e5a0a0b21cd542c964e8f Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 5 Sep 2025 18:03:59 +0900 Subject: [PATCH 1/3] PPC: Replace PointerLikeRegClass with RegClassByHwMode ---

[llvm-branch-commits] [llvm] AMDGPU: Use RegClassByHwMode to manage operand VGPR operand constraints (PR #158272)

2025-09-19 Thread Christudasan Devadasan via llvm-branch-commits
@@ -2926,6 +2929,20 @@ def HasLdsBarrierArriveAtomic : Predicate<"Subtarget->hasLdsBarrierArriveAtomic( def HasSetPrioIncWgInst : Predicate<"Subtarget->hasSetPrioIncWgInst()">, AssemblerPredicate<(all_of FeatureSetPrioIncWgInst)>; +def NeedsAlignedVGPRs : Predicate<"Subtarge

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-19 Thread Paul Kirth via llvm-branch-commits
@@ -0,0 +1,17 @@ +# RUN: echo "// comment" > %t.input +# RUN: which llvm-mc | %python %s %t + +import subprocess +import sys + +llvm_mc_binary = sys.stdin.readlines()[0].strip() +temp_file = sys.argv[1] +input_file = temp_file + ".input" + +with open(temp_file, "w") as mc_stdout:

[llvm-branch-commits] [llvm] X86: Switch to RegClassByHwMode (PR #158274)

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-mc Author: Matt Arsenault (arsenm) Changes Replace the target uses of PointerLikeRegClass with RegClassByHwMode --- Full diff: https://github.com/llvm/llvm-project/pull/158274.diff 8 Files Affected: - (modified) llvm/lib/Target/X86/MCTargetDesc/

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

2025-09-19 Thread Marco Elver via llvm-branch-commits
melver wrote: > I would really prefer the codegen changes to be separate from the inference > pass. In this change, or in preceding ones? > What I _really_ want is a __builtin_infer_allocation_type(expr) that somehow > produces a human readable output - for the purpose of testing mostly as it

[llvm-branch-commits] [llvm] [SDAG][AMDGPU] Allow opting in to OOB-generating PTRADD transforms (PR #146074)

2025-09-19 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/146074 >From 72a940883e91a0fc0c67454b1e01b8f96cae34ab Mon Sep 17 00:00:00 2001 From: Fabian Ritter Date: Thu, 26 Jun 2025 06:10:35 -0400 Subject: [PATCH 1/2] [SDAG][AMDGPU] Allow opting in to OOB-generating PTRADD

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

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158278 >From 96a4d9030b00b30f6aa7d9a70b191c1aaab1f2e8 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] [clang] [Clang] Introduce -fsanitize=alloc-token (PR #156839)

2025-09-19 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

[llvm-branch-commits] [llvm] [mlir] [flang][OpenMP] Support multi-block reduction combiner regions on the GPU (PR #156837)

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

[llvm-branch-commits] [lit] Remove python 2.7 code paths in builtin diff (PR #157558)

2025-09-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. This seems fine to me, especially since it follows our written policy on version support. Does this need any kind of release note? It's a pure dev dependency, so I'd say "no", but I could also see how a consumer would have wanted to know a

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-19 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: > Should we update the lit implementation handling for not/env to avoid > reordering those two commands when combined? We theoretically can, but it's not that simple. The test runner already explicitly reorders them due to how `not` needs to be run. I'm not sure of exact

[llvm-branch-commits] [llvm] [libc++] Test triggering a benchmarking job comment (PR #158138)

2025-09-19 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne converted_to_draft https://github.com/llvm/llvm-project/pull/158138 ___ 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-19 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] [NFC][CodeGen][CFI] Add GeneralizePointers parameter to GeneralizeFunctionType (PR #158191)

2025-09-19 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited 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] [AMDGPU] Generate canonical additions in AMDGPUPromoteAlloca (PR #157810)

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/157810 ___ 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: MC: Better handle backslash-escaped symbols (PR #159420)

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

[llvm-branch-commits] [llvm-remarkutil] Introduce filter command (PR #159784)

2025-09-19 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler created https://github.com/llvm/llvm-project/pull/159784 Add a filter command to llvm-remarkutil. This can be used to extract remarks for a certain function, pass, type, etc. from a large remarks file to a new remarks file. This uses the same filter arguments as

[llvm-branch-commits] [lldb] 9907ef2 - Revert "RISCV enable assembly unwinding (#158161)"

2025-09-19 Thread via llvm-branch-commits
Author: David Spickett Date: 2025-09-19T16:19:19+01:00 New Revision: 9907ef2d116b893e0c3cce2cbf228ce52a82a285 URL: https://github.com/llvm/llvm-project/commit/9907ef2d116b893e0c3cce2cbf228ce52a82a285 DIFF: https://github.com/llvm/llvm-project/commit/9907ef2d116b893e0c3cce2cbf228ce52a82a285.diff

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158447 >From 5bd8d4f925f3b5f82d85ef693861b6b1067d9f38 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 13 Sep 2025 22:54:58 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20i

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158447 >From 5bd8d4f925f3b5f82d85ef693861b6b1067d9f38 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 13 Sep 2025 22:54:58 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20i

[llvm-branch-commits] [Clang] Make rewrite-includes-bom.c work with internal shell (PR #158463)

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

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

2025-09-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158446 >From 3ea0a2c82a707adde245d0aaa293c26afa84eb91 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Fri, 19 Sep 2025 23:03:05 + Subject: [PATCH] fix CI Created using spr 1.3.6 --- clang/test/ClangSca

[llvm-branch-commits] [llvm] release/21.x: [Loads] Check for overflow when adding MaxPtrDiff + Offset. (PR #158918)

2025-09-19 Thread via llvm-branch-commits
https://github.com/annamthomas approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/158918 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit

[llvm-branch-commits] [llvm] [profcheck][SimplifyCFG] Propagate !prof from `switch` to `select` (PR #159645)

2025-09-19 Thread Alan Zhao via llvm-branch-commits
https://github.com/alanzhao1 commented: In general this patch LGTM. I noticed that one downside of using `-profcheck-weights-for-test` is that the original branch weights aren't in the test, so it's hard for me to understand how this change modifies the branch weights. https://github.com/llvm

[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-19 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/159891 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

2025-09-19 Thread Sergei Barannikov via llvm-branch-commits
@@ -918,16 +918,23 @@ def slice; def encoder; def decoder; -/// PointerLikeRegClass - Values that are designed to have pointer width are -/// derived from this. TableGen treats the register class as having a symbolic -/// type that it doesn't know, and resolves the actual regc

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

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag @llvm/pr-subscribers-tablegen Author: Matt Arsenault (arsenm) Changes This eliminates the need to have PointerLikeRegClass handling in codegen. --- Full diff: https://github.com/llvm/llvm-project/pull/159881.diff 26 Files Affected:

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

2025-09-19 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/105735 >From e4bd1181d160b8728e7d4158417a83e183bd1709 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Thu, 22 Aug 2024 14:36:04 -0700 Subject: [PATCH 1/5] fix indentation in langref Created using spr 1.3.6-be

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

2025-09-19 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/105735 >From e4bd1181d160b8728e7d4158417a83e183bd1709 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Thu, 22 Aug 2024 14:36:04 -0700 Subject: [PATCH 1/5] fix indentation in langref Created using spr 1.3.6-be

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

2025-09-19 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson edited https://github.com/llvm/llvm-project/pull/105735 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] no-canonicalize (PR #159850)

2025-09-19 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 cpp -- clang/lib/Analysis/LifetimeSafety.cpp ``

[llvm-branch-commits] [clang] [LifetimeSafety] Disable canonicalization in immutable collections (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/159850 >From 0775d9ec1d9dffb1b2e29f28d986384660ae77d2 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Fri, 19 Sep 2025 21:30:46 + Subject: [PATCH] no-canonicalize --- clang/lib/Analysis/LifetimeSafety.cpp | 10

[llvm-branch-commits] [clang] no-canonicalize (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/159850 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] no-canonicalize (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/159850 >From 9916bece21522597542492e3209166518b9a5e6d Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Fri, 19 Sep 2025 21:30:46 + Subject: [PATCH] no-canonicalize --- clang/lib/Analysis/LifetimeSafety.cpp | 9 +

[llvm-branch-commits] [clang] no-canonicalize (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/159850 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Disable canonicalization in immutable collections (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/159850 ___ 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-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158447 >From 5bd8d4f925f3b5f82d85ef693861b6b1067d9f38 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 13 Sep 2025 22:54:58 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20i

[llvm-branch-commits] [Clang] Make rewrite-includes-bom.c work with internal shell (PR #158463)

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

[llvm-branch-commits] [Clang] Make rewrite-includes-bom.c work with internal shell (PR #158463)

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

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158447 >From 5bd8d4f925f3b5f82d85ef693861b6b1067d9f38 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 13 Sep 2025 22:54:58 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20i

[llvm-branch-commits] [lit] Add support for deleting symlinks to directories without -r (PR #158464)

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

[llvm-branch-commits] [Clang] Enable lit internal shell by default (PR #158465)

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

[llvm-branch-commits] [Clang] Enable lit internal shell by default (PR #158465)

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

[llvm-branch-commits] [lit] Add support for deleting symlinks to directories without -r (PR #158464)

2025-09-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158464 ___ 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-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Disable canonicalization in immutable collections (PR #159850)

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: Utkarsh Saxena (usx95) Changes Disable canonicalization in immutable collections for lifetime analysis. Modified the `LifetimeFactory` struct in `LifetimeSafety.cpp` to explicitly initialize the immutable collection factories wit

[llvm-branch-commits] [clang] no-canonicalize (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/159850 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Disable canonicalization in immutable collections (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 ready_for_review https://github.com/llvm/llvm-project/pull/159850 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] db1b1b2 - Revert "[PowerPC] clean unused PPC target feature FeatureBPERMD (#159782)"

2025-09-19 Thread via llvm-branch-commits
Author: Sergei Barannikov Date: 2025-09-19T22:31:34+03:00 New Revision: db1b1b28278693272ec6222e2096b755d15fbf9b URL: https://github.com/llvm/llvm-project/commit/db1b1b28278693272ec6222e2096b755d15fbf9b DIFF: https://github.com/llvm/llvm-project/commit/db1b1b28278693272ec6222e2096b755d15fbf9b.d

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

2025-09-19 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] [clang] no-canonicalize (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/159850 ___ 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-19 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/146076 >From b67b9c58a1612903f409cfdcec80e8565e4d5dc2 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] [AMDGPU][SDAG] DAGCombine PTRADD -> disjoint OR (PR #146075)

2025-09-19 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/146075 >From 395fdf948ee1864d6fc427e62db5433a5ef3eba0 Mon Sep 17 00:00:00 2001 From: Fabian Ritter Date: Fri, 27 Jun 2025 04:23:50 -0400 Subject: [PATCH 1/5] [AMDGPU][SDAG] DAGCombine PTRADD -> disjoint OR If we ca

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

2025-09-19 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/158281 >From bdde305c338bffd9958f17e3a11a08f2bb30b5bf 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] AMDGPU: Use RegClassByHwMode to manage operand VGPR operand constraints (PR #158272)

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
@@ -2926,6 +2929,20 @@ def HasLdsBarrierArriveAtomic : Predicate<"Subtarget->hasLdsBarrierArriveAtomic( def HasSetPrioIncWgInst : Predicate<"Subtarget->hasSetPrioIncWgInst()">, AssemblerPredicate<(all_of FeatureSetPrioIncWgInst)>; +def NeedsAlignedVGPRs : Predicate<"Subtarge

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

2025-09-19 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/146076 >From fcaebb21fdbc19ada18e20902a4626ba9ace9f99 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] [AMDGPU][SDAG] DAGCombine PTRADD -> disjoint OR (PR #146075)

2025-09-19 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/146075 >From 157f6a257a5771cff71fd5ea4be46251bd26d97f Mon Sep 17 00:00:00 2001 From: Fabian Ritter Date: Fri, 27 Jun 2025 04:23:50 -0400 Subject: [PATCH 1/5] [AMDGPU][SDAG] DAGCombine PTRADD -> disjoint OR If we ca

[llvm-branch-commits] [llvm] AMDGPU: Use RegClassByHwMode to manage operand VGPR operand constraints (PR #158272)

2025-09-19 Thread Christudasan Devadasan via llvm-branch-commits
@@ -2926,6 +2929,20 @@ def HasLdsBarrierArriveAtomic : Predicate<"Subtarget->hasLdsBarrierArriveAtomic( def HasSetPrioIncWgInst : Predicate<"Subtarget->hasSetPrioIncWgInst()">, AssemblerPredicate<(all_of FeatureSetPrioIncWgInst)>; +def NeedsAlignedVGPRs : Predicate<"Subtarge

[llvm-branch-commits] [llvm] X86: Switch to RegClassByHwMode (PR #158274)

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

[llvm-branch-commits] [llvm] [LoongArch] Override shouldScalarizeBinop to enable `extract(binop)->binop(extract)` combination (PR #159726)

2025-09-19 Thread via llvm-branch-commits
https://github.com/zhaoqi5 created https://github.com/llvm/llvm-project/pull/159726 None >From 058b3f901ddb9107d56d6fbb48d7f7b08d4f5562 Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 19 Sep 2025 16:56:53 +0800 Subject: [PATCH] [LoongArch] Override shouldScalarizeBinop hook to enable `extra

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

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
@@ -929,15 +929,15 @@ ARMBaseInstrInfo::describeLoadedValue(const MachineInstr &MI, return TargetInstrInfo::describeLoadedValue(MI, Reg); } -const MachineInstrBuilder & -ARMBaseInstrInfo::AddDReg(MachineInstrBuilder &MIB, unsigned Reg, - unsigned Su

[llvm-branch-commits] [clang] [HLSL] Use static create methods to initialize resources in arrays (PR #157005)

2025-09-19 Thread Chris B via llvm-branch-commits
@@ -243,16 +238,18 @@ static Value *initializeLocalResourceArray( Index = CGF.Builder.CreateAdd(Index, One); GEPIndices.back() = llvm::ConstantInt::get(IntTy, I); } -Address ThisAddress = +Address ReturnAddress = CGF.Builder.CreateGEP(TmpArrayAd

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

2025-09-19 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/158281 >From bdde305c338bffd9958f17e3a11a08f2bb30b5bf 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] [AMDGPU][SDAG] Enable ISD::PTRADD for 64-bit AS by default (PR #146076)

2025-09-19 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/146076 >From 33152a969116d67be445347b59dba9e9a902b09f 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] [LoongArch] Override shouldScalarizeBinop to enable `extract(binop)->binop(extract)` combination (PR #159726)

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: ZhaoQi (zhaoqi5) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/159726.diff 4 Files Affected: - (modified) llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp (+19) - (modified) llvm/lib/Target/LoongArch/

[llvm-branch-commits] [Remarks] YAMLRemarkSerializer: Fix StringRef out-of-bounds read (PR #159759)

2025-09-19 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler created https://github.com/llvm/llvm-project/pull/159759 YAML IO `mapRequired` expects a null-terminated `const char *` Key, so we can't legally pass a StringRef to it. We should add StringRef Key support to YAML IO, but for now just copy the key into a correctl

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

2025-09-19 Thread Jan Patrick Lehr via llvm-branch-commits
@@ -3561,6 +3564,28 @@ struct AMDGPUPluginTy final : public GenericPluginTy { return KernelAgents; } + Expected getMemoryInfo(const void *TgtPtr) override { jplehr wrote: The code in `OffloadImpl` and the code in the NVidia case had/have `std::lock_gu

[llvm-branch-commits] [CodeGen][CFI] Generalize transparent union parameters (PR #158193)

2025-09-19 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 cpp,c -- clang/lib/CodeGen/CodeGenModule.cpp clang/test

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

2025-09-19 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155992 >From 6d564c61ee23d20f411aadf598705140d5fbca2c Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 03:53:51 -0500 Subject: [PATCH] [flang][OpenMP] `do concurrent` to device mapping lit tests Adds more l

[llvm-branch-commits] [llvm] 5fd3aad - [DirectX] Updating Root Signature YAML representation to use Enums instead of uint (#154827)

2025-09-19 Thread via llvm-branch-commits
Author: joaosaffran Date: 2025-09-12T14:31:27-04:00 New Revision: 5fd3aad54c1be20c96fe407348604b4657ce53ab URL: https://github.com/llvm/llvm-project/commit/5fd3aad54c1be20c96fe407348604b4657ce53ab DIFF: https://github.com/llvm/llvm-project/commit/5fd3aad54c1be20c96fe407348604b4657ce53ab.diff L

[llvm-branch-commits] [clang] b0c713d - Add null checks

2025-09-19 Thread Samira Bakon via llvm-branch-commits
Author: Samira Bakon Date: 2025-09-09T14:12:39-04:00 New Revision: b0c713d5851dcb5dd5002ea15793947e17b4ae1f URL: https://github.com/llvm/llvm-project/commit/b0c713d5851dcb5dd5002ea15793947e17b4ae1f DIFF: https://github.com/llvm/llvm-project/commit/b0c713d5851dcb5dd5002ea15793947e17b4ae1f.diff

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

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

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

2025-09-19 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156840 >From 14c75441e84aa32e4f5876598b9a2c59d4ecbe65 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Mon, 8 Sep 2025 21:32:21 +0200 Subject: [PATCH 1/2] fixup! fix for incomplete types Created using spr 1.3.8-beta.1

[llvm-branch-commits] [lit] Add support for readfile to external shell (PR #159431)

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

[llvm-branch-commits] [clang] no-canonicalize (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 created https://github.com/llvm/llvm-project/pull/159850 None >From 05da67b132b73bef44de71fe950983f87ce883b8 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Fri, 19 Sep 2025 21:30:46 + Subject: [PATCH] no-canonicalize --- clang/lib/Analysis/LifetimeSafety.cpp

[llvm-branch-commits] [clang] no-canonicalize (PR #159850)

2025-09-19 Thread Utkarsh Saxena via llvm-branch-commits
usx95 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/159850?utm_source=stack-comment-downstack-mergeability-warning"; >

[llvm-branch-commits] [llvm] TableGen: Support target specialized pseudoinstructions (PR #159880)

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-tablegen Author: Matt Arsenault (arsenm) Changes Allow a target to steal the definition of a generic pseudoinstruction and remap the operands. This works by defining a new instruction, which will simply swap out the emitted entry in the InstrInfo table.

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

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes This eliminates the need to have PointerLikeRegClass handling in codegen. --- Full diff: https://github.com/llvm/llvm-project/pull/159881.diff 26 Files Affected: - (modified) llvm/lib/Target/AArc

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/159883 All uses have been migrated to RegClassByHwMode. This is now an implementation detail of InstrInfoEmitter for pseudoinstructions. >From 9d6a7e1dbf85eecadc522c341e9959122f46b2d3 Mon Sep 17 00:00:00 2001 From: Matt

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-globalisel Author: Matt Arsenault (arsenm) Changes All uses have been migrated to RegClassByHwMode. This is now an implementation detail of InstrInfoEmitter for pseudoinstructions. --- Full diff: https://github.com/llvm/llvm-project/pull/159883.dif

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

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

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

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

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

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

[llvm-branch-commits] [llvm] TableGen: Support target specialized pseudoinstructions (PR #159880)

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/159880 Allow a target to steal the definition of a generic pseudoinstruction and remap the operands. This works by defining a new instruction, which will simply swap out the emitted entry in the InstrInfo table. This is

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

2025-09-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes All uses have been migrated to RegClassByHwMode. This is now an implementation detail of InstrInfoEmitter for pseudoinstructions. --- Full diff: https://github.com/llvm/llvm-project/pull/159883.diff

[llvm-branch-commits] [llvm] TableGen: Support target specialized pseudoinstructions (PR #159880)

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

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

2025-09-19 Thread Sergei Barannikov via llvm-branch-commits
@@ -918,16 +918,23 @@ def slice; def encoder; def decoder; -/// PointerLikeRegClass - Values that are designed to have pointer width are -/// derived from this. TableGen treats the register class as having a symbolic -/// type that it doesn't know, and resolves the actual regc

[llvm-branch-commits] [llvm] [LoopUnroll] Fix block frequencies when no runtime (PR #157754)

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
@@ -1,4 +1,5 @@ ; RUN: opt < %s -S -passes=loop-unroll -unroll-runtime=true -unroll-count=4 | FileCheck %s +; XFAIL: * arsenm wrote: No xfailing tests? https://github.com/llvm/llvm-project/pull/157754 ___ llvm-branc

[llvm-branch-commits] Prepare libcxx and libcxxabi for pointer field protection. (PR #151651)

2025-09-19 Thread Nikolas Klauser via llvm-branch-commits
@@ -109,4 +109,14 @@ # define _LIBCXXABI_NOEXCEPT noexcept #endif +#if defined(_LIBCXXABI_COMPILER_CLANG) +# if defined(__POINTER_FIELD_PROTECTION__) +#define _LIBCXXABI_NO_PFP [[clang::no_field_protection]] +# else +#define _LIBCXXABI_NO_PFP +# endif +#else +# de

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

2025-09-19 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156840 >From 14c75441e84aa32e4f5876598b9a2c59d4ecbe65 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Mon, 8 Sep 2025 21:32:21 +0200 Subject: [PATCH 1/2] fixup! fix for incomplete types Created using spr 1.3.8-beta.1

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

2025-09-19 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] [llvm] [AllocToken, Clang] Implement __builtin_infer_alloc_token() and llvm.alloc.token.id (PR #156842)

2025-09-19 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] [clang] [HLSL] NonUniformResourceIndex implementation (PR #159655)

2025-09-19 Thread Damyan Pepper via llvm-branch-commits
https://github.com/damyanp commented: Is there value in testing cases where `NonUniformResourceIndex` is used in odd places? eg https://godbolt.org/z/jrdc1ErMM https://github.com/llvm/llvm-project/pull/159655 ___ llvm-branch-commits mailing list llvm

[llvm-branch-commits] [llvm] [AArch64] Split large loop dependence masks (PR #153187)

2025-09-19 Thread Sam Tebbs via llvm-branch-commits
SamTebbs33 wrote: Ping. https://github.com/llvm/llvm-project/pull/153187 ___ 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-19 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156841 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang-tools-extra] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [mlir] [openmp] release/21.x: [CMake][AIX] quote the string AIX `if` conditions (PR #1565

2025-09-19 Thread Amy Kwan via llvm-branch-commits
amy-kwan wrote: > > Uhm - this looks pretty big and seems like something that can easily break > > certain build configurations since it doesn't seem to touch only AIX > > Agreed that this looks big and scary, but it's a purely mechanical change, > that is a no-op for most targets. I'll add a

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

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
@@ -525,28 +525,32 @@ static bool dominatesMergePoint( static ConstantInt *getConstantInt(Value *V, const DataLayout &DL) { // Normal constant int. ConstantInt *CI = dyn_cast(V); - if (CI || !isa(V) || !V->getType()->isPointerTy() || - DL.isNonIntegralPointerType(V->g

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

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

[llvm-branch-commits] [llvm] TableGen: Support target specialized pseudoinstructions (PR #159880)

2025-09-19 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: That might work, but that also is more limiting. In particular that doesn't allow you to set implicit uses / defs like you would want for adjcallstack pseudos https://github.com/llvm/llvm-project/pull/159880 ___ llvm-branch-commits mai

  1   2   >