[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-10-18 Thread Tobias Hieta via llvm-branch-commits
tru wrote: I still feel pretty sketchy about this one. It seems large and could affect other platforms than AIX since it's changing the build system in pretty large ways. I would be much more comfortable if we just drop this for the release branch and make sure it's working well in `main` bef

[llvm-branch-commits] [llvm] AMDGPU: Remove unnecessary AGPR operand legalization (PR #162093)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes The operands need to be correct to begin with, this doesn't depend on the context of other operands. AV registers are not used for the vdst/src2 registers. --- Patch is 156.61 KiB, truncated to 20.

[llvm-branch-commits] [llvm] [outliners] Turn nooutline into an Enum Attribute (PR #163665)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Sam Elliott (lenary) Changes This change turns the `"nooutline"` attribute into an enum attribute called `nooutline`, and adds an auto-upgrader for bitcode to make the same change to existing IR. This IR attribute disables both t

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

2025-10-18 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] [llvm][mustache] Avoid redundant saves in accessor splitting (PR #159197)

2025-10-18 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159197 >From 98082984b1808471a721853ec5ae124e48ef0005 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 00:11:47 -0700 Subject: [PATCH] [llvm][mustache] Avoid redundant saves in accessor splitting The s

[llvm-branch-commits] [clang] [clang] Add clang::nooutline Attribute (PR #163666)

2025-10-18 Thread Nikolas Klauser via llvm-branch-commits
@@ -2355,6 +2355,13 @@ def NoInline : DeclOrStmtAttr { let SimpleHandler = 1; } +def NoOutline : DeclOrStmtAttr { + let Spellings = [CXX11<"clang", "nooutline">, C23<"clang", "nooutline">]; philnik777 wrote: I don't think this is done anywhere else. https

[llvm-branch-commits] [libc] [llvm] [libc][math] Refactor exp10m1f16 implementation to header-only in src/__support/math folder. (PR #161119)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix ready_for_review https://github.com/llvm/llvm-project/pull/161119 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LoongArch] Custom legalize vector_shuffle to `xvinsve0.{w/d}` when possible (PR #160857)

2025-10-18 Thread via llvm-branch-commits
@@ -2317,6 +2317,54 @@ static SDValue lowerVECTOR_SHUFFLE_XVPICKOD(const SDLoc &DL, ArrayRef Mask, return DAG.getNode(LoongArchISD::VPICKOD, DL, VT, V2, V1); } +// Check if exactly one element of the Mask is replaced by 'Replaced', while +// all other elements are either 'B

[llvm-branch-commits] [Clang] Refactor allocation type inference logic (PR #163636)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Marco Elver (melver) Changes Refactor the logic for inferring allocated types out of `CodeGen` and into a new reusable component in `clang/AST/InferAlloc.h`. This is a preparatory step for implementing `__builtin_infer_alloc_token`. By mov

[llvm-branch-commits] [libc] [libc][annex_k] Add rsize_t. (PR #163238)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix updated https://github.com/llvm/llvm-project/pull/163238 >From 061abfec0f8d6b962ca0df6945710b43cd2cb895 Mon Sep 17 00:00:00 2001 From: bassiounix Date: Mon, 13 Oct 2025 21:14:40 +0300 Subject: [PATCH] [libc][annex_k] Add rsize_t. --- libc/hdr/types/CMakeLists.txt

[llvm-branch-commits] [flang] [mlir] [flang][OpenACC] generate Destroy region to free memory of private and firstprivate if needed (PR #162702)

2025-10-18 Thread via llvm-branch-commits
https://github.com/jeanPerier created https://github.com/llvm/llvm-project/pull/162702 This patch extends the MappableTypeInterface to: - allow genPrivateInit to indicate that a Destroy region will be needed. - add genPrivateDestroy to generate the destruction code - Implement both interfaces in

[llvm-branch-commits] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 shift operations (PR #163163)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray updated https://github.com/llvm/llvm-project/pull/163163 >From bd8b1cd19a08176fafe5c949a071776a3c88aac3 Mon Sep 17 00:00:00 2001 From: Jonathan Thackray Date: Fri, 5 Sep 2025 23:50:38 +0100 Subject: [PATCH 1/2] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 shift

[llvm-branch-commits] [clang] f8151a1 - [clang] [Headers] Don't use unreserved names in avx10_2bf16intrin.h (#161824)

2025-10-18 Thread Douglas Yung via llvm-branch-commits
Author: Martin Storsjö Date: 2025-10-06T06:38:23Z New Revision: f8151a1d2c86aa7cf49f0f34231016bb901d4c70 URL: https://github.com/llvm/llvm-project/commit/f8151a1d2c86aa7cf49f0f34231016bb901d4c70 DIFF: https://github.com/llvm/llvm-project/commit/f8151a1d2c86aa7cf49f0f34231016bb901d4c70.diff LOG

[llvm-branch-commits] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 LUTI6 operations (PR #163164)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray edited https://github.com/llvm/llvm-project/pull/163164 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [DirectX] Updating Root Signature Metadata to contain Static Sampler flags (PR #160210)

2025-10-18 Thread Justin Bogner via llvm-branch-commits
https://github.com/bogner edited https://github.com/llvm/llvm-project/pull/160210 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libc] [llvm] [libc][math] Refactor exp10m1f16 implementation to header-only in src/__support/math folder. (PR #161119)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libc Author: Muhammad Bassiouni (bassiounix) Changes Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 --- Full diff: https://

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid extra copy for json strings (PR #159195)

2025-10-18 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 approved this pull request. https://github.com/llvm/llvm-project/pull/159195 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AArch64][SME] Support split ZPR and PPR area allocation (PR #142392)

2025-10-18 Thread Sander de Smalen via llvm-branch-commits
@@ -56,16 +56,19 @@ // | async context if needed | // | (a.k.a. "frame record") | // |---| <- fp(=x29) -// | | -// |---| -// | | -// | callee-

[llvm-branch-commits] [llvm] [LoongArch] Add patterns to support vector type average instructions generation (PR #161079)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: ZhaoQi (zhaoqi5) Changes --- Patch is 24.68 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/161079.diff 4 Files Affected: - (modified) llvm/lib/Target/LoongArch/LoongArchLASXInst

[llvm-branch-commits] [llvm] [SimplifyCFG][profcheck] Handle branch weights in `simplifySwitchLookup` (PR #161739)

2025-10-18 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/161739 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Refactor allocation type inference logic (PR #163636)

2025-10-18 Thread Florian Mayer via llvm-branch-commits
@@ -0,0 +1,204 @@ +//===--- InferAlloc.cpp - Allocation type inference ---===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[llvm-branch-commits] [llvm] release/21.x: [SPARC] Prevent meta instructions from being inserted into delay slots (#161111) (PR #161937)

2025-10-18 Thread via llvm-branch-commits
https://github.com/dyung closed https://github.com/llvm/llvm-project/pull/161937 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AllocToken] Introduce AllocToken instrumentation pass (PR #156838)

2025-10-18 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/156838 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [mlir] [flang][OpenACC] generate Destroy region to free memory of private and firstprivate if needed (PR #162702)

2025-10-18 Thread Razvan Lupusoru via llvm-branch-commits
@@ -667,23 +673,69 @@ template mlir::Value OpenACCMappableModel::generatePrivateInit( mlir::Type type, mlir::OpBuilder &builder, mlir::Location loc, mlir::TypedValue var, llvm::StringRef varName, -mlir::ValueRange extents, mlir::Value initVal) const; +mlir::Valu

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 DOT and MLA operations (PR #163161)

2025-10-18 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: @jthackray OK, the CI is using the same machines except 16-cores instead of 32, so it sounds like it could be a coincidence, so don't block your merge on this failure. The CI tests are new and non-mandatory while we work out issues (like this one). https://github.com/llvm/llv

[llvm-branch-commits] [llvm] [outliners] Turn nooutline into an Enum Attribute (PR #163665)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: Sam Elliott (lenary) Changes This change turns the `"nooutline"` attribute into an enum attribute called `nooutline`, and adds an auto-upgrader for bitcode to make the same change to existing IR. This IR attribute disables both the Machi

[llvm-branch-commits] [llvm] (NFC) Tidy up alignment/formatting in AArch64/AArch64InstrInfo.td (PR #163645)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray ready_for_review https://github.com/llvm/llvm-project/pull/163645 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libc] [libc][annex_k] Add libc_constraint_handler. (PR #164091)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libc @llvm/pr-subscribers-backend-risc-v Author: Muhammad Bassiouni (bassiounix) Changes RFC https://discourse.llvm.org/t/rfc-bounds-checking-interfaces-for-llvm-libc/87685 Add internal `libc_constraint_handler` required by Annex K interface in LLVM l

[llvm-branch-commits] [clang] release/21.x: [clang-format] Correctly handle backward compatibility of C headers (#159908) (PR #163910)

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

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

2025-10-18 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 01/10] fix indentation in langref Created using spr 1.3.6-

[llvm-branch-commits] [llvm] [LV] Bundle partial reductions inside VPExpressionRecipe (PR #147302)

2025-10-18 Thread Sander de Smalen via llvm-branch-commits
@@ -2955,12 +2966,14 @@ tryToMatchAndCreateMulAccumulateReduction(VPReductionRecipe *Red, // Match reduce.add(mul(ext, ext)). if (RecipeA && RecipeB && -(RecipeA->getOpcode() == RecipeB->getOpcode() || A == B) && +(RecipeA->getOpcode() == RecipeB->getO

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_REDUCTION (PR #160192)

2025-10-18 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -1559,12 +1559,7 @@ class OmpVisitor : public virtual DeclarationVisitor { bool Pre(const parser::OpenMPDeclareReductionConstruct &x) { AddOmpSourceRange(x.source); -parser::OmpClauseList empty(std::list{}); -auto &maybeClauses{std::get>(x.t)}; -ProcessRed

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

2025-10-18 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/159883 >From 967e1643c54fb554986623f3e56a3f5bc7cf00cd Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 9 Sep 2025 20:13:52 +0900 Subject: [PATCH] CodeGen: Remove PointerLikeRegClass handling from codegen All us

[llvm-branch-commits] [clang] release/21.x: [clang] [Headers] Don't use unreserved names in avx10_2bf16intrin.h (#161824) (PR #161836)

2025-10-18 Thread via llvm-branch-commits
github-actions[bot] wrote: @mstorsjo (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] [SimplifyCFG][profcheck] Profile propagation for `indirectbr` (PR #161747)

2025-10-18 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/161747 >From 349db63164964eb69da4653e3bc24c626401cb1a Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 2 Oct 2025 15:56:16 -0700 Subject: [PATCH] [SimplifyCFG][profcheck] Profile propagation for `indirectbr` --

[llvm-branch-commits] [llvm] [AllocToken] Refactor stateless token calculation into Support (PR #163633)

2025-10-18 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/163633 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][openacc] map data operand results to symbols inside compute region (PR #162306)

2025-10-18 Thread Slava Zakharin via llvm-branch-commits
https://github.com/vzakhari edited https://github.com/llvm/llvm-project/pull/162306 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libc] [libc][stdlib][annex_k] Add set_constraint_handler_s. (PR #163320)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix updated https://github.com/llvm/llvm-project/pull/163320 >From bcdb65fc5c7cdd14db319b2bfba465c80ec43fed Mon Sep 17 00:00:00 2001 From: bassiounix Date: Tue, 14 Oct 2025 07:06:06 +0300 Subject: [PATCH] [libc][stdlib][annex_k] Add set_constraint_handler_s. --- libc

[llvm-branch-commits] [clang] release/21.x: [libclang/python] Return None instead of null cursors from Token.cursor (#163183) (PR #163961)

2025-10-18 Thread Vlad Serebrennikov via llvm-branch-commits
Endilll wrote: > I get "Merging is blocked Cannot update this protected ref." Can one of you > merge this? No, it's up to the release managers to merge it. https://github.com/llvm/llvm-project/pull/163961 ___ llvm-branch-commits mailing list llvm-bra

[llvm-branch-commits] [clang] [CIR] Make all opt tests verify roundtrip (PR #161439)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Henrich Lauko (xlauko) Changes This mirrors incubator changes from https://github.com/llvm/clangir/pull/1923 --- Full diff: https://github.com/llvm/llvm-project/pull/161439.diff 29 Files Affected: - (modified) clang/test/CIR/IR/alloca

[llvm-branch-commits] [clang] [LifetimeSafety] Introduce a liveness-based lifetime policy (PR #159991)

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

[llvm-branch-commits] [clang] [clang] Add clang::nooutline Attribute (PR #163666)

2025-10-18 Thread Erich Keane via llvm-branch-commits
@@ -0,0 +1,25 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --check-attributes --version 6 +// RUN: %clang_cc1 -emit-llvm %s -triple x86_64-unknown-linux-gnu -o - | FileCheck %s --check-prefix=C +// RUN: %clang_cc1 -emit-llvm -x c++

[llvm-branch-commits] [libc] [libc][stdlib][annex_k] Add ignore_handler_s. (PR #163313)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix updated https://github.com/llvm/llvm-project/pull/163313 >From bb856148c0ad9d81b9f39cddb7eb75c50ddb2803 Mon Sep 17 00:00:00 2001 From: bassiounix Date: Tue, 14 Oct 2025 06:20:42 +0300 Subject: [PATCH] [libc][stdlib][annex_k] Add ignore_handler_s. --- libc/config/

[llvm-branch-commits] [llvm] [StaticDataLayout] Factor out a helper function for section prefix eligibility and use it in both optimizer and codegen (PR #162348)

2025-10-18 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm edited https://github.com/llvm/llvm-project/pull/162348 ___ 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-10-18 Thread Marco Elver via llvm-branch-commits
@@ -0,0 +1,45 @@ +// RUN: %clang_cc1-fsanitize=alloc-token -falloc-token-max=2147483647 -triple x86_64-linux-gnu -x c -emit-llvm %s -o - | FileCheck %s melver wrote: Switching CodeGenCXX to -disable-llvm-passes. But I'm a little paranoid, so for the CodeGen

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in THREADPRIVATE (PR #159632)

2025-10-18 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. LGTM, although maybe this should have the usual parse tree tests added? https://github.com/llvm/llvm-project/pull/159632 ___ llvm-branch-commits mailing list [email protected] https:

[llvm-branch-commits] [clang] a867bd5 - [clang][PAC] Don't try to diagnose use of pointer auth on dependent types #159505 (#159859)

2025-10-18 Thread Douglas Yung via llvm-branch-commits
Author: Oliver Hunt Date: 2025-10-01T15:18:20Z New Revision: a867bd53e86173e6e1b9f40960133e72ff206414 URL: https://github.com/llvm/llvm-project/commit/a867bd53e86173e6e1b9f40960133e72ff206414 DIFF: https://github.com/llvm/llvm-project/commit/a867bd53e86173e6e1b9f40960133e72ff206414.diff LOG: [

[llvm-branch-commits] [clang] [llvm] [DirectX] Updating Root Signature Metadata to contain Static Sampler flags (PR #160210)

2025-10-18 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic edited https://github.com/llvm/llvm-project/pull/160210 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AllocToken] Introduce sanitize_alloc_token attribute and alloc_token metadata (PR #160131)

2025-10-18 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/160131 >From 8bd83ce9eeb447edb7b0d983a85c8ab50c323a37 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Mon, 22 Sep 2025 17:34:08 +0200 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UTF-

[llvm-branch-commits] [llvm] [llvm][mustache] Precommit test for Set Delimiter (PR #159186)

2025-10-18 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159186 >From dc36a30738a2dd5962e5c667cc13264957f75f5c Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 29 Aug 2025 23:55:25 -0700 Subject: [PATCH] [llvm][mustache] Precommit test for Set Delimiter Adds a new unit

[llvm-branch-commits] [Clang][Sema] Add __builtin_infer_alloc_token() declaration and semantic checks (PR #163638)

2025-10-18 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/163638 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Armv9.7-A: Add support for new Advanced SIMD (Neon) instructions (PR #163165)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray updated https://github.com/llvm/llvm-project/pull/163165 >From 1fb9073803d99712a50c520e445d6def801834c9 Mon Sep 17 00:00:00 2001 From: Jonathan Thackray Date: Mon, 15 Sep 2025 21:13:29 +0100 Subject: [PATCH 1/2] [AArch64][llvm] Armv9.7-A: Add support for new Advance

[llvm-branch-commits] [clang] release/21.x: [clang-format] Fix an assertion failure on comment-only config files (#163111) (PR #163919)

2025-10-18 Thread via llvm-branch-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/163919 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Add frontend for search (PR #160308)

2025-10-18 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev updated https://github.com/llvm/llvm-project/pull/160308 >From 0f530793bdc1c6f364cc1b9238790c21262e6c97 Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Tue, 23 Sep 2025 15:17:50 +0100 Subject: [PATCH] Add frontend for search --- .../Target/AMDGPU/graphite-demo/fro

[llvm-branch-commits] [llvm] AMDGPU: Fix constrain register logic for physregs (PR #161794)

2025-10-18 Thread Christudasan Devadasan via llvm-branch-commits
https://github.com/cdevadas approved this pull request. https://github.com/llvm/llvm-project/pull/161794 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] release/21.x: [libc++][ranges] Fix `ranges::join_view` segmented iterator trait (#158347) (PR #161008)

2025-10-18 Thread via llvm-branch-commits
dyung wrote: Hi @frederick-vs-ja and @philnik777 could one of you review this proposed change for the release branch? https://github.com/llvm/llvm-project/pull/161008 ___ llvm-branch-commits mailing list [email protected] https://list

[llvm-branch-commits] [libc] [libc][stdlib][annex_k] Add ignore_handler_s. (PR #164090)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix edited https://github.com/llvm/llvm-project/pull/164090 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 LUTI6 operations (PR #163164)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
@@ -0,0 +1,70 @@ +// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p3 2>&1 < %s| FileCheck %s + +// --// +// Invalid element width + +luti6 z10.h, { z0.b, z1.b }, z0 +// CHECK: [[@LINE-1]]:{{[0-

[llvm-branch-commits] [libc] [libc][annex_k] Add constraint_handler_t. (PR #163239)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix updated https://github.com/llvm/llvm-project/pull/163239 >From 018e1e78ff7f9f5023d673f7002ab8071a6cf829 Mon Sep 17 00:00:00 2001 From: bassiounix Date: Mon, 13 Oct 2025 21:38:25 +0300 Subject: [PATCH 1/2] [libc][annex_k] Add constraint_handler_t. --- libc/hdr/typ

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

2025-10-18 Thread Hans Wennborg via llvm-branch-commits
@@ -0,0 +1,173 @@ += +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] [llvm] release/21.x: [Mips] Fix clang crashes when assembling invalid MIPS beql instructions with --arch=mips (#156413) (PR #162806)

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

[llvm-branch-commits] [llvm] [StaticDataLayout] Factor out a helper function for section prefix eligibility and use it in both optimizer and codegen (PR #162348)

2025-10-18 Thread Mingming Liu via llvm-branch-commits
@@ -6,6 +6,43 @@ #include "llvm/ProfileData/InstrProf.h" using namespace llvm; + +namespace llvm { +namespace memprof { +// Returns true iff the global variable has custom section either by +// __attribute__((section("name"))) +// (https://clang.llvm.org/docs/AttributeReferen

[llvm-branch-commits] [AllocToken] Make token mode a pass parameter (PR #163634)

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

[llvm-branch-commits] [llvm] [SimplifyCFG][profcheck] Profile propagation for `indirectbr` (PR #161747)

2025-10-18 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/161747 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LoongArch] Perform DAG combine for MUL to generate `[x]vmulw{ev/od}` (PR #161368)

2025-10-18 Thread via llvm-branch-commits
https://github.com/zhaoqi5 ready_for_review https://github.com/llvm/llvm-project/pull/161368 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 LUTI6 operations (PR #163164)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
@@ -4659,8 +4659,17 @@ let Predicates = [HasSVE2p3_or_SME2p3] in { defm SQSHRUN_Z2ZI_StoH : sve_multi_vec_shift_narrow<"sqshrun", 0b100, null_frag>; defm SQSHRN_Z2ZI_StoH : sve_multi_vec_shift_narrow<"sqshrn", 0b000, null_frag>; defm UQSHRN_Z2ZI_StoH : sve_multi

[llvm-branch-commits] [clang] [clang-tools-extra] [clang][Tooling] Support 'c++latest' in InterpolatingCompilationDatabase (PR #160030)

2025-10-18 Thread Haojian Wu via llvm-branch-commits
https://github.com/hokein approved this pull request. https://github.com/llvm/llvm-project/pull/160030 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [PowerPC] Implement paddis (PR #161572)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-powerpc Author: Lei Huang (lei137) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/161572.diff 12 Files Affected: - (modified) llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp (+4-2) - (modified) llvm/lib/Target/PowerPC/M

[llvm-branch-commits] [Clang] Implement constexpr evaluation for __builtin_infer_alloc_token() (PR #163639)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Marco Elver (melver) Changes Implement the constexpr evaluation for `__builtin_infer_alloc_token()` in Clang's constant expression evaluators (both in ExprConstant and the new bytecode interpreter). The constant evaluation is only supporte

[llvm-branch-commits] [mlir] [mlir][vector] Simplify createReadOrMaskedRead (PR #163736)

2025-10-18 Thread Andrzej Warzyński via llvm-branch-commits
@@ -219,18 +219,16 @@ bool isLinearizableVector(VectorType type); /// Creates a TransferReadOp from `source`. /// -/// The shape of the vector to read is specified via `inputVectorSizes`. If the -/// shape of the output vector differs from the shape of the value being read, -/

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_SIMD (PR #160390)

2025-10-18 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: PR stack: 1. https://github.com/llvm/llvm-project/pull/160372 2. https://github.com/llvm/llvm-project/pull/160371 3. https://github.com/llvm/llvm-project/pull/160390 (this PR) https://github.com/llvm/llvm-project/pull/160390 ___ llvm-b

[llvm-branch-commits] [lld] [lld][MachO] Use llvm::Align and remove StringOffset type (PR #161253)

2025-10-18 Thread Ellis Hoag via llvm-branch-commits
https://github.com/ellishg updated https://github.com/llvm/llvm-project/pull/161253 >From d47f1b9a1075e9588e0bc54afb2da33838ba71b1 Mon Sep 17 00:00:00 2001 From: Ellis Hoag Date: Mon, 29 Sep 2025 11:03:21 -0700 Subject: [PATCH 1/2] [lld][MachO] Use llvm::Align and remove StringOffset type ---

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

2025-10-18 Thread Jon Roelofs via llvm-branch-commits
https://github.com/jroelofs approved this pull request. https://github.com/llvm/llvm-project/pull/159784 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] 5741e12 - Revert "[MLIR][Math][XeVM] Add MathToXeVM (`math-to-xevm`) pass (#159878)"

2025-10-18 Thread via llvm-branch-commits
Author: Md Abdullah Shahneous Bari Date: 2025-10-10T16:16:43-05:00 New Revision: 5741e129230decf0a48971c06548fae5a8caeaa6 URL: https://github.com/llvm/llvm-project/commit/5741e129230decf0a48971c06548fae5a8caeaa6 DIFF: https://github.com/llvm/llvm-project/commit/5741e129230decf0a48971c06548fae5a

[llvm-branch-commits] [libc] [libc][annex_k] Add libc_constraint_handler macros. (PR #164092)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix updated https://github.com/llvm/llvm-project/pull/164092 >From b2f54c03c48a8484b8fea39c5a45e8ae273eecec Mon Sep 17 00:00:00 2001 From: bassiounix Date: Tue, 14 Oct 2025 06:45:09 +0300 Subject: [PATCH] [libc][annex_k] Add libc_constraint_handler macros. --- libc/s

[llvm-branch-commits] [libc++] Add build and CI support for pointer field protection (PR #152414)

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

[llvm-branch-commits] [lld] MC: Introduce R_AARCH64_FUNCINIT64 relocation type. (PR #133531)

2025-10-18 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/133531 >From 96e7da9a083888683c2ba00d97f886fd748ea10b Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 9 Apr 2025 20:30:57 -0700 Subject: [PATCH 1/3] Undo unnecessary change Created using spr 1.3.6-beta.1 ---

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: make use of C++17 features and LLVM helpers (PR #141665)

2025-10-18 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/141665 >From 848258caa8baa403782f72e29cb9fce12305d309 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 27 May 2025 21:06:03 +0300 Subject: [PATCH] [BOLT] Gadget scanner: make use of C++17 features and L

[llvm-branch-commits] [FlowSensitive] [StatusOr] [5/N] Support absl::OkStatus et al (PR #163872)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: Florian Mayer (fmayer) Changes This allows comparison which these status codes --- Full diff: https://github.com/llvm/llvm-project/pull/163872.diff 3 Files Affected: - (modified) clang/lib/Analysis/FlowSensitive/Models/Unchec

[llvm-branch-commits] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 CVT operations (PR #163162)

2025-10-18 Thread via llvm-branch-commits
https://github.com/CarolineConcatto edited https://github.com/llvm/llvm-project/pull/163162 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [HLSL] GetDimensions methods for buffer resources (PR #161929)

2025-10-18 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota converted_to_draft https://github.com/llvm/llvm-project/pull/161929 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 DOT and MLA operations (PR #163161)

2025-10-18 Thread via llvm-branch-commits
@@ -29,7 +29,7 @@ sdot z0.s, z0.h, z0.h[-1] // Invalid vector suffix sdot z0.h, z0.s, z0.s -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction CarolineConcatto wrote: I thin

[llvm-branch-commits] [clang] release/21.x: [clang-format] Fix a crash on BAS_BlockIndent (#164047) (PR #164126)

2025-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: owenca (owenca) Changes Backport 44a77f21045906d39fc8740a323e0ce63e15a12c --- Full diff: https://github.com/llvm/llvm-project/pull/164126.diff 3 Files Affected: - (modified) clang/lib/Format/ContinuationIndenter.cpp (+1-1) - (mo

[llvm-branch-commits] [clang] release/21.x: [clang-format] Fix a crash on BAS_BlockIndent (#164047) (PR #164126)

2025-10-18 Thread via llvm-branch-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/164126 Backport 44a77f21045906d39fc8740a323e0ce63e15a12c >From f0f3b33f996df6c18b82ae5588dd8622cfdcd904 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sat, 18 Oct 2025 13:48:37 -0700 Subject: [PATCH] release/21.x: [clan

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Armv9.7-A: Add support for new Advanced SIMD (Neon) instructions (PR #163165)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray updated https://github.com/llvm/llvm-project/pull/163165 >From 1fb9073803d99712a50c520e445d6def801834c9 Mon Sep 17 00:00:00 2001 From: Jonathan Thackray Date: Mon, 15 Sep 2025 21:13:29 +0100 Subject: [PATCH 1/2] [AArch64][llvm] Armv9.7-A: Add support for new Advance

[llvm-branch-commits] [clang] release/21.x: [clang-format] Fix a crash on BAS_BlockIndent (#164047) (PR #164126)

2025-10-18 Thread Björn Schäpers via llvm-branch-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/164126 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: make use of C++17 features and LLVM helpers (PR #141665)

2025-10-18 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/141665 >From 63bb5f84ce94b89acd3125969147fc3c3031a9ed Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 27 May 2025 21:06:03 +0300 Subject: [PATCH] [BOLT] Gadget scanner: make use of C++17 features and L

[llvm-branch-commits] [asan] Hide SetTLSFakeStack as static function of cpp (PR #163674)

2025-10-18 Thread Thurston Dang via llvm-branch-commits
https://github.com/thurstond approved this pull request. https://github.com/llvm/llvm-project/pull/163674 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [StaticDataLayout] Factor out a helper function for section prefix eligibility and use it in both optimizer and codegen (PR #162348)

2025-10-18 Thread Mingming Liu via llvm-branch-commits
mingmingl-llvm wrote: Hi folks, this PR is ready for review (again, after `llvm/test/CodeGen/X86/global-variable-partition-with-dap.ll` is added for subsequent PRs to expand on), thanks! https://github.com/llvm/llvm-project/pull/162348 ___ llvm-branc

[llvm-branch-commits] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 CVT operations (PR #163162)

2025-10-18 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray updated https://github.com/llvm/llvm-project/pull/163162 >From c31e665e737ad9c5efe63fbebef77051fd5319dd Mon Sep 17 00:00:00 2001 From: Jonathan Thackray Date: Fri, 5 Sep 2025 23:47:55 +0100 Subject: [PATCH 1/2] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 CVT

[llvm-branch-commits] [clang] [CIR] Upstream `AddressSpace` conversions support (PR #161212)

2025-10-18 Thread David Rivera via llvm-branch-commits
https://github.com/RiverDave updated https://github.com/llvm/llvm-project/pull/161212 >From 4d58946e6813b357d3adc0cf826066afc0bdc115 Mon Sep 17 00:00:00 2001 From: David Rivera Date: Mon, 29 Sep 2025 11:05:44 -0400 Subject: [PATCH 1/3] [CIR] Upstream AddressSpace casting support --- .../CIR/D

[llvm-branch-commits] [clang] [CIR] Refactor cir.cast to use uniform assembly form w/o parens, commas (PR #161431)

2025-10-18 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/161431 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libc] [libc][stdlib][annex_k] Add ignore_handler_s. (PR #163313)

2025-10-18 Thread Muhammad Bassiouni via llvm-branch-commits
https://github.com/bassiounix updated https://github.com/llvm/llvm-project/pull/163313 >From 51c1e508aba58f730da137d2b1b62371aeb22482 Mon Sep 17 00:00:00 2001 From: bassiounix Date: Tue, 14 Oct 2025 06:20:42 +0300 Subject: [PATCH] [libc][stdlib][annex_k] Add ignore_handler_s. --- libc/config/

[llvm-branch-commits] [clang] [clang] Add clang::nooutline Attribute (PR #163666)

2025-10-18 Thread Erich Keane via llvm-branch-commits
@@ -0,0 +1,25 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --check-attributes --version 6 +// RUN: %clang_cc1 -emit-llvm %s -triple x86_64-unknown-linux-gnu -o - | FileCheck %s --check-prefix=C +// RUN: %clang_cc1 -emit-llvm -x c++

[llvm-branch-commits] [clang] d950f15 - Revert "[AArch64] Add intrinsics for multi-vector FEAT_SVE_BFSCALE instructio…"

2025-10-18 Thread via llvm-branch-commits
Author: Lukacma Date: 2025-10-15T10:30:11+01:00 New Revision: d950f15da84fd3aeef3a18c3ef71e271a566d1bc URL: https://github.com/llvm/llvm-project/commit/d950f15da84fd3aeef3a18c3ef71e271a566d1bc DIFF: https://github.com/llvm/llvm-project/commit/d950f15da84fd3aeef3a18c3ef71e271a566d1bc.diff LOG:

[llvm-branch-commits] [clang] [llvm] [HLSL] Update Frontend to support version 1.2 of root signature (PR #160616)

2025-10-18 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic commented: Basically LGTM, just missing some pretty printing and a test-case https://github.com/llvm/llvm-project/pull/160616 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid extra copy for json strings (PR #159195)

2025-10-18 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159195 >From a920b52ad745f614bd8e0310edbfb01294035ef3 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 15 Sep 2025 19:54:34 -0700 Subject: [PATCH] [llvm][mustache] Avoid extra copy for json strings --- llvm/lib/S

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

2025-10-18 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak updated https://github.com/llvm/llvm-project/pull/150925 >From fa55e458a05ade45f2498478e025c31930d6554c 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] [clang] release/21.x: [clang-format] Annotate ::operator and Foo::operator correctly (#164048) (PR #164112)

2025-10-18 Thread Björn Schäpers via llvm-branch-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/164112 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] [LoongArch][DAGCombiner] Combine vxor (vand ..) to vandn (PR #161037)

2025-10-18 Thread via llvm-branch-commits
@@ -4939,6 +4939,86 @@ void LoongArchTargetLowering::ReplaceNodeResults( } } +// Helper to attempt to return a cheaper, bit-inverted version of \p V. +static SDValue isNOT(SDValue V, SelectionDAG &DAG) { + // TODO: don't always ignore oneuse constraints. + V = peekThroughB

<    1   2   3   4   5   6   7   8   9   10   >