@@ -2252,6 +2252,33 @@ struct FormatStyle {
/// \version 16
BreakBeforeInlineASMColonStyle BreakBeforeInlineASMColon;
+ /// If ``true``, a line break will be placed before the ``>`` in a block
+ /// indented template declaration.
owenca wrote:
```sugges
https://github.com/leijurv updated
https://github.com/llvm/llvm-project/pull/118046
>From 1caf823165b16f6701993d586df51d5cdbf0885e Mon Sep 17 00:00:00 2001
From: Leijurv
Date: Fri, 29 Nov 2024 21:54:36 -0600
Subject: [PATCH 01/21] [clang-format] Add BreakBeforeTemplateClose option
---
clang/d
@@ -11224,6 +11224,254 @@ TEST_F(FormatTest,
WrapsTemplateDeclarationsWithComments) {
Style);
}
+TEST_F(FormatTest, BreakBeforeTemplateCloser) {
+ FormatStyle Style = getLLVMStyle();
+ // Begin with tests covering the case where there is no constraint on the
+ // col
@@ -0,0 +1,34 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = { text = "Apa
https://github.com/brad0 updated
https://github.com/llvm/llvm-project/pull/125998
>From a4e594975abe96aac033c5c62453df6046d7d25b Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Wed, 5 Feb 2025 22:52:59 -0500
Subject: [PATCH] [flang][Driver] When linking with the Fortran runtime also
link with
https://github.com/rmarker updated
https://github.com/llvm/llvm-project/pull/126019
>From 7a9726372f24c7bc42c18b78e989dff3b48bc910 Mon Sep 17 00:00:00 2001
From: rmarker
Date: Thu, 6 Feb 2025 17:54:25 +1030
Subject: [PATCH 1/2] Improve function pointer cast detection.
---
clang/lib/Format/Tok
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/125395
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Brad Smith
Date: 2025-02-06T02:41:15-05:00
New Revision: c4f54632105b4dfb7d176c0292064eff3b918d42
URL:
https://github.com/llvm/llvm-project/commit/c4f54632105b4dfb7d176c0292064eff3b918d42
DIFF:
https://github.com/llvm/llvm-project/commit/c4f54632105b4dfb7d176c0292064eff3b918d42.diff
LO
https://github.com/brad0 updated
https://github.com/llvm/llvm-project/pull/125395
>From bf29a1cd3720b223572184b2d11576e4c382a7d7 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Sun, 2 Feb 2025 05:25:18 -0500
Subject: [PATCH] [Driver] Enable IBT by default on OpenBSD/amd64
---
clang/lib/Driver
@@ -0,0 +1,34 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = { text = "Apa
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 52fc6ffcda0895c0c7b976ad1f5cb5a282b571d2
7a9726372f24c7bc42c18b78e989dff3b48bc910 --e
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building
`clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/30/builds/15350
Here is the releva
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: None (rmarker)
Changes
Fixes #125012
---
Full diff: https://github.com/llvm/llvm-project/pull/126019.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+15-2)
- (modified) clang/unittests/Format/TokenAnnota
https://github.com/rmarker created
https://github.com/llvm/llvm-project/pull/126019
Fixes #125012
>From 7a9726372f24c7bc42c18b78e989dff3b48bc910 Mon Sep 17 00:00:00 2001
From: rmarker
Date: Thu, 6 Feb 2025 17:54:25 +1030
Subject: [PATCH] Improve function pointer cast detection.
---
clang/lib
@@ -0,0 +1,34 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = { text = "Apa
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/118046
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/125392
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Brad Smith
Date: 2025-02-06T02:27:10-05:00
New Revision: 6567122a057ab2992b9a68b674e14f073a3c9e59
URL:
https://github.com/llvm/llvm-project/commit/6567122a057ab2992b9a68b674e14f073a3c9e59
DIFF:
https://github.com/llvm/llvm-project/commit/6567122a057ab2992b9a68b674e14f073a3c9e59.diff
LO
@@ -11224,6 +11224,254 @@ TEST_F(FormatTest,
WrapsTemplateDeclarationsWithComments) {
Style);
}
+TEST_F(FormatTest, BreakBeforeTemplateCloser) {
+ FormatStyle Style = getLLVMStyle();
+ // Begin with tests covering the case where there is no constraint on the
+ // col
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/122565
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,3 @@
+node: $Format:%H$
+node-date: $Format:%cI$
+describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
LecrisUT wrote:
Awesome findings. I could go either way on if it's expected behaviour or not.
Iirc the current format does not include all ta
https://github.com/brad0 updated
https://github.com/llvm/llvm-project/pull/125392
>From c4c2716546cb4203468c81947adbd7c953a052fe Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Sun, 2 Feb 2025 05:09:59 -0500
Subject: [PATCH] [PAC][Driver] Enable BTI and PAC by default on
OpenBSD/aarch64
---
https://github.com/MaskRay deleted
https://github.com/llvm/llvm-project/pull/124353
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,21 @@
+// 1) test on platforms that (do or do not) require runtime relocation
+//
+// RUN: %clang -target x86_64-darwin -fprofile-generate -fprofile-continuous
-### -c %s 2>&1 | FileCheck %s --check-prefix=NO_RELOC
+// NO_RELOC: "-cc1" {{.*}} "-fprofile-continuous"
+//
@@ -0,0 +1,21 @@
+// 1) test on platforms that (do or do not) require runtime relocation
+//
+// RUN: %clang -target x86_64-darwin -fprofile-generate -fprofile-continuous
-### -c %s 2>&1 | FileCheck %s --check-prefix=NO_RELOC
+// NO_RELOC: "-cc1" {{.*}} "-fprofile-continuous"
+//
@@ -3033,6 +3033,24 @@ indexed format, regardeless whether it is produced by
frontend or the IR pass.
overhead. ``prefer-atomic`` will be transformed to ``atomic`` when supported
by the target, or ``single`` otherwise.
+.. option:: -fprofile-continuous
+
+ Enables the co
MaskRay wrote:
The title tag "[PGO]" can be updated as well. The current code looks good to me.
https://github.com/llvm/llvm-project/pull/124353
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
@@ -1582,7 +1588,10 @@ static void CollectARMPACBTIOptions(const ToolChain &TC,
const ArgList &Args,
D.Diag(diag::err_drv_unsupported_option_argument)
<< A->getSpelling() << Scope;
Key = "a_key";
-IndirectBranches = false;
+if (Triple.isOSOpenBSD()
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/125392
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ryosuke Niwa (rniwa)
Changes
We should skip the first argument for CXXOperatorCallExpr, not other kinds of
calls.
---
Full diff: https://github.com/llvm/llvm-project/pull/126016.diff
2 Files Affected:
- (modified)
clang/lib/StaticAnal
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/125395
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/126016
We should skip the first argument for CXXOperatorCallExpr, not other kinds of
calls.
>From b4c9048f3f28bd0522338ef7e4498926b66db571 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Wed, 5 Feb 2025 22:48:30 -080
https://github.com/honeygoyal updated
https://github.com/llvm/llvm-project/pull/125388
>From f9d8e7f9c0df6beb8b4a63a01ebbc3b3ab93d091 Mon Sep 17 00:00:00 2001
From: Honey Goyal
Date: Sun, 2 Feb 2025 14:27:01 +0530
Subject: [PATCH 01/14] Test Cases for adding -latomic (the access size (8
bytes)
github-actions[bot] wrote:
@alsepkow Congratulations on having your first Pull Request (PR) merged into
the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a build
bogner wrote:
I went ahead and merged this for you. Thanks!
https://github.com/llvm/llvm-project/pull/125992
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-arm64-windows-msvc`
running on `linaro-armv8-windows-msvc-04` while building `clang,libc` at step 5
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/161/builds/4566
Here is the
https://github.com/bogner closed
https://github.com/llvm/llvm-project/pull/125992
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Alex Sepkowski
Date: 2025-02-05T22:28:22-08:00
New Revision: 7e0bef35c23321c57b556ee24c66e3c18194d4f3
URL:
https://github.com/llvm/llvm-project/commit/7e0bef35c23321c57b556ee24c66e3c18194d4f3
DIFF:
https://github.com/llvm/llvm-project/commit/7e0bef35c23321c57b556ee24c66e3c18194d4f3.diff
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/125992
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/brad0 updated
https://github.com/llvm/llvm-project/pull/125998
>From f2c9214b65604a1c7bd708e5ee0a975e02f0da13 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Wed, 5 Feb 2025 22:52:59 -0500
Subject: [PATCH] [flang][Driver] When linking with the Fortran runtime also
link with
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Qiongsi Wu (qiongsiwu)
Changes
73478708839fad8b02b3cfc84959d64a15ba93ca introduced a textual header but did
not update clang's module map. This PR adds the header to the module map.
---
Full diff: https://github.com/llvm/llvm-project/pul
https://github.com/qiongsiwu created
https://github.com/llvm/llvm-project/pull/126007
73478708839fad8b02b3cfc84959d64a15ba93ca introduced a textual header but did
not update clang's module map. This PR adds the header to the module map.
>From 103380989b2c01da215c8bc12a5b121678f9c916 Mon Sep 1
@@ -2563,9 +2563,15 @@ EmitAsmStores(CodeGenFunction &CGF, const AsmStmt &S,
if ((i < ResultRegIsFlagReg.size()) && ResultRegIsFlagReg[i]) {
// Target must guarantee the Value `Tmp` here is lowered to a boolean
// value.
- llvm::Constant *Two = llvm::Consta
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier
Message-ID:
In-Reply-To:
apple-fclou
https://github.com/benshi001 closed
https://github.com/llvm/llvm-project/pull/125328
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
brad0 wrote:
cc @Meinersbur @tblah @dty2
https://github.com/llvm/llvm-project/pull/125998
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-flang-driver
Author: Brad Smith (brad0)
Changes
Also link with libexecinfo on FreeBSD, NetBSD, OpenBSD and DragonFly
for the backtrace functions.
---
Full diff: https://github.com/llvm/llvm-project/pull/125998.diff
2 Files Affected:
- (modified) clan
https://github.com/brad0 created
https://github.com/llvm/llvm-project/pull/125998
Also link with libexecinfo on FreeBSD, NetBSD, OpenBSD and DragonFly
for the backtrace functions.
>From 3e25ca7b6cc62fe1cf9e6a1364f6bf6c0167f123 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Wed, 5 Feb 2025 22:
https://github.com/ricejasonf edited
https://github.com/llvm/llvm-project/pull/125394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -124,6 +125,14 @@ void lambda_capture() {
[&x...] { (void)sum(x...); }();
}
+struct S2 {
+int a, b, c;
+};
+
+auto X = [] () {
ricejasonf wrote:
Oh, sorry, I added your test with `clsss` not realizing you were talking about
modifying an existing te
https://github.com/bob80905 approved this pull request.
https://github.com/llvm/llvm-project/pull/125992
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SunilKuravinakop edited
https://github.com/llvm/llvm-project/pull/117904
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ben Shi (benshi001)
Changes
1. interrupt/signal handlers can not have parameters
2. interrupt/signal handlers must be 'void' type
---
Full diff: https://github.com/llvm/llvm-project/pull/125997.diff
8 Files Affected:
- (modified) clang/
@@ -2563,9 +2563,15 @@ EmitAsmStores(CodeGenFunction &CGF, const AsmStmt &S,
if ((i < ResultRegIsFlagReg.size()) && ResultRegIsFlagReg[i]) {
// Target must guarantee the Value `Tmp` here is lowered to a boolean
// value.
- llvm::Constant *Two = llvm::Consta
benshi001 wrote:
Since the code is not updated automatically, I created a new PR for my code
change.
https://github.com/llvm/llvm-project/pull/125328
https://github.com/llvm/llvm-project/pull/125328
___
cfe-commits mailing list
cfe-commits@lists.llvm
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/125997
1. interrupt/signal handlers can not have parameters
2. interrupt/signal handlers must be 'void' type
>From 2c02723208bd48e82621e3bee5b778f6c8bcd2e5 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Mon, 27 Jan 20
https://github.com/ricejasonf edited
https://github.com/llvm/llvm-project/pull/125658
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shafik commented:
Should this have a release note?
https://github.com/llvm/llvm-project/pull/125671
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3492,10 +3492,13 @@ VarDecl *BindingDecl::getHoldingVar() const {
return VD;
}
-llvm::ArrayRef BindingDecl::getBindingPackExprs() const {
+llvm::ArrayRef BindingDecl::getBindingPackDecls() const {
assert(Binding && "expecting a pack expr");
- auto *RP = cast(Binding)
@@ -43,6 +44,21 @@ static __rtsan::Context &GetContextForThisThreadImpl() {
return *current_thread_context;
}
+#else
+
+// On FreeBSD, pthread api cannot be used as calloc is called under the hood
+// at library initialization time.
+static __thread Context *ctx = nullptr;
+
https://github.com/phoebewang closed
https://github.com/llvm/llvm-project/pull/121070
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Scott Constable
Date: 2025-02-06T10:54:22+08:00
New Revision: e223485c9b38a5579991b8cebb6a200153eee245
URL:
https://github.com/llvm/llvm-project/commit/e223485c9b38a5579991b8cebb6a200153eee245
DIFF:
https://github.com/llvm/llvm-project/commit/e223485c9b38a5579991b8cebb6a200153eee245.dif
@@ -2563,9 +2563,15 @@ EmitAsmStores(CodeGenFunction &CGF, const AsmStmt &S,
if ((i < ResultRegIsFlagReg.size()) && ResultRegIsFlagReg[i]) {
// Target must guarantee the Value `Tmp` here is lowered to a boolean
// value.
- llvm::Constant *Two = llvm::Consta
@@ -90,6 +90,14 @@ bool SystemZTargetInfo::validateAsmConstraint(
case 'T': // Likewise, plus an index
Info.setAllowsMemory();
return true;
+ case '@':
+// CC condition changes.
+if (strlen(Name) >= 3 && *(Name + 1) == 'c' && *(Name + 2) == 'c') {
---
benshi001 wrote:
it is strange: I have added the case avkevl mentioned in my
[repo](https://github.com/benshi001/llvm-project/commit/8ce75fc80b8bbfb79009e53c0d7ac8015983e4da),
but this PR is not updated.
https://github.com/llvm/llvm-project/pull/125328
_
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running
on `aix-ppc64` while building `clang,libc` at step 3 "clean-build-dir".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/64/builds/2185
Here is the relevant piece of the build
benshi001 wrote:
this case is added.
https://github.com/llvm/llvm-project/pull/125328
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nightlark edited
https://github.com/llvm/llvm-project/pull/125806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nightlark updated
https://github.com/llvm/llvm-project/pull/125806
>From 4dd3356f37229c415c6b6e3dfec8c8020122124d Mon Sep 17 00:00:00 2001
From: Ryan Mast
Date: Tue, 4 Feb 2025 21:59:28 -0800
Subject: [PATCH] [libclang/python] Enable packaging libclang bindings
---
.gitattr
@@ -0,0 +1,34 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = { text = "Apa
https://github.com/nightlark edited
https://github.com/llvm/llvm-project/pull/125806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,3 @@
+node: $Format:%H$
+node-date: $Format:%cI$
+describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
nightlark wrote:
The more open ended match is the standard one that setuptools_scm documents,
but we can make it more flexible.
I tried the
https://github.com/jvoung approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/125958
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: A. Jiang (frederick-vs-ja)
Changes
Some tail padding are not reusable due to the ABI specification, and
`__datasizeof` intentionally doesn't consider them.
Closes #125863.
---
Full diff: https://github.com/llvm/llvm-project/pull/125981.d
https://github.com/fmayer closed
https://github.com/llvm/llvm-project/pull/125958
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Florian Mayer
Date: 2025-02-05T18:22:59-08:00
New Revision: f1540484ead766b18aeeb2be8b5fc9057ffa8a40
URL:
https://github.com/llvm/llvm-project/commit/f1540484ead766b18aeeb2be8b5fc9057ffa8a40
DIFF:
https://github.com/llvm/llvm-project/commit/f1540484ead766b18aeeb2be8b5fc9057ffa8a40.diff
https://github.com/frederick-vs-ja created
https://github.com/llvm/llvm-project/pull/125981
Some tail padding are not reusable due to the ABI specification, and
`__datasizeof` intentionally doesn't consider them.
Closes #125863.
>From 0577594d4ecbbae6e61e087ce16609469d5f459c Mon Sep 17 00:00:
@@ -0,0 +1,34 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = { text = "Apa
https://github.com/seekamoon edited
https://github.com/llvm/llvm-project/pull/124376
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Chandler Carruth (chandlerc)
Changes
I missed a few places to tidy up from before using the tablengen files directly
for the builtins. I didn't remove all of the modulemap entries and there were
two small `.def` files left lingering. This
https://github.com/chandlerc created
https://github.com/llvm/llvm-project/pull/125979
I missed a few places to tidy up from before using the tablengen files directly
for the builtins. I didn't remove all of the modulemap entries and there were
two small `.def` files left lingering. This should
@@ -5404,6 +5404,151 @@ third argument, can only occur at file scope.
a = b[i] * c[i] + e;
}
+Extensions for controlling atomic code generation
+=
+
+The ``[[clang::atomic]]`` statement attribute enables users to control ho
bharadwajy wrote:
Need to verify a couple more function attribute combinations. Changed it to
draft mode till that is done.
Please hold off reviews.
https://github.com/llvm/llvm-project/pull/125937
___
cfe-commits mailing list
cfe-commits@lists.llvm
https://github.com/bharadwajy converted_to_draft
https://github.com/llvm/llvm-project/pull/125937
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -179,6 +179,13 @@ static bool argHasNVVMAnnotation(const Value &Val,
return false;
}
+static std::optional getFnAttrParsedInt(const Function &F,
+ StringRef Attr) {
+ return F.hasFnAttribute(Attr)
+ ? std::opti
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve2-vla`
running on `linaro-g4-02` while building `clang,libc` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/198/builds/1795
Here is the relevant piece of t
@@ -12553,6 +12553,8 @@ def err_std_initializer_list_malformed : Error<
"%0 layout not recognized. Must be a non-polymorphic class type with no
bases and two fields: a 'const E *' and either another 'const E *' or a
'std::size_t'">;
// HLSL Diagnostics
+def err_hlsl_adduin
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vla`
running on `linaro-g3-04` while building `clang,libc` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/17/builds/5607
Here is the relevant piece of the
https://github.com/Icohedron updated
https://github.com/llvm/llvm-project/pull/125319
>From 1e194fdf6dc731276cd867501708b348e3bbc97c Mon Sep 17 00:00:00 2001
From: Icohedron
Date: Mon, 27 Jan 2025 11:18:09 -0800
Subject: [PATCH 1/8] Implement AddUint64 HLSL codegen and sema
---
clang/include/
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls`
running on `linaro-g3-03` while building `clang,libc` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/143/builds/5216
Here is the relevant piece of th
llvmbot wrote:
@llvm/pr-subscribers-llvm-selectiondag
Author: None (anoopkg6)
Changes
Add support for flag output operand "=@cc" for SystemZ and optimizing
conditional branch for 14 possible combinations of CC mask.
---
Patch is 616.60 KiB, truncated to 20.00 KiB below, full version:
h
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (anoopkg6)
Changes
Add support for flag output operand "=@cc" for SystemZ and optimizing
conditional branch for 14 possible combinations of CC mask.
---
Patch is 616.60 KiB, truncated to 20.00 KiB below, full version:
https://githu
mizvekov wrote:
https://llvm-compile-time-tracker.com/compare.php?from=4eab2194872d54e2d4496135a277b1610ff33ead&to=adde9f1f8eabe4d98ba09fd978f8d152a9865347&stat=instructions:u
These performance results don't indicate an impact either.
https://github.com/llvm/llvm-project/pull/125453
___
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-lnt`
running on `systemz-1` while building `clang,libc` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/136/builds/2668
Here is the relevant piece of the b
jhuber6 wrote:
> I understood that `-Xarch_nvptx64` propagates `-O3` to the nvptx toolchain
> but it is not obvious to me that it should pick up all the argument after it.
It doesn't
https://github.com/llvm/llvm-project/pull/125957
___
cfe-commits ma
ye-luo wrote:
I understood that `-Xarch_nvptx64` propagates `-O3` to the nvptx toolchain but
it is not obvious to me that it should pick up all the argument after it.
https://github.com/llvm/llvm-project/pull/125957
___
cfe-commits mailing list
cfe-co
https://github.com/AidanGoldfarb edited
https://github.com/llvm/llvm-project/pull/122754
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
> What is the rule of propagation? It is not immediately clear to me
>
> ```
> clang -fopenmp --offload-arch=gfx1030,sm_89 -Xarch_nvptx64 -O3 -foffload-lto
> ```
>
> `-foffload-lto` is an argument to `-Xarch_nvptx64` instead of `clang`.
That's just an example, `-Xarch_nvptx64` w
ye-luo wrote:
What is the rule of propagation? It is not immediately clear to me
```
clang -fopenmp --offload-arch=gfx1030,sm_89 -Xarch_nvptx64 -O3 -foffload-lto
```
`-foffload-lto` is an argument to `-Xarch_nvptx64` instead of `clang`.
https://github.com/llvm/llvm-project/pull/125957
__
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: QuietMisdreavus (QuietMisdreavus)
Changes
fixes rdar://137214218
When 'typedef struct' decls are encountered, the records are combined if the
underlying type is either anonymous or has the same name as the typedef. Extend
this behavior t
1 - 100 of 426 matches
Mail list logo