llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: Shunsuke Watanabe (s-watanabe314)
Changes
This patch improves the warnings to show which user options override the
complex range. When a complex range is overridden, explicitly display both the
option nam
https://github.com/s-watanabe314 created
https://github.com/llvm/llvm-project/pull/154899
This patch improves the warnings to show which user options override the
complex range. When a complex range is overridden, explicitly display both the
option name and the implied complex range value for
Author: Brad Smith
Date: 2025-08-22T02:02:52-04:00
New Revision: 0fff4605922d137252875f072b3fb2973dbf9693
URL:
https://github.com/llvm/llvm-project/commit/0fff4605922d137252875f072b3fb2973dbf9693
DIFF:
https://github.com/llvm/llvm-project/commit/0fff4605922d137252875f072b3fb2973dbf9693.diff
LO
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/154886
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AditiRM edited
https://github.com/llvm/llvm-project/pull/154715
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/devnexen approved this pull request.
https://github.com/llvm/llvm-project/pull/154886
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AditiRM updated
https://github.com/llvm/llvm-project/pull/154715
>From 20acfd4109a453060f3678e536234de94012f19c Mon Sep 17 00:00:00 2001
From: AditiRM
Date: Thu, 21 Aug 2025 09:40:59 +
Subject: [PATCH 1/8] Implement frontend for bcd builtins
---
clang/include/clang/Basi
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/CodeGen/TargetBuiltins/AMDGPU.cpp clang/lib
github-actions[bot] wrote:
:warning: undef deprecator found issues in your code. :warning:
You can test this locally with the following command:
``bash
git diff -U0 --pickaxe-regex -S
'([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)' 'HEAD~1' HEAD
clang/lib/CodeGen/TargetBu
https://github.com/yxsamliu updated
https://github.com/llvm/llvm-project/pull/153501
>From 8fef1b8dd9d91513c705c460e868ac5507eb4aea Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Wed, 13 Aug 2025 09:18:36 -0400
Subject: [PATCH 1/7] [AMDGPU] Extend __builtin_amdgcn_ds_bpermute argument
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
getAsExpr() already returns Expr *.
---
Full diff: https://github.com/llvm/llvm-project/pull/154889.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaTemplate.cpp (+1-1)
``diff
diff
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/154889
getAsExpr() already returns Expr *.
>From c96a06285e73350b7b019821d04c26d3722985ec Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 21 Aug 2025 20:39:44 -0700
Subject: [PATCH] [Sema] Remove an unne
@@ -0,0 +1,36 @@
+//===- LoongArchWinCOFFStreamer.cpp -*- 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
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/154223
>From b9e917fb7da29c1dc70e0e89b972fc3e2a631b4f Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Thu, 21 Aug 2025 21:20:33 +0300
Subject: [PATCH 1/3] Add clang-tidy violations for testing purpose
---
.../cl
github-actions[bot] wrote:
:warning: C/C++ code linter clang-tidy found issues in your code. :warning:
You can test this locally with the following command:
```bash
git diff -U0 origin/main..HEAD --
clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp |
python3 clang-tools-ext
MaskRay wrote:
I am concerned with auto -lstdc++fs as well. I think old GCC versions require
-lstdc++fs. If you are going to make changes in this area, especially for the
old versions [5.3, 9.2), please restrict them to AMD only.
https://github.com/llvm/llvm-project/pull/154826
___
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/154223
>From b9e917fb7da29c1dc70e0e89b972fc3e2a631b4f Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Thu, 21 Aug 2025 21:20:33 +0300
Subject: [PATCH 1/2] Add clang-tidy violations for testing purpose
---
.../cl
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Brad Smith (brad0)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/154886.diff
2 Files Affected:
- (modified) clang/lib/Basic/Targets/OSTargets.h (+3)
- (modified) clang/test/Preprocessor/init.c (+8)
``diff
https://github.com/brad0 created
https://github.com/llvm/llvm-project/pull/154886
None
>From 99496fb8d559f889486e528124ed5e4e443611c7 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Fri, 22 Aug 2025 00:49:20 -0400
Subject: [PATCH] [Driver] DragonFly does not support C11 threads
---
clang/lib
llvmbot wrote:
@llvm/pr-subscribers-backend-loongarch
Author: None (leecheechen)
Changes
This patch adds initial UEFI support for LoongArch64, enabling the compilation
and generation of UEFI applications for LoongArch targets.
Key changes include:
1. Target support enhancements:
- Ad
llvmbot wrote:
@llvm/pr-subscribers-llvm-binary-utilities
Author: None (leecheechen)
Changes
This patch adds initial UEFI support for LoongArch64, enabling the compilation
and generation of UEFI applications for LoongArch targets.
Key changes include:
1. Target support enhancements:
https://github.com/leecheechen created
https://github.com/llvm/llvm-project/pull/154883
This patch adds initial UEFI support for LoongArch64, enabling the compilation
and generation of UEFI applications for LoongArch targets.
Key changes include:
1. Target support enhancements:
- Added UEF
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/154787
>From 04dab5e8cf9646e88970350ee602cc82535322bc Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 21 Aug 2025 08:58:12 -0700
Subject: [PATCH 1/2] [clang-format] Fix a bug in SkipMacroDefinitionBody
Fixes #154683
https://github.com/s-perron closed
https://github.com/llvm/llvm-project/pull/151554
___
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: Joseph Huber (jhuber6)
Changes
Summary:
The `__builtin_shufflevector` call would return a GCC vector in all
cases where the vector type was increased. Change this to preserve
whether or not this was an extended vector.
Fixes: https://githu
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,h --
clang/include/clang/Driver/DependencyScanner.h
cla
https://github.com/naveen-seth updated
https://github.com/llvm/llvm-project/pull/152770
>From f9dad8d99616e0799c318dda1a8e50351021f169 Mon Sep 17 00:00:00 2001
From: Naveen Seth Hanig
Date: Fri, 22 Aug 2025 04:58:18 +0200
Subject: [PATCH] [clang][modules-driver] Add dependency scan and dependen
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/154203
>From cc9d2d9e4923bad0d904d251fa116ad388b0b6ac Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Mon, 18 Aug 2025 15:59:46 -0500
Subject: [PATCH 1/6] [Clang] Support generic bit counting builtins on fixed
boole
@@ -141,6 +141,22 @@ static void diagnoseNonConstexprBuiltin(InterpState &S,
CodePtr OpPC,
S.CCEDiag(Loc, diag::note_invalid_subexpr_in_const_expr);
}
+static llvm::APSInt convertBoolVectorToInt(const Pointer &Val) {
+ assert(Val.getFieldDesc()->isPrimitiveArray() &&
+
@@ -141,6 +141,22 @@ static void diagnoseNonConstexprBuiltin(InterpState &S,
CodePtr OpPC,
S.CCEDiag(Loc, diag::note_invalid_subexpr_in_const_expr);
}
+static llvm::APSInt convertBoolVectorToInt(const Pointer &Val) {
+ assert(Val.getFieldDesc()->isPrimitiveArray() &&
+
https://github.com/naveen-seth updated
https://github.com/llvm/llvm-project/pull/152770
>From 82ccdec367d18320ca5448a4b36e928889e17936 Mon Sep 17 00:00:00 2001
From: Naveen Seth Hanig
Date: Fri, 22 Aug 2025 04:58:18 +0200
Subject: [PATCH] [clang][modules-driver] Add dependency scan and dependen
https://github.com/Dalmurii updated
https://github.com/llvm/llvm-project/pull/154541
>From 4bc8f7c83dfd53cc1984d722e78fbc1f19fbf991 Mon Sep 17 00:00:00 2001
From: ae2f
Date: Wed, 20 Aug 2025 22:26:09 +0900
Subject: [PATCH 1/5] Fix of [Static Initialization Order Fiasco
Issue](https://github.co
https://github.com/naveen-seth ready_for_review
https://github.com/llvm/llvm-project/pull/152770
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/naveen-seth updated
https://github.com/llvm/llvm-project/pull/152770
>From 905e78df28462b647bfdb7cf3231198c90bf3097 Mon Sep 17 00:00:00 2001
From: Naveen Seth Hanig
Date: Fri, 22 Aug 2025 04:58:18 +0200
Subject: [PATCH] [clang][modules-driver] Add dependency scan and dependen
https://github.com/snarang181 ready_for_review
https://github.com/llvm/llvm-project/pull/154863
___
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
@llvm/pr-subscribers-clang-tools-extra
Author: None (flovent)
Changes
Closes #154762
---
Full diff: https://github.com/llvm/llvm-project/pull/154782.diff
3 Files Affected:
- (modified)
clang-tools-extra/clang-tidy/readability/ContainerSiz
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/154142
>From d55e41fa03d09b2ddfc9484c4a70a7d21ed9a994 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 18 Aug 2025 15:12:45 +0100
Subject: [PATCH 01/10] [llvm][DebugInfo] Support DW_AT_linkage_names that are
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Carlos Galvez (carlosgalvezp)
Changes
Currently it's hard to find the "general" options, since they are listed in the
middle of the "specific" options. Split them into two categories so they are
easier to find.
This can help in addi
github-actions[bot] wrote:
@AnthonyLatsis 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/bnbarham closed
https://github.com/llvm/llvm-project/pull/154453
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Anthony Latsis
Date: 2025-08-21T17:55:57-07:00
New Revision: 0bc02096f692da5b2f6b50fa82395af930314bcb
URL:
https://github.com/llvm/llvm-project/commit/0bc02096f692da5b2f6b50fa82395af930314bcb
DIFF:
https://github.com/llvm/llvm-project/commit/0bc02096f692da5b2f6b50fa82395af930314bcb.diff
https://github.com/snarang181 created
https://github.com/llvm/llvm-project/pull/154863
Adds onto https://github.com/llvm/llvm-project/issues/141911
>From a30420c14387dd41e7ab7ea1924b4471b3f0b71d Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Thu, 21 Aug 2025 20:45:53 -0400
Subject: [PATCH
@@ -0,0 +1,190 @@
+//===--- NumericLiteralCaseFixer.cpp ---*- 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: Apache-2
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/154639
>From d91de5f59ab2682b1067c7881a4af995422f9dfc Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Wed, 20 Aug 2025 12:06:03 -0700
Subject: [PATCH 1/9] nfc: move invocation of parsing to common location
---
.../
https://github.com/abhishek-kaushik22 created
https://github.com/llvm/llvm-project/pull/154801
Fixes #149866
>From 359de1e5786a413f3bfca6b09b60bd2fd67dbb1f Mon Sep 17 00:00:00 2001
From: Abhishek Kaushik
Date: Thu, 21 Aug 2025 22:59:21 +0530
Subject: [PATCH] [Clang]Throw frontend error for t
https://github.com/piotrrak edited
https://github.com/llvm/llvm-project/pull/153459
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon created
https://github.com/llvm/llvm-project/pull/154780
This handles constant folding for the AVX2 per-element shift intrinsics, which
handle out of bounds shift amounts (logical result = 0, arithmetic result =
signbit splat)
AVX512 intrinsics will follow in follow
https://github.com/keinflue created
https://github.com/llvm/llvm-project/pull/154807
This adds a range attribute to function parameters to enable optimization with
regards to restricted value ranges of enumerations without fixed underlying
type in C++ with the -fstrict-enums option. Loads for
https://github.com/erichkeane approved this pull request.
Yep, LGTM.
https://github.com/llvm/llvm-project/pull/154628
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ahatanak edited
https://github.com/llvm/llvm-project/pull/154858
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ArcsinX created
https://github.com/llvm/llvm-project/pull/154836
Reland #153756
LLVM_INSTANTIATE_REGISTRY(..) and FeatureModuleRegistry::entries() were in
different translation units, that rises a warning when compiling with clang and
leads to compilation failure if -Werror
https://github.com/delcypher edited
https://github.com/llvm/llvm-project/pull/154618
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2437,9 +2437,17 @@ inline bool Destroy(InterpState &S, CodePtr OpPC,
uint32_t I) {
const Pointer &Ptr = S.Current->getLocalPointer(Local.Offset);
if (Ptr.getLifetime() == Lifetime::Ended) {
- auto *D = cast(Ptr.getFieldDesc()->asDecl());
- S.FFDiag(D->ge
https://github.com/Artem-B commented:
> This patch makes it so that builtins for the aux triple only get enabled if
> they are marked as supported by the current language options.
I'm not convinced that it's the right fix for the problem.
* `__cpuidex`, uses `Languages = "ALL_MS_LANGUAGES"` w
https://github.com/Artem-B edited
https://github.com/llvm/llvm-project/pull/154217
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4213,7 +4213,7 @@ such as ``unsigned __int128`` and C23 ``unsigned
_BitInt(N)``.
``__builtin_clzg`` (respectively ``__builtin_ctzg``) returns the number of
leading (respectively trailing) 0 bits in the first argument. The first
argument
-can be of any unsigned integer ty
Author: 7mile
Date: 2025-08-21T09:51:37-07:00
New Revision: 761125f2676925fbc4ef23f8b5cc937ebea9a0fb
URL:
https://github.com/llvm/llvm-project/commit/761125f2676925fbc4ef23f8b5cc937ebea9a0fb
DIFF:
https://github.com/llvm/llvm-project/commit/761125f2676925fbc4ef23f8b5cc937ebea9a0fb.diff
LOG: [C
@@ -496,6 +496,46 @@ def CIR_GlobalViewAttr : CIR_Attr<"GlobalView",
"global_view", [
}];
}
+//===--===//
+// VTableAttr
+//===--===//
+
+
@@ -594,6 +592,9 @@ void HexagonToolChain::getHexagonLibraryPaths(const ArgList
&Args,
LibPaths.push_back(LibDirCpu);
LibPaths.push_back(LibDir);
}
+ if (getTriple().isMusl()) {
+LibPaths.push_back(getCompilerRTPath());
+ }
}
androm3da wrote:
necto wrote:
Unless I see objections, I'll merge this PR tomorrow
https://github.com/llvm/llvm-project/pull/154741
___
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 `lldb-remote-linux-ubuntu`
running on `as-builder-9` while building `clang` at step 16
"test-check-lldb-api".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/195/builds/13560
Here is the relevant piec
@@ -4601,6 +4601,16 @@ void Driver::BuildActions(Compilation &C, DerivedArgList
&Args,
Actions.push_back(C.MakeAction(
LastAction, types::TY_DX_CONTAINER));
}
+if (TC.requiresObjcopy(Args)) {
+ Action *LastAction = Actions.back();
+ // llv
https://github.com/rjmccall edited
https://github.com/llvm/llvm-project/pull/154203
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/154788
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm
-debug-info-kind=standalone -o - %s | FileCheck %s
ykhatav wrote:
Done.
https://github.com/llvm/llvm-project/pull/146729
___
cfe-commit
delcypher wrote:
@erichkeane @Sirraide I just reformatted the entire files (opting out the enum
that declares the ` DIAG_START_*` constants for readability. Assuming CI
passes, is this good to go?
https://github.com/llvm/llvm-project/pull/154628
___
https://github.com/delcypher edited
https://github.com/llvm/llvm-project/pull/154628
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
boomanaiden154 wrote:
It looks like it's only the libc++ build with modules enabled that failed. It
should reproduce with a libc++ runtimes build with the flags in
https://github.com/llvm/llvm-project/blob/17eb05ddd3b0db41d69af9318a6a43760ee15910/.ci/monolithic-linux.sh#L94
set.
If you can't
sebpop wrote:
Instead of spreading FUD around, please be more precise and open bug reports
for the following:
> There are fundamental flaws in DA's implementation, particularly in how it
> handles wrapping of SCEVs.
Tell me more about it in a separate bug, and let's see how we can work towards
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/154817
>From d2eceb10f6bb33c28f4891b0664e4978b7a76c88 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Thu, 21 Aug 2025 13:14:03 -0500
Subject: [PATCH] [Clang] Fix incorrect return type for
`__builtin_shufflevector`
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/154223
___
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: Timm Baeder (tbaederr)
Changes
This can happen when casts are involved.
Fixes #154006
---
Full diff: https://github.com/llvm/llvm-project/pull/154777.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+6-1)
@@ -594,6 +592,9 @@ void HexagonToolChain::getHexagonLibraryPaths(const ArgList
&Args,
LibPaths.push_back(LibDirCpu);
LibPaths.push_back(LibDir);
}
+ if (getTriple().isMusl()) {
+LibPaths.push_back(getCompilerRTPath());
+ }
}
androm3da wrote:
@@ -0,0 +1,52 @@
+#include "PassDetail.h"
+#include "clang/CIR/Dialect/IR/CIRDialect.h"
+#include "clang/CIR/Dialect/Passes.h"
+#include "llvm/Support/TimeProfiler.h"
+#include
+
+using namespace mlir;
+using namespace cir;
+
+namespace {
+
+struct GotoSolverPass : public GotoSol
@@ -1693,6 +1693,22 @@ getBitTestAtomicOrdering(BitTest::InterlockingKind I) {
llvm_unreachable("invalid interlocking");
}
+static llvm::Value *EmitIntegerExpr(CodeGenFunction &CGF, const Expr *E) {
+ llvm::Value *ArgValue = CGF.EmitScalarExpr(E);
+ llvm::Type *ArgType = A
Author: Dan Liew
Date: 2025-08-21T14:06:49-07:00
New Revision: 09612007f1d1f431e4418acbe3373b14b21fb913
URL:
https://github.com/llvm/llvm-project/commit/09612007f1d1f431e4418acbe3373b14b21fb913
DIFF:
https://github.com/llvm/llvm-project/commit/09612007f1d1f431e4418acbe3373b14b21fb913.diff
LOG:
https://github.com/delcypher closed
https://github.com/llvm/llvm-project/pull/154628
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
delcypher wrote:
The CI failure is due to an unrelated test failure.
```
Unresolved Tests (1):
lldb-api :: tools/lldb-dap/moduleSymbols/TestDAP_moduleSymbols.py
```
https://github.com/llvm/llvm-project/pull/154628
___
cfe-
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/154627
>From bdf360400228106ef4e50677797d30e18a2bab19 Mon Sep 17 00:00:00 2001
From: Vincent
Date: Sat, 9 Aug 2025 23:07:30 +0800
Subject: [PATCH 1/2] [clang] Fix Variable Length Array `_Countof` Crash
Check for mis
https://github.com/rjmccall edited
https://github.com/llvm/llvm-project/pull/154203
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4213,7 +4213,7 @@ such as ``unsigned __int128`` and C23 ``unsigned
_BitInt(N)``.
``__builtin_clzg`` (respectively ``__builtin_ctzg``) returns the number of
leading (respectively trailing) 0 bits in the first argument. The first
argument
-can be of any unsigned integer ty
https://github.com/ykhatav closed
https://github.com/llvm/llvm-project/pull/146729
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: ykhatav
Date: 2025-08-21T16:58:25-04:00
New Revision: 38f0b9e6d965b46a2c747a0010809fc6ba103045
URL:
https://github.com/llvm/llvm-project/commit/38f0b9e6d965b46a2c747a0010809fc6ba103045
DIFF:
https://github.com/llvm/llvm-project/commit/38f0b9e6d965b46a2c747a0010809fc6ba103045.diff
LOG:
rupprecht wrote:
> > I'm trying to reduce a crash that only reproduces w/ in module builds. Does
> > this sound familiar?
>
> Haven't seen this one yet. That may have something to do with demoted
> definitions, a repro would be helpful.
I'm trying to reduce it now, but because it's a modules
Meinersbur wrote:
> > There are fundamental flaws in DA's implementation, particularly in how it
> > handles wrapping of SCEVs.
>
> Tell me more about it in a separate bug, and let's see how we can work
> towards fixing it.
If you look over the code you can see that no attention was paid to i
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/154817
Summary:
The `__builtin_shufflevector` call would return a GCC vector in all
cases where the vector type was increased. Change this to preserve
whether or not this was an extended vector.
Fixes: https://github.c
zmodem wrote:
I haven't dug into the details (and don't know much about WinEH), but we just
bisected a Rust test failure to this revision. After this,
https://github.com/rust-lang/rust/blob/213d946a384b46989f6fd9c8ae9c547b4e354455/tests/ui/asm/x86_64/may_unwind.rs
fails on Windows.
Do folks o
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/154454
>From 0f11eb005276c35599216c60653a5126fbd7ed1e Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Fri, 8 Aug 2025 17:16:06 +
Subject: [PATCH 1/5] add BinaryModifyJobClass
---
clang/include/clang/Driver/Acti
vbvictor wrote:
Should be fairly easy to review @carlosgalvezp
There will be more patches coming with fixing this check.
https://github.com/llvm/llvm-project/pull/153885
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cg
abhishek-kaushik22 wrote:
@efriedma-quic @AaronBallman Can you please review this one? I messed up the
last pr
https://github.com/llvm/llvm-project/pull/154801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
https://github.com/efriedma-quic approved this pull request.
I expect this doesn't have much effect in most cases; we have a bunch of
implicit conversions between vector types, so probably in most cases the vector
gets converted to the right type before anyone actually tries to use it.
LGTM
h
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/154203
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mizvekov wrote:
> I'm trying to reduce a crash that only reproduces w/ in module builds. Does
> this sound familiar?
>
> ```
> assertion failed at clang/lib/AST/RecordLayoutBuilder.cpp:3380 in const
> ASTRecordLayout &clang::ASTContext::getASTRecordLayout(const RecordDecl *)
> const: D && "Ca
https://github.com/jhuber6 commented:
Do you know if gcc auto links these and this behavior matches?
https://github.com/llvm/llvm-project/pull/154826
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/yxsamliu edited
https://github.com/llvm/llvm-project/pull/154826
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yxsamliu edited
https://github.com/llvm/llvm-project/pull/154826
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yxsamliu updated
https://github.com/llvm/llvm-project/pull/154826
>From 7e93842c711d077e187a54bdc6ca7565fc1eaff9 Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Thu, 21 Aug 2025 15:12:43 -0400
Subject: [PATCH] [Driver][Gnu] Auto-link libstdc++fs for GCC versions in [5.
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
@llvm/pr-subscribers-clangd
Author: Aleksandr Platonov (ArcsinX)
Changes
Reland #153756
LLVM_INSTANTIATE_REGISTRY(..) and FeatureModuleRegistry::entries() were in
different translation units, that rises a warning when compiling with c
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/154817
>From d2eceb10f6bb33c28f4891b0664e4978b7a76c88 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Thu, 21 Aug 2025 13:14:03 -0500
Subject: [PATCH] [Clang] Fix incorrect return type for
`__builtin_shufflevector`
yxsamliu wrote:
> What about an even older GCC where std::filesystem didn't exist?
The oldest GCC that has -libstdc++fs is 5.3 (https://godbolt.org/z/sroE5zvE7).
I can put another boundary on it there.
https://github.com/llvm/llvm-project/pull/154826
___
1 - 100 of 438 matches
Mail list logo