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/3] adding metadata static sampler flags
---
clang/test/Cod
@@ -212,6 +212,7 @@ MDNode *MetadataBuilder::BuildStaticSampler(const
StaticSampler &Sampler) {
ConstantAsMetadata::get(Builder.getInt32(Sampler.Space)),
ConstantAsMetadata::get(
Builder.getInt32(to_underlying(Sampler.Visibility))),
+ ConstantAsMetad
joaosaffran wrote:
Sorry, made a mistake, I will fix it in the next commit
https://github.com/llvm/llvm-project/pull/160210
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.or
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
This makes the deduction for dependent types operate in more similar ways to
the non-dependent one, such as when matching template template parameters,
making errors in those generate similar diagnostics
Author: Nikita Popov
Date: 2025-09-23T12:22:24-07:00
New Revision: b708aea0bc7127adf4ec643660699c8bcdde1273
URL:
https://github.com/llvm/llvm-project/commit/b708aea0bc7127adf4ec643660699c8bcdde1273
DIFF:
https://github.com/llvm/llvm-project/commit/b708aea0bc7127adf4ec643660699c8bcdde1273.diff
dwblaikie wrote:
> Are the test failures legitimate?
sync and merge seems to have cleared them up
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/m
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/160424?utm_source=stack-comment-downstack-mergeability-warning";
Author: Lei Huang
Date: 2025-09-23T10:44:18-04:00
New Revision: 113f01aa82d055410f22a9d03b3468fa68600589
URL:
https://github.com/llvm/llvm-project/commit/113f01aa82d055410f22a9d03b3468fa68600589
DIFF:
https://github.com/llvm/llvm-project/commit/113f01aa82d055410f22a9d03b3468fa68600589.diff
LOG
@@ -1272,18 +1272,84 @@ void CodeGenFunction::EmitBoundsCheckImpl(const Expr
*E, llvm::Value *Bound,
EmitCheck(std::make_pair(Check, CheckKind), CheckHandler, StaticData, Index);
}
+static bool
+typeContainsPointer(QualType T,
+llvm::SmallPtrSet &Visited
Author: Roy Shi
Date: 2025-09-23T07:44:50-07:00
New Revision: 6007a4dbed2d8867c75bd571e1eb38e10ae14a27
URL:
https://github.com/llvm/llvm-project/commit/6007a4dbed2d8867c75bd571e1eb38e10ae14a27
DIFF:
https://github.com/llvm/llvm-project/commit/6007a4dbed2d8867c75bd571e1eb38e10ae14a27.diff
LOG:
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/139778
>From 85c52e988a046ed31c176431da967f657cf112ff 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
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/139778
>From 85c52e988a046ed31c176431da967f657cf112ff 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
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138884
>From bc28368e0940ff440cdb5556a70f768ee6e32f2e 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
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138884
>From bc28368e0940ff440cdb5556a70f768ee6e32f2e 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
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
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/159991
>From 56856961f02009003fd863b38424b8d02d39aa85 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Sun, 21 Sep 2025 16:30:28 +
Subject: [PATCH] liveness-based-lifetime-policy
---
.../clang/Analysis/Analyses/
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/159991
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/160371
>From 38cf6a6c6291845ec4899ae9faf357b9a633 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 23 Sep 2025 13:40:10 -0500
Subject: [PATCH 1/2] [flang][OpenMP] Use OmpDirectiveSpecification in
DEC
https://github.com/arichardson updated
https://github.com/llvm/llvm-project/pull/159959
>From 690f3086eda24b46fc5cc6e9093327c675c0ce21 Mon Sep 17 00:00:00 2001
From: Alex Richardson
Date: Sun, 21 Sep 2025 14:56:22 -0700
Subject: [PATCH 1/2] fix typo in comment
Created using spr 1.3.8-beta.1
--
github-actions[bot] wrote:
@nikic (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.
htt
https://github.com/tstellar closed
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-commits
github-actions[bot] wrote:
@Steelskin (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.
Author: Kito Cheng
Date: 2025-09-22T18:05:55-07:00
New Revision: 77a3b0eda3610cdda11a9f2bdeda18dc4e49bc95
URL:
https://github.com/llvm/llvm-project/commit/77a3b0eda3610cdda11a9f2bdeda18dc4e49bc95
DIFF:
https://github.com/llvm/llvm-project/commit/77a3b0eda3610cdda11a9f2bdeda18dc4e49bc95.diff
LO
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/158164
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Craig Topper
Date: 2025-09-22T18:05:55-07:00
New Revision: f14551dbc4e8b698f59a5757446d5af12880547f
URL:
https://github.com/llvm/llvm-project/commit/f14551dbc4e8b698f59a5757446d5af12880547f
DIFF:
https://github.com/llvm/llvm-project/commit/f14551dbc4e8b698f59a5757446d5af12880547f.diff
llvmbot wrote:
@llvm/pr-subscribers-flang-openmp
Author: Krzysztof Parzyszek (kparzysz)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/160371.diff
9 Files Affected:
- (modified) flang/include/flang/Parser/openmp-utils.h (+1-3)
- (modified) flang/include/flang/Parser
rampitec 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/160361?utm_source=stack-comment-downstack-mergeability-warning"
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/2] adding metadata static sampler flags
---
clang/test/Cod
https://github.com/inbelic commented:
LGTM, just some nits
https://github.com/llvm/llvm-project/pull/160184
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -209,6 +209,12 @@ DXContainerYAML::RootSignatureYamlDesc::create(
NewS.RegisterSpace = S.RegisterSpace;
NewS.ShaderVisibility = dxbc::ShaderVisibility(S.ShaderVisibility);
+if (Version > 2) {
+#define STATIC_SAMPLER_FLAG(Num, Enum, Flag)
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/160184
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -624,34 +668,68 @@ class FactGenerator : public
ConstStmtVisitor {
if (CCE->getNumArgs() != 1)
return;
if (hasOrigin(CCE->getArg(0)))
- addAssignOriginFact(*CCE, *CCE->getArg(0));
+ addOriginFlowFact(*CCE, *CCE->getArg(0));
else
// This c
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/159991
>From 1fea50f712f1cd7fec1ddc6dfa59bb185cb96b58 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Sun, 21 Sep 2025 16:30:28 +
Subject: [PATCH] liveness-based-lifetime-policy
---
.../clang/Analysis/Analyses/
https://github.com/arichardson updated
https://github.com/llvm/llvm-project/pull/159890
>From 318e921e83ca607732637bcfa1994e525928759e Mon Sep 17 00:00:00 2001
From: Alex Richardson
Date: Fri, 19 Sep 2025 18:42:03 -0700
Subject: [PATCH 1/3] remove todo comment
Created using spr 1.3.8-beta.1
--
Steelskin wrote:
@tstellar If we're all good, can you land it, please?
https://github.com/llvm/llvm-project/pull/158164
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-
Author: Vladislav Dzhidzhoev
Date: 2025-09-23T19:36:33+02:00
New Revision: 0240295c21020e869f92c162ce80785f13dac358
URL:
https://github.com/llvm/llvm-project/commit/0240295c21020e869f92c162ce80785f13dac358
DIFF:
https://github.com/llvm/llvm-project/commit/0240295c21020e869f92c162ce80785f13dac35
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
https://github.com/Xazax-hun approved this pull request.
https://github.com/llvm/llvm-project/pull/158489
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
ilovepi wrote:
> In these tests, at which point are you constructing the std::array? Is it
> inside each EscapeStream or once when Template is constructed?
>
Once when the template is constructed. I used a function w/ a static variable
to provide the default escapes.
> It's possible that `st
https://github.com/hekota closed
https://github.com/llvm/llvm-project/pull/159655
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -353,6 +366,23 @@ class UseFact : public Fact {
}
};
+class KillOriginFact : public Fact {
usx95 wrote:
Makes sense to reuse it for this purpose.
https://github.com/llvm/llvm-project/pull/158489
___
llvm-branc
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/159991
>From 73f7069f9100441ccb3027b0890284b5d7fcf80e Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Sun, 21 Sep 2025 16:30:28 +
Subject: [PATCH] liveness-based-lifetime-policy
---
.../clang/Analysis/Analyses/
@@ -0,0 +1,35 @@
+//===- LifetimeAnnotations.h - -*---
C++*-===//
+//
+// 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: Apa
Author: Kazu Hirata
Date: 2025-09-23T08:11:00-07:00
New Revision: 2800ac203cba9e82f31334ff5439b9a91f7444fa
URL:
https://github.com/llvm/llvm-project/commit/2800ac203cba9e82f31334ff5439b9a91f7444fa
DIFF:
https://github.com/llvm/llvm-project/commit/2800ac203cba9e82f31334ff5439b9a91f7444fa.diff
L
@@ -353,6 +366,23 @@ class UseFact : public Fact {
}
};
+class KillOriginFact : public Fact {
Xazax-hun wrote:
Do we still need this now that `OriginFlowFact` has a `KillDest`?
https://github.com/llvm/llvm-project/pull/158489
__
@@ -371,3 +371,152 @@ void no_error_if_dangle_then_rescue_gsl() {
v = safe;// 'v' is "rescued" before use by reassigning to a valid object.
v.use(); // This is safe.
}
+
+
+//===--===//
+// Lifetime
Author: azwolski
Date: 2025-09-23T17:24:59+02:00
New Revision: 6d4bb2088818784c89eea8ecc799852ea48e086b
URL:
https://github.com/llvm/llvm-project/commit/6d4bb2088818784c89eea8ecc799852ea48e086b
DIFF:
https://github.com/llvm/llvm-project/commit/6d4bb2088818784c89eea8ecc799852ea48e086b.diff
LOG:
Author: Kazu Hirata
Date: 2025-09-23T08:11:16-07:00
New Revision: c2fe408dda2977c17f47a4b11433c2244c7cd6dc
URL:
https://github.com/llvm/llvm-project/commit/c2fe408dda2977c17f47a4b11433c2244c7cd6dc
DIFF:
https://github.com/llvm/llvm-project/commit/c2fe408dda2977c17f47a4b11433c2244c7cd6dc.diff
L
Author: Kazu Hirata
Date: 2025-09-23T08:11:08-07:00
New Revision: 99618dec185e985db4f19ca5e61e00d30b9a8b74
URL:
https://github.com/llvm/llvm-project/commit/99618dec185e985db4f19ca5e61e00d30b9a8b74
DIFF:
https://github.com/llvm/llvm-project/commit/99618dec185e985db4f19ca5e61e00d30b9a8b74.diff
L
Author: Rahul Joshi
Date: 2025-09-23T08:04:25-07:00
New Revision: a3ab7191a73412d5bfe85d416158999b8d5d6e19
URL:
https://github.com/llvm/llvm-project/commit/a3ab7191a73412d5bfe85d416158999b8d5d6e19
DIFF:
https://github.com/llvm/llvm-project/commit/a3ab7191a73412d5bfe85d416158999b8d5d6e19.diff
L
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/158489
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/158489
>From 082d8a297d78a7bc9ea386f4493d0d1addb7bcec Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Sun, 14 Sep 2025 14:46:45 +
Subject: [PATCH] lifetime-analysis-lifetimebound
---
.../Analysis/Analyses/Lifet
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/159991
>From 37c03435445d85f6fda1b20428ea41285f4ab716 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Sun, 21 Sep 2025 16:30:28 +
Subject: [PATCH] liveness-based-lifetime-policy
---
.../clang/Analysis/Analyses/
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/159991
>From 37c03435445d85f6fda1b20428ea41285f4ab716 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Sun, 21 Sep 2025 16:30:28 +
Subject: [PATCH] liveness-based-lifetime-policy
---
.../clang/Analysis/Analyses/
https://github.com/kosarev ready_for_review
https://github.com/llvm/llvm-project/pull/160316
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/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
https://github.com/nikic commented:
(drive-by comments only)
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
@@ -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
https://github.com/zmodem 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
kosarev 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/160310?utm_source=stack-comment-downstack-mergeability-warning";
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
@@ -1353,6 +1354,92 @@ void CodeGenFunction::EmitAllocToken(llvm::CallBase *CB,
QualType AllocType) {
CB->setMetadata(llvm::LLVMContext::MD_alloc_token, MDN);
}
+/// Infer type from a simple sizeof expression.
+static QualType inferTypeFromSizeofExpr(const Expr *E) {
+ con
kosarev 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/160308?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/160298
>From bfe9c6b642ebc01f113dbf0a574e424e83f7162a Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 23 Sep 2025 15:33:52 +0200
Subject: [PATCH 1/2] [flang] Add standalone tile support
---
flang/lib/Lower
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/2] Improve canonloop/iv naming
---
mlir/lib/Dialect/OpenMP
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/160292
>From ff4eccb41e2973e1179734dd455f1e797e89d9be Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 23 Sep 2025 14:45:45 +0200
Subject: [PATCH] Add omp.tile operation
---
.../mlir/Dialect/OpenMP/OpenMPCl
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/160200
>From 672c1ad9f0b473f883b12c9a2aff70b7c3de80ac Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 22 Sep 2025 15:30:42 -0500
Subject: [PATCH] [flang][OpenMP] Avoid extra newline when unparsing
OmpRe
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/160192
>From d04b0664a612b1060897834160395cfe2a3ca492 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 22 Sep 2025 14:42:16 -0500
Subject: [PATCH] [flang][OpenMP] Use OmpDirectiveSpecification in
DECLARE
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
@@ -1272,18 +1272,84 @@ void CodeGenFunction::EmitBoundsCheckImpl(const Expr
*E, llvm::Value *Bound,
EmitCheck(std::make_pair(Check, CheckKind), CheckHandler, StaticData, Index);
}
+static bool
+typeContainsPointer(QualType T,
+llvm::SmallPtrSet &Visited
@@ -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
@@ -0,0 +1,177 @@
+// Check -fsanitize=alloc-token TypeHashPointerSplit mode with only 2
+// tokens so we effectively only test the contains-pointer logic.
+//
+// RUN: %clang_cc1-fsanitize=alloc-token -falloc-token-max=2 -triple
x86_64-linux-gnu -std=c++20 -emit-llvm %s -o -
@@ -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
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/159773
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -13,6 +13,7 @@
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Transforms/Instrumentation/AddressSanitizerOptions.h"
+#include
zmodem wrote:
not used?
https://github.com/llvm/llvm-project/pull/156839
__
@@ -1272,6 +1272,21 @@ void CodeGenFunction::EmitBoundsCheckImpl(const Expr *E,
llvm::Value *Bound,
EmitCheck(std::make_pair(Check, CheckKind), CheckHandler, StaticData, Index);
}
+void CodeGenFunction::EmitAllocToken(llvm::CallBase *CB, QualType AllocType) {
+ assert(SanO
@@ -2194,6 +2194,8 @@ are listed below.
protection against stack-based memory corruption errors.
- ``-fsanitize=realtime``: :doc:`RealtimeSanitizer`,
a real-time safety checker.
+ - ``-fsanitize=alloc-token``: :doc:`AllocToken`,
+ allocation token instru
@@ -726,6 +726,7 @@ SanitizerMask BareMetal::getSupportedSanitizers() const {
Res |= SanitizerKind::SafeStack;
Res |= SanitizerKind::Thread;
Res |= SanitizerKind::Scudo;
+ Res |= SanitizerKind::AllocToken;
zmodem wrote:
Can't we just add this in the bas
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/159991
>From f49485d0faf49de565a1db8cde342b9ba68a9d6c Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Sun, 21 Sep 2025 16:30:28 +
Subject: [PATCH] liveness-based-lifetime-policy
---
.../clang/Analysis/Analyses/
https://github.com/llvmbot updated
https://github.com/llvm/llvm-project/pull/157568
>From 54896838ca5e1f69f0f3040fe6847546db0463d4 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 8 Sep 2025 17:18:25 +0100
Subject: [PATCH 1/4] [lldb][Target] Clear selected frame index after a
StopInfo::P
nikic wrote:
In these tests, at which point are you constructing the std::array? Is it
inside each EscapeStream or once when Template is constructed?
It's possible that `std::array` wasn't the right suggestion -- maybe the fact
that it stores std::string makes it too large. But if you check wh
@@ -0,0 +1,30 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
UTC_ARGS: --version 5
+; Test for all allocation functions that should be ignored by default.
+;
+; RUN: opt < %s -passes=inferattrs,alloc-token -S | FileCheck %s
+
+target datalayout =
"
@@ -479,7 +479,11 @@ class LoopVectorizationPlanner {
/// Build VPlans for the specified \p UserVF and \p UserIC if they are
/// non-zero or all applicable candidate VFs otherwise. If vectorization and
/// interleaving should be avoided up-front, no plans are generated.
-
@@ -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
https://github.com/tblah approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/160169
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -2861,12 +2861,17 @@ InstructionCost
VPExpressionRecipe::computeCost(ElementCount VF,
return Ctx.TTI.getMulAccReductionCost(false, Opcode, RedTy, SrcVecTy,
Ctx.CostKind);
- case ExpressionTypes::ExtMulAccReduction:
+ case Exp
@@ -2989,6 +2989,12 @@ class VPExpressionRecipe : public VPSingleDefRecipe {
/// vector operands, performing a reduction.add on the result, and adding
/// the scalar result to a chain.
MulAccReduction,
+/// Represent an inloop multiply-accumulate reduction, mult
@@ -3012,6 +3018,11 @@ class VPExpressionRecipe : public VPSingleDefRecipe {
VPWidenRecipe *Mul, VPReductionRecipe *Red)
: VPExpressionRecipe(ExpressionTypes::ExtMulAccReduction,
{Ext0, Ext1, Mul, Red}) {}
+ VPExpressionRec
@@ -3524,14 +3524,22 @@
tryToMatchAndCreateMulAccumulateReduction(VPReductionRecipe *Red,
};
VPValue *VecOp = Red->getVecOp();
+ VPValue *Mul = nullptr;
+ VPValue *Sub = nullptr;
VPValue *A, *B;
+ // Sub reductions could have a sub between the add reduction and vec
@@ -1347,6 +1354,11 @@ class TargetTransformInfo {
PartialReductionExtendKind OpBExtend, std::optional BinOp,
TTI::TargetCostKind CostKind) const;
+ /// \return true if a mask should be formed that disables lanes that could
+ /// alias between two pointers. The m
https://github.com/ritter-x2a updated
https://github.com/llvm/llvm-project/pull/160129
>From 9c10c3e64323070347be3cef1baec7bf9b062ba1 Mon Sep 17 00:00:00 2001
From: Fabian Ritter
Date: Mon, 22 Sep 2025 11:20:16 -0400
Subject: [PATCH 1/2] [AMDGPU] SIMemoryLegalizer: Factor out check if memory
o
@@ -14,6 +14,7 @@
#include "RemarkUtilHelpers.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/Support/Regex.h"
+#include
fhahn wrote:
why do we need to pull this in here now?
https://github.com/llvm/llvm-project/pull/159784
@@ -0,0 +1,84 @@
+//===- RemarkFilter.cpp
---===//
+//
+// 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: Apa
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/156837
>From b57797c27fcf88101be08767a5a28475db6187d0 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 4 Sep 2025 01:06:21 -0500
Subject: [PATCH 1/3] [flang][OpenMP] Support multi-block reduction combiner
regions on t
https://github.com/ritter-x2a updated
https://github.com/llvm/llvm-project/pull/160129
>From 8e61a9cceb44edcec4a7e2bf7d5d732753899ac6 Mon Sep 17 00:00:00 2001
From: Fabian Ritter
Date: Mon, 22 Sep 2025 11:20:16 -0400
Subject: [PATCH 1/2] [AMDGPU] SIMemoryLegalizer: Factor out check if memory
o
95 matches
Mail list logo