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

2025-09-30 Thread Vitaly Buka via llvm-branch-commits
@@ -334,21 +348,30 @@ bool AllocToken::instrumentFunction(Function &F) { // Do not apply any instrumentation for naked functions. if (F.hasFnAttribute(Attribute::Naked)) return false; - if (F.hasFnAttribute(Attribute::DisableSanitizerInstrumentation)) -return false

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

2025-09-30 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/141665 >From 12320f045000bae8bedc4783b4e82429c57d0998 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] [clang-tools-extra] [llvm] [llvm][mustache] Use BumpPtrAllocator to save ASTNodes (PR #159194)

2025-09-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159194 >From f9e86b823bb66126bd6ebe4f72c8ee68462be745 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 15 Sep 2025 16:26:11 -0700 Subject: [PATCH] [llvm][mustache] Use BumpPtrAllocator to save ASTNodes We make the

[llvm-branch-commits] [llvm] f29f111 - [JITLink][MachO] Use Triple::isArm64e consistently.

2025-09-30 Thread Lang Hames via llvm-branch-commits
Author: Lang Hames Date: 2025-10-01T11:07:37+10:00 New Revision: f29f1112f5cc467c0cdac05532770cdd15382c23 URL: https://github.com/llvm/llvm-project/commit/f29f1112f5cc467c0cdac05532770cdd15382c23 DIFF: https://github.com/llvm/llvm-project/commit/f29f1112f5cc467c0cdac05532770cdd15382c23.diff LO

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid extra allocations in parseSection (PR #159199)

2025-09-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159199 >From f048f53b5c4b4fa7d7fa67d880d06e52cdfb9524 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 09:40:04 -0700 Subject: [PATCH] [llvm][mustache] Avoid extra allocations in parseSection We don't

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

2025-09-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang 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.c

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

2025-09-30 Thread Marco Elver via llvm-branch-commits
@@ -205,6 +231,26 @@ class TypeHashMode : public ModeBase { } }; +/// Implementation for TokenMode::TypeHashPointerSplit. +class TypeHashPointerSplitMode : public TypeHashMode { +public: + using TypeHashMode::TypeHashMode; + + uint64_t operator()(const CallBase &CB, Optimi

[llvm-branch-commits] [llvm] [LoopUnroll] Fix block frequencies for epilogue (PR #159163)

2025-09-30 Thread Joel E. Denny via llvm-branch-commits
https://github.com/jdenny-ornl updated https://github.com/llvm/llvm-project/pull/159163 >From 5a9959313c0aebc1c707d19e30055cb925be7760 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Tue, 16 Sep 2025 16:03:11 -0400 Subject: [PATCH 1/5] [LoopUnroll] Fix block frequencies for epilogue As an

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

2025-09-30 Thread Marco Elver via llvm-branch-commits
@@ -6672,16 +6762,24 @@ RValue CodeGenFunction::EmitCall(QualType CalleeType, RValue Call = EmitCall(FnInfo, Callee, ReturnValue, Args, &LocalCallOrInvoke, E == MustTailCall, E->getExprLoc()); - // Generate function declaration DISuprogram in order

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

2025-09-30 Thread David Rivera via llvm-branch-commits
@@ -2283,7 +2295,10 @@ Address CIRGenFunction::createTempAlloca(mlir::Type ty, CharUnits align, // be different from the type defined by the language. For example, // in C++ the auto variables are in the default address space. Therefore // cast alloca to the default addr

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

2025-09-30 Thread Amr Hesham via llvm-branch-commits
https://github.com/AmrDeveloper approved this pull request. https://github.com/llvm/llvm-project/pull/161439 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-09-30 Thread Joel E. Denny via llvm-branch-commits
https://github.com/jdenny-ornl updated https://github.com/llvm/llvm-project/pull/157754 >From 75a8df62df2ef7e8c02d7a76120e57e2dd1a1539 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Tue, 9 Sep 2025 17:33:38 -0400 Subject: [PATCH 1/3] [LoopUnroll] Fix block frequencies when no runtime Thi

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Implement comparison operators for `tuple` added in C++23 (#148799) (PR #151808)

2025-09-30 Thread Hristo Hristov via llvm-branch-commits
H-G-Hristov wrote: > @frederick-vs-ja If this isn't landing in LLVM21? Can you update the release > notes, etc. @frederick-vs-ja ping https://github.com/llvm/llvm-project/pull/151808 ___ llvm-branch-commits mailing list [email protected]

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

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

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

2025-09-30 Thread Benjamin Maxwell via llvm-branch-commits
MacDue wrote: Hey, I was going over this patch again and tried to simplify the flow of `LowerLOOP_DEPENDENCE_MASK`, so in a single step it only does one thing (widen, convert to scalable, or split). I have something working here, https://github.com/MacDue/llvm-project/commits/alias-intrinsic-b

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: optionally assume auth traps on failure (PR #139778)

2025-09-30 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/139778 >From 1c2efdf074ba37cffe170a4a33b54c1000f169b9 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 13 May 2025 19:50:41 +0300 Subject: [PATCH 1/2] [BOLT] Gadget scanner: optionally assume auth traps

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

2025-09-30 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/141665 >From 8d63466a0300e5749006619c638b1bb65072cbf7 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] [llvm] [BOLT] Gadget scanner: optionally assume auth traps on failure (PR #139778)

2025-09-30 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/139778 >From 1c2efdf074ba37cffe170a4a33b54c1000f169b9 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 13 May 2025 19:50:41 +0300 Subject: [PATCH 1/2] [BOLT] Gadget scanner: optionally assume auth traps

[llvm-branch-commits] [flang] [mlir] [mlir][omp] Improve canonloop/iv naming (PR #159773)

2025-09-30 Thread Michael Kruse via llvm-branch-commits
@@ -0,0 +1,28 @@ +// RUN: fir-opt %s | FileCheck %s --enable-var-scope Meinersbur wrote: Updated using scf.if https://github.com/llvm/llvm-project/pull/159773 ___ llvm-branch-commits mailing list llvm-branch-

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: prevent false positives due to jump tables (PR #138884)

2025-09-30 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/138884 >From f568ed034b0d9d91654f842653cd7260fe6d773d Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 6 May 2025 11:31:03 +0300 Subject: [PATCH] [BOLT] Gadget scanner: prevent false positives due to ju

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

2025-09-30 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] [llvm] [LoongArch][DAGCombiner] Combine vand (vnot ..) to vandn (PR #161037)

2025-09-30 Thread Zhaoxin Yang via llvm-branch-commits
https://github.com/ylzsx updated https://github.com/llvm/llvm-project/pull/161037 >From 040e64772f8b48024f3390e5e402190c501d9302 Mon Sep 17 00:00:00 2001 From: yangzhaoxin Date: Thu, 25 Sep 2025 16:42:24 +0800 Subject: [PATCH 1/5] [LoongArch][DAGCombiner] Combine xor (and ..) to vandn After th

[llvm-branch-commits] [llvm] [AMDGPU][SIInsertWaitCnts] Remove redundant TII/TRI/MRI arguments (NFC) (PR #161357)

2025-09-30 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/161357 >From 73c43575873aa2bc3dfc051a49bb05fc4fc99ca9 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 29 Sep 2025 12:24:57 +0200 Subject: [PATCH] [AMDGPU][SIInsertWaitCnts] Remove redundant TII/TRI/MRI arguments

[llvm-branch-commits] [llvm] [AMDGPU][SIInsertWaitCnts] De-duplicate code (NFC) (PR #161161)

2025-09-30 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/161161 >From ed3d7f64f0e8366f9d97ac396710a29c80629229 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 29 Sep 2025 09:56:19 +0200 Subject: [PATCH] [AMDGPU][SIInsertWaitCnts] De-duplicate code (NFC) Trying to do th

[llvm-branch-commits] [llvm] [AMDGPU][SIInsertWaitCnts] De-duplicate code (NFC) (PR #161161)

2025-09-30 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/161161 >From ed3d7f64f0e8366f9d97ac396710a29c80629229 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 29 Sep 2025 09:56:19 +0200 Subject: [PATCH] [AMDGPU][SIInsertWaitCnts] De-duplicate code (NFC) Trying to do th

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid redundant saves in accessor splitting (PR #159197)

2025-09-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159197 >From 8401695d2adc3c509a2ed9eb0b4e8cd31a2ce3a5 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] [mlir] [mlir][omp] Add omp.tile operation (PR #160292)

2025-09-30 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/160292 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [mlir] [mlir][omp] Improve canonloop/iv naming (PR #159773)

2025-09-30 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/159773 >From b3919715ebe223b39dd789dcd471a864666d7008 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Fri, 19 Sep 2025 14:43:48 +0200 Subject: [PATCH 1/8] Improve canonloop/iv naming --- mlir/lib/Dialect/OpenMP