[llvm-branch-commits] [llvm] release/21.x: [AArch64][PAC][GISel] Add missing clobbering info to LOADgotAUTH (#157433) (PR #160668)

2025-09-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: None (llvmbot) Changes Backport cff5a439a847db67ea3478b088ec2f8047871ff0 Requested by: @atrosinenko --- Full diff: https://github.com/llvm/llvm-project/pull/160668.diff 2 Files Affected: - (modified) llvm/lib/Target/AArch64/G

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix msghdr for musl (PR #159551)

2025-09-25 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/159551 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-09-25 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/159209 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] 660afe4 - Revert "[MLIR] Implement remark emitting policies in MLIR (#160526)"

2025-09-25 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2025-09-25T12:12:10+02:00 New Revision: 660afe41d8f835058cba0b02d2856b12ed9fb0ba URL: https://github.com/llvm/llvm-project/commit/660afe41d8f835058cba0b02d2856b12ed9fb0ba DIFF: https://github.com/llvm/llvm-project/commit/660afe41d8f835058cba0b02d2856b12ed9fb0ba.diff L

[llvm-branch-commits] [clang] release/21.x: Generalize test over 32 and 64bit targets (PR #160680)

2025-09-25 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/160680 Backport 5b4819e337c662fad7176a1d8e7b95a94f199290 Requested by: @llvmbot >From 69297c9cca5a77a3d0a856ed3947e855dc968c8e Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 2 Sep 2025 21:53:10 + Subject

[llvm-branch-commits] [clang] release/21.x: Generalize test over 32 and 64bit targets (PR #160680)

2025-09-25 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/160680 >From 52a5df30aeccc9ba1b6e15ad860f0a7f5fe1d13a Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 2 Sep 2025 21:53:10 + Subject: [PATCH] Generalize test over 32 and 64bit targets (cherry picked from co

[llvm-branch-commits] [clang] release/21.x: Generalize test over 32 and 64bit targets (PR #160680)

2025-09-25 Thread Michał Górny via llvm-branch-commits
https://github.com/mgorny closed https://github.com/llvm/llvm-project/pull/160680 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [llvm] [openmp] [Flang] Add standalone tile support (PR #160298)

2025-09-25 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/160298 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-09-25 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah edited https://github.com/llvm/llvm-project/pull/160390 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-09-25 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. LGTM with one nit https://github.com/llvm/llvm-project/pull/160390 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-

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

2025-09-25 Thread Tom Eccles via llvm-branch-commits
@@ -1356,8 +1351,32 @@ void OmpStructureChecker::Leave(const parser::OpenMPThreadprivate &x) { } void OmpStructureChecker::Enter(const parser::OpenMPDeclareSimdConstruct &x) { - const auto &dir{std::get(x.t)}; - PushContextAndClauseSets(dir.source, llvm::omp::Directive::OM

[llvm-branch-commits] [llvm] release/21.x: [AArch64][PAC][GISel] Add missing clobbering info to LOADgotAUTH (#157433) (PR #160668)

2025-09-25 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/160668 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [AArch64][PAC][GISel] Add missing clobbering info to LOADgotAUTH (#157433) (PR #160668)

2025-09-25 Thread via llvm-branch-commits
llvmbot wrote: @aemerson What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/160668 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_VARIANT (PR #160371)

2025-09-25 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. LGTM, thanks https://github.com/llvm/llvm-project/pull/160371 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in DECLARE_VARIANT (PR #160371)

2025-09-25 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah edited https://github.com/llvm/llvm-project/pull/160371 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in ASSUMES (PR #160591)

2025-09-25 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/160591 None >From eb12400ffc25b62205183f3102a1e0afdb785510 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 24 Sep 2025 14:38:40 -0500 Subject: [PATCH] [flang][OpenMP] Use OmpDirectiveSpecification in AS

[llvm-branch-commits] [mlir] [mlir][omp] Add omp.tile operation (PR #160292)

2025-09-25 Thread Michael Kruse via llvm-branch-commits
@@ -403,6 +403,7 @@ void DefFormat::genLiteralParser(StringRef value, FmtContext &ctx, .Case("]", "RSquare") .Case("?", "Question") .Case("+", "Plus") + .Case("-", "Minus") Meinersbur wrote: I am confiden

[llvm-branch-commits] [mlir] [mlir][omp] Add omp.tile operation (PR #160292)

2025-09-25 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 llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][omp] Add omp.tile operation (PR #160292)

2025-09-25 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 llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LV] Add ExtNegatedMulAccReduction expression type (PR #160154)

2025-09-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-vectorizers Author: Sam Tebbs (SamTebbs33) Changes This PR adds the ExtNegatedMulAccReduction expression type for VPExpressionRecipe so that extend-multiply-accumulate reductions with a negated multiply can be bundled. Stacked PRs: 1. https://github.

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

2025-09-25 Thread Yitzhak Mandelbaum via llvm-branch-commits
https://github.com/ymand approved this pull request. https://github.com/llvm/llvm-project/pull/159850 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [llvm] [openmp] [Flang] Add standalone tile support (PR #160298)

2025-09-25 Thread Michael Kruse via llvm-branch-commits
@@ -0,0 +1,31 @@ +! This test checks lowering of the OpenMP tile directive +! It is done 3 times corresponding to every possible fraction of the last +! iteration before passing beyond UB. + +! RUN: %flang %flags %openmp_flags -fopenmp-version=51 -DUB=16 %s -o %t-ub16.exe ---

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

2025-09-25 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/156838 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Validating Root flags are denying shader stage (PR #153287)

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/153287 >From b1e34ff07fffe96fec438b87027bd2c450b6b36f Mon Sep 17 00:00:00 2001 From: Joao Saffran <{ID}+{username}@users.noreply.github.com> Date: Tue, 12 Aug 2025 13:07:42 -0700 Subject: [PATCH 01/26] adding valida

[llvm-branch-commits] [clang] [clang] fix transformation of subst constant template parameter nodes (PR #160777)

2025-09-25 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/160777 This simplifies those transforms a lot, removing a bunch of workarounds which were introducing problems. The transforms become independent of the template instantiator, so they are moved to TreeTransform inst

[llvm-branch-commits] [clang] [clang] fix transformation of subst constant template parameter nodes (PR #160777)

2025-09-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Matheus Izvekov (mizvekov) Changes This simplifies those transforms a lot, removing a bunch of workarounds which were introducing problems. The transforms become independent of the template instantiator, so they are moved to TreeTransfor

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

2025-09-25 Thread via llvm-branch-commits
@@ -212,7 +212,7 @@ MDNode *MetadataBuilder::BuildStaticSampler(const StaticSampler &Sampler) { ConstantAsMetadata::get(Builder.getInt32(Sampler.Space)), ConstantAsMetadata::get( Builder.getInt32(to_underlying(Sampler.Visibility))), - }; + ConstantA

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

2025-09-25 Thread David Blaikie via llvm-branch-commits
https://github.com/dwblaikie updated https://github.com/llvm/llvm-project/pull/159209 >From 0c9d972fae57b4af2712632d829ed042381ab9ab Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 16 Sep 2025 22:42:55 + Subject: [PATCH] Port 5b4819e to release/21.x Fix for the port of 665e875 to r

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

2025-09-25 Thread Michael Kruse via llvm-branch-commits
@@ -77,6 +77,177 @@ struct LLVMPointerPointerLikeModel }; } // namespace +/// Generate a name of a canonical loop nest of the format +/// `(_s_r)*` that describes its nesting inside parent +/// operations (`_r`) and that operation's region (`_s`). The region +/// number is omi

[llvm-branch-commits] [llvm] [DirectX] Updating DXContainer logic to read version 1.2 of static samplers (PR #160184)

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/160184 >From fefd58c2ab1044ac51c546b6bc6df968eb5edaa8 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Fri, 19 Sep 2025 12:48:11 -0700 Subject: [PATCH 1/8] fix test --- llvm/include/llvm/Object/DXContainer.h

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in REQUIRES (PR #160595)

2025-09-25 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/160595 >From 0434e253c1174249f387825527c5cde7414e4d40 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 24 Sep 2025 15:11:43 -0500 Subject: [PATCH] [flang][OpenMP] Use OmpDirectiveSpecification in REQUIRES

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

2025-09-25 Thread Michael Kruse via llvm-branch-commits
@@ -77,6 +77,177 @@ struct LLVMPointerPointerLikeModel }; } // namespace +/// Generate a name of a canonical loop nest of the format +/// `(_s_r)*` that describes its nesting inside parent +/// operations (`_r`) and that operation's region (`_s`). The region +/// number is omi

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

2025-09-25 Thread Lei Huang via llvm-branch-commits
https://github.com/lei137 updated https://github.com/llvm/llvm-project/pull/158362 >From 61cbc3eeb7c7aedcb6008a54a2e988c4cceaf2cc Mon Sep 17 00:00:00 2001 From: Lei Huang Date: Tue, 23 Sep 2025 10:53:45 -0500 Subject: [PATCH] [PowerPC] Implement Elliptic Curve Cryptography (ECC) Instructions

[llvm-branch-commits] [clang] [clang] fix transformation of subst constant template parameter nodes (PR #160777)

2025-09-25 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/160777 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org 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-09-25 Thread Finn Plummer via llvm-branch-commits
@@ -212,7 +212,7 @@ MDNode *MetadataBuilder::BuildStaticSampler(const StaticSampler &Sampler) { ConstantAsMetadata::get(Builder.getInt32(Sampler.Space)), ConstantAsMetadata::get( Builder.getInt32(to_underlying(Sampler.Visibility))), - }; + ConstantA

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

2025-09-25 Thread Finn Plummer via llvm-branch-commits
@@ -0,0 +1,42 @@ +; RUN: opt %s -dxil-embed -dxil-globals -S -o - | FileCheck %s +; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s --check-prefix=DXC + +target triple = "dxil-unknown-shadermodel6.0-compute" + +; CHECK: @dx.rts0 = private constant [248 x i8] c"{{.*}}",

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

2025-09-25 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 llvm-branch-commits@lists.llvm.org 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-09-25 Thread Finn Plummer via llvm-branch-commits
inbelic wrote: Should we also have testing of an invalid value? I think it makes sense to include the basic verifications in this pr https://github.com/llvm/llvm-project/pull/160210 ___ llvm-branch-commits mailing li

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

2025-09-25 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic commented: I do think we should add the basic verifications in this pr, and probably change the stack order so that the front-end changes happen first. Otherwise, this is looking good to me https://github.com/llvm/llvm-project/pull/160210

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

2025-09-25 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/3] [LoopUnroll] Fix block frequencies for epilogue As an

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

2025-09-25 Thread Oliver Hunt via llvm-branch-commits
@@ -0,0 +1,469 @@ +//===- AllocToken.cpp - Allocation token instrumentation --===// +// +// 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] [clang] [llvm] [DirectX] Updating Root Signature Metadata to contain Static Sampler flags (PR #160210)

2025-09-25 Thread Finn Plummer via llvm-branch-commits
@@ -0,0 +1,43 @@ +; RUN: opt %s -dxil-embed -dxil-globals -S -o - | FileCheck %s +; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s --check-prefix=DXC + +target triple = "dxil-unknown-shadermodel6.0-compute" + +; CHECK: @dx.rts0 = private constant [80 x i8] c"{{.*}}", s

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

2025-09-25 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 llvm-branch-commits@lists.llvm.org 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-09-25 Thread Justin Bogner via llvm-branch-commits
@@ -0,0 +1,42 @@ +; RUN: opt %s -dxil-embed -dxil-globals -S -o - | FileCheck %s +; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s --check-prefix=DXC + +target triple = "dxil-unknown-shadermodel6.0-compute" + +; CHECK: @dx.rts0 = private constant [248 x i8] c"{{.*}}",

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

2025-09-25 Thread Michael Kruse via llvm-branch-commits
Meinersbur wrote: > It would be good to try testing the _r names as well, even if you have to > (ab)use an unrelated operation to do it. Do you have a suggestion which operation? Need to be an operation that takes at least two region arguments. https://github.com/llvm/llvm-project/pull/159773

[llvm-branch-commits] [clang] [llvm] [openmp] [OpenMP] Taskgraph Clang 'record and replay' frontend support (PR #159774)

2025-09-25 Thread Alexey Bataev via llvm-branch-commits
https://github.com/alexey-bataev commented: clang unit tests (parsing, sema, codegen) are required. Also, need to update OpenMP.rst and ReleseNotes docs https://github.com/llvm/llvm-project/pull/159774 ___ llvm-branch-commits mailing list llvm-branch-c

[llvm-branch-commits] [clang] [llvm] [openmp] [OpenMP] Taskgraph Clang 'record and replay' frontend support (PR #159774)

2025-09-25 Thread Alexey Bataev via llvm-branch-commits
@@ -5954,6 +5976,48 @@ void CGOpenMPRuntime::emitTaskwaitCall(CodeGenFunction &CGF, SourceLocation Loc, Region->emitUntiedSwitch(CGF); } +void CGOpenMPRuntime::emitTaskgraphCall(CodeGenFunction &CGF, +SourceLocation Loc, +

[llvm-branch-commits] [clang] [llvm] [openmp] [OpenMP] Taskgraph Clang 'record and replay' frontend support (PR #159774)

2025-09-25 Thread Alexey Bataev via llvm-branch-commits
@@ -1446,6 +1446,9 @@ def is_unexposed(self): # OpenMP stripe directive. OMP_STRIPE_DIRECTIVE = 310 +# OpenMP taskgraph directive. +OMP_TASKGRAPH_DIRECTIVE = 311 + alexey-bataev wrote: this number is reserved for fuse directive already https:

[llvm-branch-commits] [clang] [llvm] [openmp] [OpenMP] Taskgraph Clang 'record and replay' frontend support (PR #159774)

2025-09-25 Thread Alexey Bataev via llvm-branch-commits
https://github.com/alexey-bataev edited https://github.com/llvm/llvm-project/pull/159774 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [SCEV] Don't perform implication checks with many predicates (#158652) (PR #158798)

2025-09-25 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn approved this pull request. LGTM, thanks https://github.com/llvm/llvm-project/pull/158798 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

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

2025-09-25 Thread Marco Elver via llvm-branch-commits
@@ -0,0 +1,469 @@ +//===- AllocToken.cpp - Allocation token instrumentation --===// +// +// 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] [clang] [llvm] [DirectX] Updating Root Signature Metadata to contain Static Sampler flags (PR #160210)

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/160210 >From 6b191d041990ad667d86b6b07eeed7c802e3fe45 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Mon, 22 Sep 2025 15:31:47 -0700 Subject: [PATCH 1/5] adding metadata static sampler flags --- clang/test/Cod

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

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/160616 >From bc393fda07547bbd8abc24701c8bfc3495db2e89 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Mon, 22 Sep 2025 16:49:12 -0700 Subject: [PATCH 1/7] adding flags to static sampler parser --- .../clang/Lex

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

2025-09-25 Thread Marco Elver 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] [clang] [llvm] [HLSL] Update Frontend to support version 1.2 of root signature (PR #160616)

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/160616 >From bc393fda07547bbd8abc24701c8bfc3495db2e89 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Mon, 22 Sep 2025 16:49:12 -0700 Subject: [PATCH 1/6] adding flags to static sampler parser --- .../clang/Lex

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

2025-09-25 Thread Marco Elver via llvm-branch-commits
@@ -447,6 +447,9 @@ class CodeGenOptions : public CodeGenOptionsBase { std::optional AllowRuntimeCheckSkipHotCutoff; + /// Maximum number of allocation tokens (0 = no max). melver wrote: None set by frontend, so it uses the pass default and doesn't pass a

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

2025-09-25 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/4] [LoopUnroll] Fix block frequencies for epilogue As an

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

2025-09-25 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/156839 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-09-25 Thread Joel E. Denny via llvm-branch-commits
@@ -365,6 +365,38 @@ LLVM_ABI bool setLoopEstimatedTripCount( Loop *L, unsigned EstimatedTripCount, std::optional EstimatedLoopInvocationWeight = std::nullopt); +/// Based on branch weight metadata, return either: +/// - \c std::nullopt if the implementation is unable

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

2025-09-25 Thread Marco Elver via llvm-branch-commits
@@ -0,0 +1,99 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5 +; RUN: opt < %s -passes=inferattrs,alloc-token -alloc-token-mode=increment -S | FileCheck %s + +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-

[llvm-branch-commits] [libunwind] release/21.x: [Mips] Fixed libunwind::Registers_mips_o32::jumpto to allow for load delay (#152942) (PR #160638)

2025-09-25 Thread YunQiang Su via llvm-branch-commits
https://github.com/wzssyqa approved this pull request. https://github.com/llvm/llvm-project/pull/160638 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Updating DXContainer logic to read version 1.2 of static samplers (PR #160184)

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/160184 >From fefd58c2ab1044ac51c546b6bc6df968eb5edaa8 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Fri, 19 Sep 2025 12:48:11 -0700 Subject: [PATCH 1/8] fix test --- llvm/include/llvm/Object/DXContainer.h

[llvm-branch-commits] [llvm] [LoongArch] Introduce instruction patterns for vector sign/zero extensions (PR #160810)

2025-09-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: hev (heiher) Changes This patch introduces legalization and instruction patterns for vector sign and zero extension operations. --- Patch is 155.43 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llv

[llvm-branch-commits] [llvm] Greedy: Move physreg check when trying to recolor vregs (NFC) (PR #160484)

2025-09-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Matt Arsenault (arsenm) Changes Instead of checking if the recoloring candidate is a virtual register, avoid adding it to the candidates in the first place. --- Full diff: https://github.com/llvm/llvm-project/pull/160484.diff 1 Fil

[llvm-branch-commits] [llvm] [llvm][mustache] Refactor template rendering (PR #159189)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159189 >From f18412dc5dc3cf5e7b7afafa9ceaf47e17dfb936 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 12 Sep 2025 00:06:14 -0700 Subject: [PATCH] [llvm][mustache] Refactor template rendering Move the rendering lo

[llvm-branch-commits] [llvm] [llvm][mustache] Support setting delimiters in templates (PR #159187)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159187 >From 794217c86631c9ae821de8d0ac6a9fa298c109f7 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 8 Sep 2025 21:22:02 -0700 Subject: [PATCH] [llvm][mustache] Support setting delimiters in templates The base m

[llvm-branch-commits] [llvm] [llvm][mustache] Use single pass when tokenizing (PR #159196)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159196 >From dba238ea08a6144db7f94c24c66672b7fe4c0ab1 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 15 Sep 2025 23:27:50 -0700 Subject: [PATCH] [llvm][mustache] Use single pass when tokenizing The old implement

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

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159199 >From f37d1808f041d597657e3938e2cc23fd498e548f 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] [llvm] [llvm][mustache] Avoid extra copy for json strings (PR #159195)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159195 >From 5b2c23c1e0555ae80b1d336e207bdae3c9533c5e 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] [llvm][mustache] Avoid redundant saves in accessor splitting (PR #159197)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159197 >From 735490e2ecd5c2ff319a105b57d770f9e081350f 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] [llvm] [llvm][mustache] Use single pass when tokenizing (PR #159196)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159196 >From dba238ea08a6144db7f94c24c66672b7fe4c0ab1 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 15 Sep 2025 23:27:50 -0700 Subject: [PATCH] [llvm][mustache] Use single pass when tokenizing The old implement

[llvm-branch-commits] [llvm] [llvm][mustache] Optimize accessor splitting with a single pass (PR #159198)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159198 >From 28deddc80945faf39cf6db64452f201737b5fd05 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 00:24:43 -0700 Subject: [PATCH] [llvm][mustache] Optimize accessor splitting with a single pass T

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

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159199 >From f37d1808f041d597657e3938e2cc23fd498e548f 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] [Clang] Introduce -fsanitize=alloc-token (PR #156839)

2025-09-25 Thread Hans Wennborg via llvm-branch-commits
@@ -0,0 +1,27 @@ +// Test AllocToken respects ignorelist for functions and files. +// +// RUN: %clang_cc1 -fsanitize=alloc-token -triple x86_64-linux-gnu -x c -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-ALLOW zmodem wrote: The `-x c` flags see

[llvm-branch-commits] [clang] Reland: [clang] Implement evaluation context for checking template parameters (PR #130603)

2025-09-25 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/130603 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org 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-09-25 Thread via llvm-branch-commits
@@ -212,7 +212,7 @@ MDNode *MetadataBuilder::BuildStaticSampler(const StaticSampler &Sampler) { ConstantAsMetadata::get(Builder.getInt32(Sampler.Space)), ConstantAsMetadata::get( Builder.getInt32(to_underlying(Sampler.Visibility))), - }; + ConstantA

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

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/160210 >From 6b191d041990ad667d86b6b07eeed7c802e3fe45 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Mon, 22 Sep 2025 15:31:47 -0700 Subject: [PATCH 1/6] adding metadata static sampler flags --- clang/test/Cod

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

2025-09-25 Thread via llvm-branch-commits
Andrzej =?utf-8?q?Warzyński?= , Andrzej =?utf-8?q?Warzyński?= , Andrzej =?utf-8?q?Warzyński?= ,Fady Farag ,Timm Baeder ,Elizaveta Noskova <159026035+enoskova...@users.noreply.github.com>,Ross Brunton ,Osama Abdelkader <78818069+osamaka...@users.noreply.github.com>,Simon Pilgrim ,Joseph Huber ,

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

2025-09-25 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/160210 >From 6b191d041990ad667d86b6b07eeed7c802e3fe45 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Mon, 22 Sep 2025 15:31:47 -0700 Subject: [PATCH 1/6] adding metadata static sampler flags --- clang/test/Cod

[llvm-branch-commits] [llvm] release/21.x: [NVPTX] Disable relative lookup tables (#159748) (PR #160064)

2025-09-25 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/160064 Backport 1ed15374638ecf6046169194b4b3ca34b7cf340f Requested by: @nikic >From 2c30e1b9e92b47e642007efc3b0b72c54d0c7063 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 22 Sep 2025 12:18:25 +0200 Subject:

[llvm-branch-commits] [clang] [LifetimeSafety] Implement support for lifetimebound attribute (PR #158489)

2025-09-25 Thread Gábor Horváth via llvm-branch-commits
https://github.com/Xazax-hun approved this pull request. Looks great, some minor nits inline. Thanks! https://github.com/llvm/llvm-project/pull/158489 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[llvm-branch-commits] [llvm] [AMDGPU] SIMemoryLegalizer: Factor out check if memory operations can affect the global AS (PR #160129)

2025-09-25 Thread Fabian Ritter via llvm-branch-commits
@@ -609,6 +617,15 @@ class SIGfx12CacheControl : public SIGfx11CacheControl { bool setAtomicScope(const MachineBasicBlock::iterator &MI, SIAtomicScope Scope, SIAtomicAddrSpace AddrSpace) const; + bool canAffectGlobalAddrSpace(SIAtomicAddrSpace AS) cons

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

2025-09-25 Thread Hans Wennborg 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 zmodem wrote: This and the alloc-token.cpp test are not just checking Clang's codegen output, but the out

[llvm-branch-commits] [llvm] Greedy: Move physreg check when trying to recolor vregs (NFC) (PR #160484)

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

[llvm-branch-commits] [llvm] [llvm][mustache] Use StringRef parameters (PR #159190)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159190 >From ea687e4bb8c15a145e3ed5fa3482436917d705df Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 12 Sep 2025 00:24:31 -0700 Subject: [PATCH] [llvm][mustache] Use StringRef parameters --- llvm/lib/Support/Mu

[llvm-branch-commits] [llvm] [llvm][mustache] Refactor tokenizer for clarity (PR #159188)

2025-09-25 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159188 >From 8be25f43010ec6633f1d01f3f9641ec3fdaa486d Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Thu, 11 Sep 2025 23:45:16 -0700 Subject: [PATCH] [llvm][mustache] Refactor tokenizer for clarity This patch refacto

[llvm-branch-commits] [llvm] release/21.x: [Mips] Fix atomic min/max generate mips4 instructions when compiling for mips2 (#159717) (PR #160807)

2025-09-25 Thread via llvm-branch-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Developer Policy](https://llvm.org/docs/DeveloperPol

[llvm-branch-commits] [llvm] release/21.x: [Mips] Fix atomic min/max generate mips4 instructions when compiling for mips2 (#159717) (PR #160807)

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

[llvm-branch-commits] [llvm] release/21.x: [Mips] Fix atomic min/max generate mips4 instructions when compiling for mips2 (#159717) (PR #160807)

2025-09-25 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/160807 Backport 114b3b8b04fe5aae4143e30078637015a9e077ce Requested by: @brad0 >From d7de14b58f74cb6301cdc629b985b10176e07294 Mon Sep 17 00:00:00 2001 From: yingopq <115543042+ying...@users.noreply.github.com> Date: Fr

[llvm-branch-commits] [llvm] release/21.x: [Mips] Fix atomic min/max generate mips4 instructions when compiling for mips2 (#159717) (PR #160807)

2025-09-25 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/160807 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [Mips] Fix atomic min/max generate mips4 instructions when compiling for mips2 (#159717) (PR #160807)

2025-09-25 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-mips Author: None (llvmbot) Changes Backport 114b3b8b04fe5aae4143e30078637015a9e077ce Requested by: @brad0 --- Patch is 31.70 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/160807.diff 2 Files Aff

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

2025-09-25 Thread Marco Elver via llvm-branch-commits
@@ -0,0 +1,471 @@ +//===- AllocToken.cpp - Allocation token instrumentation --===// +// +// 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] [clang] [clang] simplify placeholder type deduction for constant template parameters (PR #160439)

2025-09-25 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/160439 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits