https://github.com/brad0 created
https://github.com/llvm/llvm-project/pull/130397
IsIntegratedAssemblerDefault is already set in
Generic_GCC::IsIntegratedAssemblerDefault
>From 5cb790da8c2de53ac604ea581b1baa4c2259e2a8 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Fri, 7 Mar 2025 21:50:15 -05
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/89449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Yaxun (Sam) Liu
Date: 2025-03-07T13:13:46-05:00
New Revision: 6fa1bfad65edefe3f4c17740f05297d34e833b47
URL:
https://github.com/llvm/llvm-project/commit/6fa1bfad65edefe3f4c17740f05297d34e833b47
DIFF:
https://github.com/llvm/llvm-project/commit/6fa1bfad65edefe3f4c17740f05297d34e833b47.dif
@@ -2269,11 +2269,10 @@ StmtResult Sema::ActOnForStmt(SourceLocation ForLoc,
SourceLocation LParenLoc,
for (auto *DI : DS->decls()) {
if (VarDecl *VD = dyn_cast(DI)) {
VarDeclSeen = true;
- if (VD->isLocalVarDecl() && !VD->hasLocalStorage())
-
https://github.com/yxsamliu closed
https://github.com/llvm/llvm-project/pull/101350
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/130299
>From 8ee44f1f2beb659a37c693b4f323491f6bfd8caa Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 7 Mar 2025 11:04:31 -0500
Subject: [PATCH 1/2] [C2y] Implement WG14 N3409
This paper removes UB around
@@ -2269,11 +2269,10 @@ StmtResult Sema::ActOnForStmt(SourceLocation ForLoc,
SourceLocation LParenLoc,
for (auto *DI : DS->decls()) {
if (VarDecl *VD = dyn_cast(DI)) {
VarDeclSeen = true;
- if (VD->isLocalVarDecl() && !VD->hasLocalStorage())
-
Author: Andy Kaylor
Date: 2025-03-07T10:23:06-08:00
New Revision: 8eb9b947af267f38ad53cfc67a41c5c3d978aa27
URL:
https://github.com/llvm/llvm-project/commit/8eb9b947af267f38ad53cfc67a41c5c3d978aa27
DIFF:
https://github.com/llvm/llvm-project/commit/8eb9b947af267f38ad53cfc67a41c5c3d978aa27.diff
L
YutongZhuu wrote:
> @YutongZhuu Will you need someone to merge this for you?
I think so. I don't think I have the permission to merge.
https://github.com/llvm/llvm-project/pull/126846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/127116
>From b5b9b158e7e379f2d430584e3ccf519677bf27a3 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Fri, 10 Jan 2025 17:13:30 -0800
Subject: [PATCH 1/6] [Clang][counted_by] Add support for 'counted_by' on
struc
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Kaitlin Peng (kmpeng)
Changes
Replaced the current `fmod` definition with a templatized version, implemented
`fmod` algorithm for DirectX targets that matches the DXC implementation, added
corresponding tests in `clang/test/CodeGenHLSL/bui
Author: Aaron Ballman
Date: 2025-03-07T15:22:28-05:00
New Revision: 8c130b11cb27364f96e36740b3a62832b192cb62
URL:
https://github.com/llvm/llvm-project/commit/8c130b11cb27364f96e36740b3a62832b192cb62
DIFF:
https://github.com/llvm/llvm-project/commit/8c130b11cb27364f96e36740b3a62832b192cb62.diff
@@ -733,16 +733,17 @@ ENVIRONMENT
.. envvar:: CPATH
- If this environment variable is present, it is treated as a delimited list of
- paths to be added to the default system include path list. The delimiter is
- the platform dependent delimiter, as used in the PATH environ
Author: Ziqing Luo
Date: 2025-03-07T15:05:20-08:00
New Revision: b2563028cf8285f1e77f6bdba9268cd92cd9355e
URL:
https://github.com/llvm/llvm-project/commit/b2563028cf8285f1e77f6bdba9268cd92cd9355e
DIFF:
https://github.com/llvm/llvm-project/commit/b2563028cf8285f1e77f6bdba9268cd92cd9355e.diff
LO
https://github.com/ziqingluo-90 closed
https://github.com/llvm/llvm-project/pull/114894
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
spall wrote:
> nit: is there a way to check that the spelling is consistent in the error
> messages? Asking since I am no familiar with this part of the code.
I'm not sure I understand what you mean.
https://github.com/llvm/llvm-project/pull/129773
_
shafik wrote:
This PR was flagged as the cause of this crash:
https://github.com/llvm/llvm-project/issues/130272
https://github.com/llvm/llvm-project/pull/117841
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
https://github.com/andykaylor created
https://github.com/llvm/llvm-project/pull/130322
GCC, unlike clang, issues a warning when one virtual function is overridden in
a derived class but one or more other virtual functions with the same name and
different signature from a base class are not ove
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/130320
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,99 @@
+//===--- CaptureThisByFieldCheck.cpp - clang-tidy
-===//
+//
+// 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
@@ -118,6 +119,8 @@ class BugproneModule : public ClangTidyModule {
CheckFactories.registerCheck(
"bugprone-bool-pointer-implicit-conversion");
CheckFactories.registerCheck("bugprone-branch-clone");
+CheckFactories.registerCheck(
+"bugprone-capture-t
https://github.com/denzor200 requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/130297
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -46,21 +52,124 @@ void CIRGenFunction::emitAutoVarAlloca(const VarDecl &d) {
address = createTempAlloca(allocaTy, alignment, loc, d.getName());
declare(address.getPointer(), &d, ty, getLoc(d.getSourceRange()), alignment);
+ emission.Addr = address;
setAddrOfLocalVar
@@ -2269,11 +2269,10 @@ StmtResult Sema::ActOnForStmt(SourceLocation ForLoc,
SourceLocation LParenLoc,
for (auto *DI : DS->decls()) {
if (VarDecl *VD = dyn_cast(DI)) {
VarDeclSeen = true;
- if (VD->isLocalVarDecl() && !VD->hasLocalStorage())
-
https://github.com/johnplatts updated
https://github.com/llvm/llvm-project/pull/129923
>From 0bfa20f7a2deaf61e04f7418f4571a9d6de4 Mon Sep 17 00:00:00 2001
From: John Platts
Date: Wed, 5 Mar 2025 13:11:15 -0600
Subject: [PATCH 1/3] Fixed vec_pack_to_short_fp32 in Clang altivec.h
---
clang/
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 a2b3dafcdfbf3cdeea8a722fe47402df69c20221
00b3e767b0fe222f6b0bfa9fe49633df2984a641 --e
llvmbot wrote:
@llvm/pr-subscribers-backend-arm
Author: Austin (Zhenhang1213)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/130022.diff
5 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+4)
- (modified) clang/include/clang/Driver/Options.td (+1-1)
- (mod
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (macurtis-amd)
Changes
To be used for OpenMP runtime library development where lack of control over
nuw/nsw prevents analysis by ScalarEvolution and subsequently loop unrolling.
---
Full diff: https://github.com/llvm/llvm-project/pul
Author: Michael Jabbour
Date: 2025-03-07T11:02:19+01:00
New Revision: 180f8032f0f67faf2a73791ee37a87cb8560135c
URL:
https://github.com/llvm/llvm-project/commit/180f8032f0f67faf2a73791ee37a87cb8560135c
DIFF:
https://github.com/llvm/llvm-project/commit/180f8032f0f67faf2a73791ee37a87cb8560135c.dif
https://github.com/spall updated
https://github.com/llvm/llvm-project/pull/129773
>From 6c2e22d2fa59f34401156ac6fd85c44730bf8c45 Mon Sep 17 00:00:00 2001
From: Sarah Spall
Date: Tue, 4 Mar 2025 12:58:13 -0800
Subject: [PATCH 1/2] make semantics case insensitive. update tests. add new
tests
--
@@ -214,12 +213,12 @@ void CGHLSLRuntime::addBuffer(const HLSLBufferDecl
*BufDecl) {
llvm::TargetExtType *TargetTy =
cast(convertHLSLSpecificType(
ResHandleTy, BufDecl->hasValidPackoffset() ? &Layout : nullptr));
- llvm::GlobalVariable *BufGV =
- new Gl
zygoloid wrote:
Can you update the first comment on this PR to reflect what you want to be in
the commit message? I notice that it doesn't describe what you're doing with
negation yet. Thanks!
https://github.com/llvm/llvm-project/pull/126846
___
cfe-
@@ -4790,7 +4790,7 @@ def HLSLPackOffset: HLSLAnnotationAttr {
}
def HLSLSV_DispatchThreadID: HLSLAnnotationAttr {
- let Spellings = [HLSLAnnotation<"SV_DispatchThreadID">];
+ let Spellings = [HLSLAnnotation<"sv_dispatchthreadid">];
llvm-beanz wrote:
Can we
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/127061
>From a76ee008bdb87655da465e21d09c840edecc2b1b Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Thu, 13 Feb 2025 15:24:09 +0200
Subject: [PATCH 1/2] [Clang] emit -Wunused-variable warning for unused
structur
erichkeane wrote:
> I'm getting nitpicky, but there are still unaddressed comments.
>
> In the interest of landing that soon, we should figure out the following:
>
> Do we want to keep the document, knowing this is likely to be adopted as a
> standard feature? I would rather just link to the p
@@ -0,0 +1,99 @@
+//===--- CaptureThisByFieldCheck.cpp - clang-tidy
-===//
+//
+// 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/AlexVlx approved this pull request.
https://github.com/llvm/llvm-project/pull/129545
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9180,6 +9180,12 @@ bool Sema::hasAcceptableDefinition(NamedDecl *D,
NamedDecl **Suggested,
if (!getLangOpts().Modules && !getLangOpts().ModulesLocalVisibility)
return true;
+ // The external source may have additional definitions of this entity that
are
+ // visi
https://github.com/MrSidims approved this pull request.
https://github.com/llvm/llvm-project/pull/129545
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Ritanya-B-Bharadwaj updated
https://github.com/llvm/llvm-project/pull/129888
>From 831fb3cf165814c3a7e437a7839951ef12d51694 Mon Sep 17 00:00:00 2001
From: Ritanya B Bharadwaj
Date: Wed, 5 Mar 2025 08:45:23 -0600
Subject: [PATCH 1/2] [OpenMP] Parsing/Sema support for self_maps
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
shafik wrote:
> > @cor3ntin I see... My opinion is because [N4916](https://wg21.link/n4916)
> > said the [P2280R4](https://wg21.link/p2280r4) was accepted as a DR and GCC
> > is so treating it. Not sure whether the divergence would be desired.
tgross35 wrote:
To clarify, the code is calling `__extendhfdf2` then `__truncdfhf2` from either
libgcc or from compiler-rt with your patches, and the compiler-rt version is
incorrect? Could you have it print the intermediate results as u16 hex (`Op0 +
Op1`, `Res2`, `Res`)?
Not sure if you are
Author: Joseph Huber
Date: 2025-03-07T11:10:21-06:00
New Revision: 5c9d0a26d9462487e7db5e58f2307371154d6117
URL:
https://github.com/llvm/llvm-project/commit/5c9d0a26d9462487e7db5e58f2307371154d6117
DIFF:
https://github.com/llvm/llvm-project/commit/5c9d0a26d9462487e7db5e58f2307371154d6117.diff
@@ -10425,8 +10425,13 @@ def warn_type_safety_null_pointer_required : Warning<
"specified %0 type tag requires a null pointer">, InGroup;
// Generic selections.
-def err_assoc_type_incomplete : Error<
- "type %0 in generic association incomplete">;
+def ext_assoc_type_incom
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/130285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,32 @@
+// RUN: %clang_cc1 -verify -std=c2y -pedantic %s
+// RUN: %clang_cc1 -verify=pre-c2y -std=c2y -Wpre-c2y-compat %s
+// RUN: %clang_cc1 -verify=ext -std=c23 -pedantic %s
+// expected-no-diagnostics
+
+/* WG14 N3409: Clang 21
+ * Slay Some Earthly Demons X
+ *
+ * R
https://github.com/Ritanya-B-Bharadwaj edited
https://github.com/llvm/llvm-project/pull/129888
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/130299
>From 8ee44f1f2beb659a37c693b4f323491f6bfd8caa Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 7 Mar 2025 11:04:31 -0500
Subject: [PATCH 1/2] [C2y] Implement WG14 N3409
This paper removes UB around
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/130164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/130324
Update tests in pref for IR changes that will be introduced in
https://github.com/llvm/llvm-project/pull/129923
>From 51c05790f7cd38e6db324dcd55b7491118b1c3e2 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri,
llvmbot wrote:
@llvm/pr-subscribers-backend-powerpc
Author: Lei Huang (lei137)
Changes
Update tests in pref for IR changes that will be introduced in
https://github.com/llvm/llvm-project/pull/129923
---
Full diff: https://github.com/llvm/llvm-project/pull/130324.diff
1 Files Affected:
https://github.com/perry-ca updated
https://github.com/llvm/llvm-project/pull/111035
>From e8d355c9cd165e0a255bbbfb5b0126cf7b1461a6 Mon Sep 17 00:00:00 2001
From: Sean Perry
Date: Wed, 2 Oct 2024 12:56:43 -0500
Subject: [PATCH 1/9] initial work for pragma export & _Export keyword
---
clang/in
andykaylor wrote:
> Someone better equipped to review cmake should review this, but looks ok to
> me.
I'm not sure who is well-versed in the dark art of cmake. I made this same
change in the incubator, and it's working there, so I'm confident that it works
as intended.
https://github.com/llv
JonPsson1 wrote:
Thanks for the help.
- new file extendhfdf2.c (and added to GENERIC_SOURCES list)
- $GENERIC_TF_SOURCES added to s390x_SOURCES. This did not work immediately.
However, if I removed the check for COMPILER_RT_HAS_FLOAT16 in the source
files, it builds. Not sure why/if that is n
https://github.com/macurtis-amd created
https://github.com/llvm/llvm-project/pull/130354
To be used for OpenMP runtime library development where lack of control over
nuw/nsw prevents analysis by ScalarEvolution and subsequently loop unrolling.
>From 57c81a241f75d7d5d92d727038aa5851096ac18d Mon
yxsamliu wrote:
[AMD Official Use Only - AMD Internal Distribution Only]
I will revert it.
Sam
From: Vladimir Vereschaka ***@***.***>
Sent: Friday, March 7, 2025 3:34 PM
To: llvm/llvm-project ***@***.***>
Cc: Liu, Yaxun (Sam) ***@***.***>; Mention ***@***.***>
Subject: Re: [llvm/llvm-project]
https://github.com/Sirraide approved this pull request.
https://github.com/llvm/llvm-project/pull/130299
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Yaxun (Sam) Liu
Date: 2025-03-07T15:54:50-05:00
New Revision: 5ff43550fa2aa3b93aa7310b8e435ba9e1338486
URL:
https://github.com/llvm/llvm-project/commit/5ff43550fa2aa3b93aa7310b8e435ba9e1338486
DIFF:
https://github.com/llvm/llvm-project/commit/5ff43550fa2aa3b93aa7310b8e435ba9e1338486.dif
https://github.com/Icohedron edited
https://github.com/llvm/llvm-project/pull/130320
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jvoung updated
https://github.com/llvm/llvm-project/pull/130346
>From 10df1857532a6a27b0e5286e10c9f0724d6d7e1d Mon Sep 17 00:00:00 2001
From: Jan Voung
Date: Fri, 7 Mar 2025 21:02:16 +
Subject: [PATCH 1/2] [clang-format] Add support for absl nullability macros
---
clang
https://github.com/Icohedron requested changes to this pull request.
For the most part, this PR looks good! Just needs some changes to the codegen
test to make it more clear that the implementation is correctly being tested.
https://github.com/llvm/llvm-project/pull/130320
_
@@ -22,56 +22,144 @@
//
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
// RUN: spirv-unknown-vulkan-compute %s -fnative-half-type \
-// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN: -emit-llvm -o - | FileCheck %s \
// RUN: -DFNATTRS
@@ -22,56 +22,144 @@
//
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
// RUN: spirv-unknown-vulkan-compute %s -fnative-half-type \
-// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN: -emit-llvm -o - | FileCheck %s \
// RUN: -DFNATTRS
@@ -22,56 +22,144 @@
//
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
// RUN: spirv-unknown-vulkan-compute %s -fnative-half-type \
-// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN: -emit-llvm -o - | FileCheck %s \
// RUN: -DFNATTRS
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/130299
>From 8ee44f1f2beb659a37c693b4f323491f6bfd8caa Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 7 Mar 2025 11:04:31 -0500
Subject: [PATCH 1/3] [C2y] Implement WG14 N3409
This paper removes UB around
https://github.com/zygoloid updated
https://github.com/llvm/llvm-project/pull/130369
>From 78c9d5da85723040c30f00cb53e77c9dd4cc14b8 Mon Sep 17 00:00:00 2001
From: Richard Smith
Date: Fri, 7 Mar 2025 22:49:37 +
Subject: [PATCH 1/3] Switch misc-confusable-identifiers check to a faster
algori
https://github.com/amy-kwan approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/130324
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mizvekov wrote:
To put it another way, what do we want to prevent the user from accomplishing
if he obtains a non-const reference to ASTContext from a const ASTUnit?
https://github.com/llvm/llvm-project/pull/130096
___
cfe-commits mailing list
cfe-com
topperc wrote:
The RISCVInsertVSETVLI approach is probably just a matter of doing something
like. May should check if an implicit def already exists before adding it. I
don't think addOperand checks for duplicates.
```
diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
b/llvm/lib/Targe
@@ -22,56 +22,144 @@
//
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
// RUN: spirv-unknown-vulkan-compute %s -fnative-half-type \
-// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN: -emit-llvm -o - | FileCheck %s \
// RUN: -DFNATTRS
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/130320
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zygoloid created
https://github.com/llvm/llvm-project/pull/130369
Optimizations:
- Only build the skeleton for each identifier once, rather than once for each
declaration of that identifier.
- Only compute the contexts in which identifiers are declared for identifiers
that
@@ -22,56 +22,144 @@
//
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
// RUN: spirv-unknown-vulkan-compute %s -fnative-half-type \
-// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN: -emit-llvm -o - | FileCheck %s \
// RUN: -DFNATTRS
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/130320
___
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-tidy
Author: Richard Smith (zygoloid)
Changes
Optimizations:
- Only build the skeleton for each identifier once, rather than once for each
declaration of that identifier.
- Only compute the contexts in which identifiers are declared for identifie
401 - 475 of 475 matches
Mail list logo