@@ -1421,6 +1421,18 @@ def fhip_emit_relocatable : Flag<["-"],
"fhip-emit-relocatable">,
HelpText<"Compile HIP source to relocatable">;
def fno_hip_emit_relocatable : Flag<["-"], "fno-hip-emit-relocatable">,
HelpText<"Do not override toolchain to compile HIP source to relo
@@ -33,7 +33,15 @@ struct Registry {
struct Snapshot {
const Decl *EntryPoint;
-std::vector BoolStatValues;
+// Boolean statistics are always set explicitly. If they are not set, their
+// value is absent resulting in empty CSV cells
+std::vector> BoolSta
https://github.com/RKSimon updated
https://github.com/llvm/llvm-project/pull/161914
>From 79006fe91ed7d53329a956a65fb753dad2c8c6e2 Mon Sep 17 00:00:00 2001
From: kimsh02
Date: Fri, 3 Oct 2025 09:30:23 -0700
Subject: [PATCH 1/6] Stash
---
clang/include/clang/Basic/BuiltinsX86.td | 16 ++---
https://github.com/mgcarrasco updated
https://github.com/llvm/llvm-project/pull/162282
>From e89ce89521602f651495cf936e016d8f0c926974 Mon Sep 17 00:00:00 2001
From: Manuel Carrasco
Date: Tue, 7 Oct 2025 06:05:21 -0700
Subject: [PATCH 1/2] [HIP][SPIRV] Enable the SPIRV backend instead of the
tr
Jinjie-Huang wrote:
The current implementation directly reuses the search logic from
HeaderSearch::LookupFile() and avoids side effects caused by performing
additional searches.
Alternatively, we could recalculate the default search paths after locating the
corresponding header file and then
Author: Aaron Ballman
Date: 2025-10-10T07:34:16-04:00
New Revision: 80f48b849378dd46b5ff19945995c0f1598eb16b
URL:
https://github.com/llvm/llvm-project/commit/80f48b849378dd46b5ff19945995c0f1598eb16b
DIFF:
https://github.com/llvm/llvm-project/commit/80f48b849378dd46b5ff19945995c0f1598eb16b.diff
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`amdgpu-offload-rhel-8-cmake-build-only` running on `rocm-docker-rhel-8` while
building `.github,clang,llvm` at step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/204/builds/24651
Here
@@ -90,6 +90,14 @@ def err_unterminated___pragma : Error<"missing terminating
')' character">;
def err_conflict_marker : Error<"version control conflict marker in file">;
+def err_counter_overflow : Error<
+ "'__COUNTER__' value cannot exceed 2147483647">;
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test`
running on `ext_buildbot_hw_05-hip-docker` while building `.github,clang,llvm`
at step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/206/builds/7348
Here is
bolshakov-a wrote:
Now LGTM, thanks! Btw, do you know what
`!RD->hasNonTrivialDefaultConstructor()` check is needed for? If you do, it
would be good to add a corresponding test case. If not, a `TODO` to investigate
it is worth placing in the code.
https://github.com/llvm/llvm-project/pull/162
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/162612
>From af13d31f970cc62d46746b5e57075f16c5f5c4e8 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Thu, 9 Oct 2025 10:18:28 +0200
Subject: [PATCH 1/4] [Clang] Fix a regression introduced by #161163.
Classes wi
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/151239
>From b4e64ea87bd2d780a0b714784e09b74d27cc4150 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Tue, 29 Jul 2025 16:43:24 -0500
Subject: [PATCH 1/2] [Clang] Only C link device libraries by default for
OpenMP
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-rhel`
running on `ppc64le-clang-rhel-test` while building `.github,clang,llvm` at
step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/145/builds/10175
Here is t
https://github.com/flovent closed
https://github.com/llvm/llvm-project/pull/162218
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`bolt-aarch64-ubuntu-shared` running on `bolt-worker-aarch64` while building
`.github,clang,llvm` at step 6 "test-build-bolt-check-bolt".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/218/builds/157
erichkeane wrote:
This will actually have about 20 tests that crash now with the new assert. I
am quite sure I have been messing up my uses of Array Section functions in
quite a few places, so I have to put this on pause until I've figured out what
I'm doing/what the right way to do stuff wit
@@ -0,0 +1,72 @@
+.. title:: clang-tidy - modernize-use-constexpr
+
+modernize-use-constexpr
+===
+
+Finds functions and variables that can be declared ``constexpr``.
+
+This check currently supports the ``constexpr`` rule-set of C++11.
+
+The check analyses an
gregbedwell wrote:
Hello! I've bisected #162855 back to this commit. Please can you take a look?
https://github.com/llvm/llvm-project/pull/162587
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/
Author: Aaron Ballman
Date: 2025-10-10T10:28:10-04:00
New Revision: 2992d3dfef31ff0cc284f23ee18245fa480d20f5
URL:
https://github.com/llvm/llvm-project/commit/2992d3dfef31ff0cc284f23ee18245fa480d20f5
DIFF:
https://github.com/llvm/llvm-project/commit/2992d3dfef31ff0cc284f23ee18245fa480d20f5.diff
@@ -2376,6 +2381,33 @@ StmtResult Parser::ParseReturnStatement() {
return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope());
}
+StmtResult Parser::ParseDeferStatement(SourceLocation *TrailingElseLoc) {
+ assert(Tok.is(tok::kw_defer));
+ SourceLocation DeferLoc = C
@@ -53,7 +53,7 @@ void integer_suffix() {
static_assert(is_same::value, "");
static_assert(v11 == 1, "");
- static constexpr auto v12 = 1UL; // OK.
+ static constexpr auto v12 = 1UL;
localspook wrote:
Comment is wrong
https://github.com/llvm/llvm-proje
https://github.com/sarnex converted_to_draft
https://github.com/llvm/llvm-project/pull/161905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-5` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/28819
Here is th
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Morris Hafner (mmha)
Changes
Unlike the incubator, this adds the inline attribute directly to FuncOp instead
of adding the ExtraFnAttr dict.
This adds three new optional keywords to CIR: inline_always, inline_never and
inline_hint. Just
https://github.com/rupprecht created
https://github.com/llvm/llvm-project/pull/162865
#140210 added `#include "clang/Frontend/FrontendDiagnostic.h"` to
clang/lib/Sema/SemaAMDGPU.cpp, but Frontend itself has a dependency on Sema.
This creates a layering issue as described in
https://llvm.org/d
@@ -175,15 +175,33 @@ void AMDGCN::Linker::constructLinkAndEmitSpirvCommand(
constructLlvmLinkCommand(C, JA, Inputs, LinkedBCFile, Args);
- // Emit SPIR-V binary.
- llvm::opt::ArgStringList TrArgs{
- "--spirv-max-version=1.6",
- "--spirv-ext=+all",
- "--spi
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/162474
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`polly-x86_64-linux-shared-plugin` running on `polly-x86_64-gce2` while
building `.github,clang,llvm` at step 5 "build".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/118/builds/8455
Here is the rel
@@ -175,15 +175,33 @@ void AMDGCN::Linker::constructLinkAndEmitSpirvCommand(
constructLlvmLinkCommand(C, JA, Inputs, LinkedBCFile, Args);
- // Emit SPIR-V binary.
- llvm::opt::ArgStringList TrArgs{
- "--spirv-max-version=1.6",
- "--spirv-ext=+all",
- "--spi
https://github.com/AlexVlx edited
https://github.com/llvm/llvm-project/pull/162282
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Victor Chernyakin (localspook)
Changes
(See the test changes for a description of the problem.)
This is the problematic code:
https://github.com/llvm/llvm-project/blob/424fa833352177da4ea39238c040703e1dc3a0ab/clang-tools-extra/clang-
kimsh02 wrote:
@RKSimon Fixed rebase
https://github.com/llvm/llvm-project/pull/161914
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kimsh02 wrote:
@RKSimon Fixed testcase
https://github.com/llvm/llvm-project/pull/160428
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/localspook closed
https://github.com/llvm/llvm-project/pull/162857
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -verify=good -pedantic -Wall -std=c2y %s
+// RUN: %clang_cc1 -verify -pedantic -Wall -std=c23 %s
+// RUN: %clang_cc1 -verify -pedantic -Wall -std=c17 %s
+// good-no-diagnostics
+
+/* WG14 N3622: Clang 22
+ * Allow calling static inline within e
OCHyams wrote:
@rnk despite my claims in the comment above, with @omern1's help, I've been
able to observe something like you've described with SPGO without LTO.
Our initial experiments suggest that `-gkey-instructions` doesn't have an
effect when used on the profile-gathering build. But the`
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/162877
>From b3e094947fefa338e920adf8ec51360251e343c6 Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 10 Oct 2025 12:08:00 -0400
Subject: [PATCH 1/2] [C2y] Implement WG14 N3622 static used in an inline
Th
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -verify=good -pedantic -Wall -std=c2y %s
+// RUN: %clang_cc1 -verify -pedantic -Wall -std=c23 %s
+// RUN: %clang_cc1 -verify -pedantic -Wall -std=c17 %s
+// good-no-diagnostics
+
+/* WG14 N3622: Clang 22
+ * Allow calling static inline within e
erichkeane wrote:
Still going to auto-merge, but found a few things I can use as a test, so
stopping it since validation will be finished before i get my tests up :)
https://github.com/llvm/llvm-project/pull/162880
___
cfe-commits mailing list
cfe-co
https://github.com/tcottin updated
https://github.com/llvm/llvm-project/pull/162029
>From b1b2251a1f9a57b710227ab3f36e5369a7ad3079 Mon Sep 17 00:00:00 2001
From: Tim Cottin
Date: Sun, 5 Oct 2025 21:49:57 +
Subject: [PATCH 1/2] handle new lines in paragraphs correctly for markdown and
escap
andykaylor wrote:
I'm very happy to see progress being made on transitioning away from the
function attributes for fast-math control. That said, it looks like there are
still some things in the PowerPC ISel code that were using this attribute (by
way of the UnsafeFPMath setting in TargetOption
bcardosolopes wrote:
> As for what we do in CIR, I was thinking maybe we could initially annotate
> the vector-3 loads and stores with some attribute indicating that a vector-4
> load and store with a poison element is permitted/expected.
I'd leave the attribute as last resort, we can easily i
bcardosolopes wrote:
> It would be useful to pull the CIR dialect changes out of this and into a
> separate PR that precedes this one. You could also Move the CFG flattening
> into a follow-up PR and just not lower to LLVM IR in this one. Those changes
> would make this easier to review.
+1
Author: Aaron Ballman
Date: 2025-10-10T14:02:17-04:00
New Revision: 8e60adcaafbd5b6859f54879496e017dd218e541
URL:
https://github.com/llvm/llvm-project/commit/8e60adcaafbd5b6859f54879496e017dd218e541
DIFF:
https://github.com/llvm/llvm-project/commit/8e60adcaafbd5b6859f54879496e017dd218e541.diff
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/162518
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Michael137 approved this pull request.
thanks!
https://github.com/llvm/llvm-project/pull/162750
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2200,6 +2200,32 @@ static bool BuiltinCpu(Sema &S, const TargetInfo &TI,
CallExpr *TheCall,
return false;
}
+/// Checks that __builtin_bswapg was called with a single argument, which is an
+/// unsigned integer, and overrides the return value type to the integer type.
+
@@ -1720,6 +1720,22 @@ ParseResult cir::FuncOp::parse(OpAsmParser &parser,
OperationState &state) {
hasAlias = true;
}
+ // Parse optional inline attribute: inline_never, inline_always, or
+ // inline_hint
+ if (parser.parseOptionalKeyword("inline_never").succeeded()
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/162866
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2878,6 +2878,138 @@ LogicalResult cir::TypeInfoAttr::verify(
return success();
}
+//===--===//
+// TryOp
+//===--===//
+
+void cir::Try
@@ -2878,6 +2878,138 @@ LogicalResult cir::TypeInfoAttr::verify(
return success();
}
+//===--===//
+// TryOp
+//===--===//
+
+void cir::Try
Author: Erich Keane
Date: 2025-10-10T18:41:41Z
New Revision: 41f5f3be30105260ccc30433b49f60d5885e731b
URL:
https://github.com/llvm/llvm-project/commit/41f5f3be30105260ccc30433b49f60d5885e731b
DIFF:
https://github.com/llvm/llvm-project/commit/41f5f3be30105260ccc30433b49f60d5885e731b.diff
LOG: [
https://github.com/erichkeane auto_merge_enabled
https://github.com/llvm/llvm-project/pull/162740
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/evelez7 updated
https://github.com/llvm/llvm-project/pull/162885
>From 17048c00c229a4ff52e00ce166abf30cc786c882 Mon Sep 17 00:00:00 2001
From: Erick Velez
Date: Wed, 8 Oct 2025 18:50:41 -0700
Subject: [PATCH] [clang-doc] simplify filename selection for namespaces
determineFi
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: David Pagan (ddpagan)
Changes
Per OpenMP 6.0 specification, section 7.5.1, default Clause
Page 224, lines 3-5 default Clause, Semantics
If data-sharing-attribute is shared then the clause has no effect
on a target construct; otherwise,
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/162725
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bcardosolopes wrote:
Is this part of splitting off https://github.com/llvm/llvm-project/pull/162528?
Might be handy to mention these things in the description.
https://github.com/llvm/llvm-project/pull/162897
___
cfe-commits mailing list
cfe-commits@l
https://github.com/bcardosolopes commented:
Overall looks good, some comments regarding the printing/parsing of the
attribute
https://github.com/llvm/llvm-project/pull/162866
___
cfe-commits mailing list
[email protected]
https://lists.llvm.o
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/162725
>From 30e5276cea1cfa2a36f19abe53dcffd1eaa5ad24 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Thu, 2 Oct 2025 16:15:33 -0700
Subject: [PATCH 1/2] [CIR] Add support for virtual destructor calls
This adds su
https://github.com/cyndyishida created
https://github.com/llvm/llvm-project/pull/162908
None
>From dcd875807bed0c7da7f3e7ccbed317aa39332ecc Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Fri, 10 Oct 2025 12:51:35 -0700
Subject: [PATCH] [clang-installapi] Add test for -Xproject -fvisibility=
https://github.com/evelez7 edited
https://github.com/llvm/llvm-project/pull/162886
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane auto_merge_enabled
https://github.com/llvm/llvm-project/pull/162920
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4296,6 +4296,81 @@ def CIR_AllocExceptionOp : CIR_Op<"alloc.exception"> {
}];
}
+//===--===//
+// TryOp
+//===--===//
+
+def CIR_TryOp
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/alexey-bataev approved this pull request.
https://github.com/llvm/llvm-project/pull/159628
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rnk auto_merge_enabled
https://github.com/llvm/llvm-project/pull/162750
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wubowski updated
https://github.com/llvm/llvm-project/pull/162927
From a4014ec1c26f93435cf4982f264ddf96e045b723 Mon Sep 17 00:00:00 2001
From: Jason
Date: Fri, 10 Oct 2025 16:29:41 -0500
Subject: [PATCH 1/2] Rewrote bf16->f32 conversion intrinsics
---
clang/lib/Headers/avx5
@@ -430,3 +434,15 @@ void ctad_test() {
CTAD t = s; // expected-warning {{class template argument deduction is
incompatible with C++ standards before C++17}}
}
#endif
+
+namespace GH161702 {
+struct S {
+ enum E { A };
+ using E::A; // expected-warning {{enumeration type i
https://github.com/fmayer created
https://github.com/llvm/llvm-project/pull/162939
This builtin can be used by user code to communicate with static
analyis tools (e.g. clang-tidy or clang-static-analyzer). Because the
arguments are unevaluated, it is suitable for use in macros, where
evaluating
dwblaikie wrote:
I will say, partly as I'm not as heavily involved in debug info anymore, and
partly as this work is getting more involved - I'm losing my grasp on all the
details, but doing my best to help - just fair warning that you're getting out
into pretty unmarked territory & just going
https://github.com/arjunr2 closed
https://github.com/llvm/llvm-project/pull/156087
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Amr Hesham
Date: 2025-10-05T11:38:27Z
New Revision: 3149a7720f714c14f7e6320745d9e35f49dba62b
URL:
https://github.com/llvm/llvm-project/commit/3149a7720f714c14f7e6320745d9e35f49dba62b
DIFF:
https://github.com/llvm/llvm-project/commit/3149a7720f714c14f7e6320745d9e35f49dba62b.diff
LOG: [C
@@ -0,0 +1,12 @@
+// COM: This test case validates the behavior of
-hip-use-experimental-spirv-backend
shiltian wrote:
No need to use `COM:` prefix for comments.
https://github.com/llvm/llvm-project/pull/162282
___
cf
bolshakov-a wrote:
Looks like your new test cases with `MultipleDefaults` pass even on the
previous code revision (with `!RD->hasNonTrivialDefaultConstructor()` call).
https://github.com/llvm/llvm-project/pull/162612
___
cfe-commits mailing list
cfe-c
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/162662
>From 7a5e159aceef541c054a53f6508cdb7fdd9af04d Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Thu, 9 Oct 2025 10:12:55 -0400
Subject: [PATCH 1/7] [C2y] Support WG14 N3457, the __COUNTER__ macro
This im
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Arseniy Zaostrovnykh (necto)
Changes
To avoid information loss, introduce a difference between unset stats and 0 for
statistics that are supposed to be set once per entry point. Now, if the
statistic is not set for an en
76 matches
Mail list logo