https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/140759
>From fbae463925738d8628593d5daaabe2a299aecbbf Mon Sep 17 00:00:00 2001
From: Baranov Victor
Date: Tue, 20 May 2025 19:23:35 +0300
Subject: [PATCH 1/4] [clang-tidy][nfc] refactor use-trailing-return-type-check
@@ -28,7 +27,7 @@ struct ClassifiedToken {
class UseTrailingReturnTypeCheck : public ClangTidyCheck {
public:
UseTrailingReturnTypeCheck(StringRef Name, ClangTidyContext *Context)
- : ClangTidyCheck(Name, Context) {}
+ : ClangTidyCheck(Name, Context) {};
---
@@ -28,7 +27,7 @@ struct ClassifiedToken {
class UseTrailingReturnTypeCheck : public ClangTidyCheck {
public:
UseTrailingReturnTypeCheck(StringRef Name, ClangTidyContext *Context)
- : ClangTidyCheck(Name, Context) {}
+ : ClangTidyCheck(Name, Context) {};
---
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/140828
>From 393ccc154e2f1d68ef25d660c8063ab9674ab09b Mon Sep 17 00:00:00 2001
From: Vincent
Date: Tue, 20 May 2025 21:25:32 -0400
Subject: [PATCH 1/4] [clang][TableGen] Fix Duplicate Entries in TableGen
Fixed Table
kadircet wrote:
I am afraid this doesn't address clangd/clangd#1104 to a useful extent :/.
Whenever a header `foo.h` changes, clangd will schedule indexing of only a
**single** translation unit that depends on it, not all of them. So if there
are other TUs that reference `foo`, they'll still s
rohitaggarwal007 wrote:
@tarunprabhu @florianhumblot @alexey-bataev @RKSimon @phoebewang
Please review the pull request.
Thanks
https://github.com/llvm/llvm-project/pull/140544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llv
https://github.com/NewSigma closed
https://github.com/llvm/llvm-project/pull/140548
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
languagelawyer wrote:
> This is related to CWG2548
Kinda, but not really. It has never been necessary to create the (non-)issue.
Or does someone really believe that it is a C++ defect that `IA{ 1, 2, 3 } -
IA{ 1, 2, 3 }` is not allowed?
https://github.com/llvm/llvm-project/pull/140702
___
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/139759
>From 1db30b6513de258f12055e6d3597d1680fbd3287 Mon Sep 17 00:00:00 2001
From: Fraser Cormack
Date: Thu, 27 Feb 2025 15:02:32 +
Subject: [PATCH 1/2] [libclc] Add (fast) normalize to CLC; add half overload
https://github.com/grypp edited https://github.com/llvm/llvm-project/pull/140615
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rohitaggarwal007 updated
https://github.com/llvm/llvm-project/pull/140544
>From 4769d05876f3d7f4a335c10e51fb20e3c923e270 Mon Sep 17 00:00:00 2001
From: Rohit Aggarwal
Date: Mon, 19 May 2025 19:25:52 +0530
Subject: [PATCH 1/5] [Clang][Flang][Driver] Fix target parsing for
-fv
https://github.com/apdofficial updated
https://github.com/llvm/llvm-project/pull/137609
From e88b6c0ff69c1ce0679d4c5768c5608a344652e5 Mon Sep 17 00:00:00 2001
From: Andrej Pistek
Date: Tue, 20 May 2025 10:15:02 +0200
Subject: [PATCH 1/2] [git-clang-format] sort args in ASCII order
---
clang/t
https://github.com/boxu-zhang closed
https://github.com/llvm/llvm-project/pull/140684
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/eZWALT edited
https://github.com/llvm/llvm-project/pull/140532
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@shivaramaarao 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
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/139256
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NimishMishra closed
https://github.com/llvm/llvm-project/pull/140533
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,Balazs Benics
,Balazs Benics ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy
Message-ID:
In-Reply-To:
@@ -115,9 +115,22 @@ cla
https://github.com/kadircet approved this pull request.
https://github.com/llvm/llvm-project/pull/140600
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/140578
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -744,3 +744,34 @@
// CHECK-SMEB16B16: __ARM_FEATURE_SME2 1
// CHECK-SMEB16B16: __ARM_FEATURE_SME_B16B16 1
// CHECK-SMEB16B16: __ARM_FEATURE_SVE_B16B16 1
+//
+// RUN: %clang --target=aarch64 -march=armv9-a+fp8 -x c -E -dM %s -o - |
FileCheck --check-prefix=CHECK-FP8 %s
+//
@@ -389,7 +389,7 @@ ENUM_CODEGENOPT(Inlining, InliningMethod, 2, NormalInlining)
VALUE_CODEGENOPT(InlineMaxStackSize, 32, UINT_MAX)
// Vector functions library to use.
-ENUM_CODEGENOPT(VecLib, llvm::driver::VectorLibrary, 3,
llvm::driver::VectorLibrary::NoLibrary)
+ENUM_CODEG
@@ -85,3 +85,33 @@ void func() {
static const int b; // zero-init-var-warning {{default initialization of an
object of type 'const int' is incompatible with C++}} \
cxx-error {{default initialization of an object of
const type 'const int'}}
}
+
+//
zwuis wrote:
This is related to CWG2548. CC @Endilll
https://github.com/llvm/llvm-project/pull/140702
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/140656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kiranktp wrote:
LGTM. Please wait for others to approve.
https://github.com/llvm/llvm-project/pull/140544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kiranktp approved this pull request.
https://github.com/llvm/llvm-project/pull/140544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kiranktp approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/140533
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/140689
>From f1fced9ca8e23ccc4092c2359f9d385fbbaad58f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 20 May 2025 09:06:15 +0200
Subject: [PATCH] [clang][bytecode] Check downcasts for the corre
apdofficial wrote:
@mydeveloperday, that is a valid question.
The reason is that we have many legacy repositories that do not have a
`.clang-format file`. The legacy repositories are in a maintenance phase, and
most importantly, they follow a custom code style. We want to implement a
standar
@@ -1777,6 +1778,35 @@ mlir::LogicalResult
CIRToLLVMVecInsertOpLowering::matchAndRewrite(
return mlir::success();
}
+mlir::LogicalResult CIRToLLVMVecCmpOpLowering::matchAndRewrite(
+cir::VecCmpOp op, OpAdaptor adaptor,
+mlir::ConversionPatternRewriter &rewriter) con
https://github.com/xlauko approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/140597
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ChuanqiXu9 wrote:
> ### Performance measurements with LLVM
> I tested these patches for building LLVM itself with modules
> (`LLVM_ENABLE_MODULES=ON`). To work around #130795, I apply #131354 before
> building Clang. In terms of overall performance for the entire build, I'm not
> able to measu
https://github.com/steakhal approved this pull request.
LGTM thanks.
https://github.com/llvm/llvm-project/pull/140656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern closed
https://github.com/llvm/llvm-project/pull/139748
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kikairoya updated
https://github.com/llvm/llvm-project/pull/140145
>From 37af003a4cc9afb74a05cddd5118ed0695cec632 Mon Sep 17 00:00:00 2001
From: kikairoya
Date: Mon, 21 Apr 2025 23:30:13 +0900
Subject: [PATCH 1/2] [Cygwin][MinGW] Internal class in
explicitly-instantiation-de
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/140695
>From 6cfad141013ce10943335713bc6b5c2e85348f07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 20 May 2025 11:17:46 +0200
Subject: [PATCH] [clang][bytecode] Diagnose comparisons of unrel
zmodem wrote:
> If we add lifetimes to it, middle end passes may assume promise dead after
> lifetime.end, leading to mis-optimizations.
It sounds like the issue is that we emit *incorrect* lifetime intrinsics for
it, not the lifetime intrinsics itself.
> Here is a example
Was that generated
@@ -240,6 +240,47 @@ def BF16RT : RegTyInfo;
def F16X2RT : RegTyInfo;
def BF16X2RT : RegTyInfo;
+// This class provides a basic wrapper around an NVPTXInst that abstracts the
+// specific syntax of most PTX instructions. It automatically handles the
+// construction of the
davemgreen wrote:
I was discussing with @tmatheson-arm and he said I could take this over. I've
updated this branch (apparently that does work), trying to address the issues
and clean things up a bit. The new types are not longer a keyword, but that
seems to be OK providing we mark them as imp
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= ,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=
Message-ID:
In-Reply-To:
cor3ntin wrote:
> Ping !
Sorry, I missed that you replied last week
https://github.com/llvm/llvm-project/pull/137665
___
cfe-comm
@@ -115,9 +115,22 @@ class CheckerRegistry {
public:
/// Adds a checker to the registry. Use this non-templated overload when your
/// checker requires custom initialization.
- void addChecker(RegisterCheckerFn Fn, ShouldRegisterFunction sfn,
+ void addChecker(RegisterChe
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 HEAD~1 HEAD --extensions cpp --
clang/lib/Sema/SemaExpr.cpp clang/test/CXX/expr/p8.cp
https://github.com/languagelawyer created
https://github.com/llvm/llvm-project/pull/140702
of unary `+` and `*`, and binary `+` and `-` operators
Fixes #54016
>From 2914130e2273eb279b978b73f58d5a2d257decb4 Mon Sep 17 00:00:00 2001
From: Andrey Erokhin
Date: Tue, 20 May 2025 14:58:23 +0500
Sub
@@ -5844,7 +5844,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction
&JA,
Triple.getArch() != llvm::Triple::x86_64)
D.Diag(diag::err_drv_unsupported_opt_for_target)
<< Name << Triple.getArchName();
-} else if (Name == "libmvec") {
+
Juan Manuel Martinez =?utf-8?q?Caamaño?= ,
Juan Manuel Martinez =?utf-8?q?Caamaño?=
Message-ID:
In-Reply-To:
@@ -1558,6 +1558,13 @@ void clang::InitializePreprocessor(Preprocessor &PP,
const PCHContainerReader &PCHContainerRdr,
https://github.com/davemgreen edited
https://github.com/llvm/llvm-project/pull/126945
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/atrosinenko closed
https://github.com/llvm/llvm-project/pull/140277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 HEAD~1 HEAD --extensions h,cpp --
clang-tools-extra/clang-tidy/misc/IncludeCleanerChe
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (Ami-zhang)
Changes
This adds support under LoongArch for the target("..") attributes.
The supported formats are:
- "arch=" strings, that specify the architecture features for a
function as per the -march=arch option.
- "tune=<
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (languagelawyer)
Changes
of unary `+` and `*`, and binary `+` and `-` operators
Fixes #54016
---
Full diff: https://github.com/llvm/llvm-project/pull/140702.diff
2 Files Affected:
- (modified) clang/lib/Sema/SemaExpr.cpp (+21)
-
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
@@ -389,7 +389,7 @@ ENUM_CODEGENOPT(Inlining, InliningMethod, 2, NormalInlining)
VALUE_CODEGENOPT(InlineMaxStackSize, 32, UINT_MAX)
// Vector functions library to use.
-ENUM_CODEGENOPT(VecLib, llvm::driver::VectorLibrary, 3,
llvm::driver::VectorLibrary::NoLibrary)
+ENUM_CODEG
@@ -105,9 +105,6 @@ void errno_getcwd(char *Buf, size_t Sz) {
clang_analyzer_eval(errno != 0); // expected-warning{{TRUE}}
clang_analyzer_eval(Path == NULL); // expected-warning{{TRUE}}
if (errno) {} // no warning
- } else if (Path == NULL) {
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux`
running on `systemz-1` while building `clang` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/88/builds/11818
Here is the relevant piece of the build log f
@@ -199,21 +199,58 @@ map in the following way to CUDA builtins:
Barriers
-'``llvm.nvvm.barrier0``'
-^^^
+'``llvm.nvvm.barrier.cta.*``'
+^
Syntax:
"""
.. code-block:: llvm
- declare void @llvm.nvvm.barr
https://github.com/apdofficial updated
https://github.com/llvm/llvm-project/pull/137609
From 6e23e19561cddc0e55e96cfd1ba9d27ddce853e3 Mon Sep 17 00:00:00 2001
From: Andrej Pistek
Date: Mon, 7 Apr 2025 13:37:47 +0200
Subject: [PATCH] [git-clang-format] add fallback style arg
---
clang/tools/cl
@@ -189,6 +189,13 @@ def main():
default=config.get("clangformat.style", None),
help="passed to clang-format",
),
+p.add_argument(
apdofficial wrote:
Sure, no problem. I rebased the MR with all the changes.
https://github.com/llvm/llvm
https://github.com/davemgreen edited
https://github.com/llvm/llvm-project/pull/126945
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -462,24 +462,28 @@ def NVVM_MBarrierTestWaitSharedOp :
NVVM_Op<"mbarrier.test.wait.shared">,
// NVVM synchronization op definitions
//===--===//
-def NVVM_Barrier0Op : NVVM_IntrOp<"barrier0"> {
+def NVVM_
@@ -462,24 +462,28 @@ def NVVM_MBarrierTestWaitSharedOp :
NVVM_Op<"mbarrier.test.wait.shared">,
// NVVM synchronization op definitions
//===--===//
-def NVVM_Barrier0Op : NVVM_IntrOp<"barrier0"> {
+def NVVM_
@@ -170,6 +170,8 @@ class LLVM_LIBRARY_VISIBILITY NVPTXTargetInfo : public
TargetInfo {
Opts["cl_khr_global_int32_extended_atomics"] = true;
Opts["cl_khr_local_int32_base_atomics"] = true;
Opts["cl_khr_local_int32_extended_atomics"] = true;
+
+Opts["__opencl_c_
@@ -462,24 +462,28 @@ def NVVM_MBarrierTestWaitSharedOp :
NVVM_Op<"mbarrier.test.wait.shared">,
// NVVM synchronization op definitions
//===--===//
-def NVVM_Barrier0Op : NVVM_IntrOp<"barrier0"> {
+def NVVM_
https://github.com/atrosinenko edited
https://github.com/llvm/llvm-project/pull/140277
___
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: cor3ntin (cor3ntin)
Changes
The evaluation context was improperly set up, such that we were trying to set
up cleanups for a global variable at the point of use, which led to incorrect
diagnostics about the variable not being capturable.
https://github.com/DaanDeMeyer updated
https://github.com/llvm/llvm-project/pull/140600
>From e68b81b128fd1c8a6fb7a462d0e610c4a7dcfa6a Mon Sep 17 00:00:00 2001
From: Daan De Meyer
Date: Mon, 19 May 2025 21:39:32 +0200
Subject: [PATCH] [clang-tidy] Add UnusedIncludes/MissingIncludes options to
https://github.com/cor3ntin created
https://github.com/llvm/llvm-project/pull/140699
The evaluation context was improperly set up, such that we were trying to set
up cleanups for a global variable at the point of use, which led to incorrect
diagnostics about the variable not being capturable.
Author: Anatoly Trosinenko
Date: 2025-05-20T12:50:58+03:00
New Revision: f10a90587f044e134d470ca1ab56d8f244f25336
URL:
https://github.com/llvm/llvm-project/commit/f10a90587f044e134d470ca1ab56d8f244f25336
DIFF:
https://github.com/llvm/llvm-project/commit/f10a90587f044e134d470ca1ab56d8f244f25336.
sr0lle wrote:
@HighCommander4 I'm just wondering, have you had a chance to check out this PR
yet? If not, is there any chance you could find some time for it in the coming
weeks or months?
https://github.com/llvm/llvm-project/pull/79867
___
cfe-commi
ChuanqiXu9 wrote:
BTW, I don't mind landing the rest 3 patches since they are "verified".
https://github.com/llvm/llvm-project/pull/133057
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
@@ -71,14 +71,6 @@ define float @nvvm_rcp(float %0) {
ret float %2
}
-; CHECK-LABEL: @llvm_nvvm_barrier0()
-define void @llvm_nvvm_barrier0() {
- ; CHECK: nvvm.barrier0
- call void @llvm.nvvm.barrier0()
- ret void
-}
-
grypp wrote:
test removal here. is
https://github.com/Ami-zhang created
https://github.com/llvm/llvm-project/pull/140700
This adds support under LoongArch for the target("..") attributes.
The supported formats are:
- "arch=" strings, that specify the architecture features for a function
as per the -march=arch option.
- "tune="
@@ -5844,7 +5844,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction
&JA,
Triple.getArch() != llvm::Triple::x86_64)
D.Diag(diag::err_drv_unsupported_opt_for_target)
<< Name << Triple.getArchName();
-} else if (Name == "libmvec") {
+
https://github.com/rohitaggarwal007 edited
https://github.com/llvm/llvm-project/pull/140544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rohitaggarwal007 wrote:
> @rohitaggarwal007 please can you edit the summary to briefly describe the fix
Done, Update the summary.
https://github.com/llvm/llvm-project/pull/140544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
@@ -389,7 +389,7 @@ ENUM_CODEGENOPT(Inlining, InliningMethod, 2, NormalInlining)
VALUE_CODEGENOPT(InlineMaxStackSize, 32, UINT_MAX)
// Vector functions library to use.
-ENUM_CODEGENOPT(VecLib, llvm::driver::VectorLibrary, 3,
llvm::driver::VectorLibrary::NoLibrary)
+ENUM_CODEG
https://github.com/cor3ntin approved this pull request.
Oh gosh!
https://github.com/llvm/llvm-project/pull/140714
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/philnik777 ready_for_review
https://github.com/llvm/llvm-project/pull/116709
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -85,3 +85,33 @@ void func() {
static const int b; // zero-init-var-warning {{default initialization of an
object of type 'const int' is incompatible with C++}} \
cxx-error {{default initialization of an object of
const type 'const int'}}
}
+
+//
llvmbot wrote:
@llvm/pr-subscribers-libcxx
Author: Nikolas Klauser (philnik777)
Changes
`std::invoke` is currently quite heavy compared to a function call, since it
involves quite heavy SFINAE. This can be done significantly more efficient by
the compiler, since most calls to `std::invok
@@ -6513,6 +6513,14 @@ static bool canPerformArrayCopy(const InitializedEntity
&Entity) {
static const FieldDecl *getConstField(const RecordDecl *RD) {
assert(!isa(RD) && "Only expect to call this in C mode");
for (const FieldDecl *FD : RD->fields()) {
+// If the field
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/140578
>From 625662da41256345c4609835754c3a61018b54ca Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Mon, 19 May 2025 13:09:03 -0400
Subject: [PATCH 1/2] [C] Do not diagnose flexible array members with
-Wdefa
https://github.com/Lancern approved this pull request.
LGTM with one nit
https://github.com/llvm/llvm-project/pull/140612
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paulwalker-arm approved this pull request.
https://github.com/llvm/llvm-project/pull/140544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2189,8 +2189,14 @@ StmtProfiler::VisitCXXPseudoDestructorExpr(const
CXXPseudoDestructorExpr *S) {
void StmtProfiler::VisitOverloadExpr(const OverloadExpr *S) {
VisitExpr(S);
- VisitNestedNameSpecifier(S->getQualifier());
- VisitName(S->getName(), /*TreatAsDecl*/ true)
rohitaggarwal007 wrote:
@kiranktp @paulwalker-arm
Can you please merge this PR in main on my behalf?
I don't have the write permission.
Thank you
https://github.com/llvm/llvm-project/pull/140544
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
@@ -1658,6 +1828,170 @@ mlir::Value
ScalarExprEmitter::VisitUnaryExprOrTypeTraitExpr(
cgf.cgm.UInt64Ty, e->EvaluateKnownConstInt(cgf.getContext(;
}
+/// Return true if the specified expression is cheap enough and
side-effect-free
+/// enough to evaluate un
topperc wrote:
> I still get compiler error for the above case, but with additional error
> message:
>
> ```
> fatal error: error in backend: Invalid size request on a scalable vector.
> PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
> and include the crash backtrac
Author: erichkeane
Date: 2025-05-20T09:04:32-07:00
New Revision: e8dff7bea468525ec966061324baed88d67b025d
URL:
https://github.com/llvm/llvm-project/commit/e8dff7bea468525ec966061324baed88d67b025d
DIFF:
https://github.com/llvm/llvm-project/commit/e8dff7bea468525ec966061324baed88d67b025d.diff
LO
@@ -2331,6 +2337,65 @@ bool RISCVAsmParser::generateVTypeError(SMLoc ErrorLoc) {
"e[8|16|32|64],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu]");
}
+ParseStatus RISCVAsmParser::parseXSfmmVType(OperandVector &Operands) {
+ SMLoc S = getLoc();
+
+ unsigned Widen = 0;
+ unsigned SE
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/133031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/qinkunbao updated
https://github.com/llvm/llvm-project/pull/140529
>From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001
From: Qinkun Bao
Date: Mon, 19 May 2025 11:14:01 +
Subject: [PATCH 1/5] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UT
jj-marr wrote:
Thinking more, this is not a good check at this time.
https://github.com/llvm/llvm-project/pull/140001
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jj-marr closed
https://github.com/llvm/llvm-project/pull/140001
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -105,9 +105,6 @@ void errno_getcwd(char *Buf, size_t Sz) {
clang_analyzer_eval(errno != 0); // expected-warning{{TRUE}}
clang_analyzer_eval(Path == NULL); // expected-warning{{TRUE}}
if (errno) {} // no warning
- } else if (Path == NULL) {
@@ -78,9 +78,7 @@ For example, supplying the above ``ignorelist.txt`` to
instrumentation for arithmetic operations containing values of type ``int``.
The ``=sanitize`` category is also supported. Any types assigned to the
vitalybuka wrote:
type -> entry?
htt
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/140789
If we know the char width is 1, we can just copy
the data over instead of going through the Pointer API.
>From a4209fc8d9e93d5a7e080bd3cfab0d6cef37a102 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
If we know the char width is 1, we can just copy
the data over instead of going through the Pointer API.
---
Full diff: https://github.com/llvm/llvm-project/pull/140789.diff
1 Files Affected:
- (modified)
@@ -960,6 +960,7 @@ Sanitizers
--
- ``-fsanitize=vptr`` is no longer a part of ``-fsanitize=undefined``.
+- UBSan ignorelists now support the syntax ``src:*=sanitize``.
qinkunbao wrote:
Yes, it should work for all sanitizer. However, I don't have test
https://github.com/Andres-Salamanca updated
https://github.com/llvm/llvm-project/pull/140425
>From 384ec2904b91cbed8757720373b451389f5f1a1a Mon Sep 17 00:00:00 2001
From: Andres Salamanca
Date: Sat, 17 May 2025 19:36:05 -0500
Subject: [PATCH 1/2] Added lowering logic for switch and appropriate
301 - 400 of 509 matches
Mail list logo