llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Amr Hesham (AmrDeveloper)
Changes
This change adds support for the OpaqueValueExpr for Complex & Scalar
Issue: https://github.com/llvm/llvm-project/issues/141365
---
Full diff: https://github.com/llvm/llvm-project/pull/157331.diff
5 Fi
https://github.com/camc updated https://github.com/llvm/llvm-project/pull/157300
>From f4380abad3d19c7234cf632afca5413ec1a9c97e Mon Sep 17 00:00:00 2001
From: camc <69519329+c...@users.noreply.github.com>
Date: Sat, 6 Sep 2025 18:44:57 +
Subject: [PATCH 1/4] [clang] Allow attributes in constr
https://github.com/DKLoehr updated
https://github.com/llvm/llvm-project/pull/149886
>From 033278dc9c1962e43258e5a1948aef5155e7ecbd Mon Sep 17 00:00:00 2001
From: Devon Loehr
Date: Mon, 21 Jul 2025 19:07:23 +
Subject: [PATCH 1/3] Make special case matcher slash-agnostic
---
clang/docs/Sani
https://github.com/david-arm updated
https://github.com/llvm/llvm-project/pull/157057
>From 38a652542beb691c14a5d4ad832302ade1f579c4 Mon Sep 17 00:00:00 2001
From: David Sherwood
Date: Fri, 5 Sep 2025 09:10:47 +
Subject: [PATCH] [Support] Move OptimizationLevel to the Support directory
Som
https://github.com/mmha created https://github.com/llvm/llvm-project/pull/157116
This patch adds support for the alloca builtin and extends AllocaOp with a
dynamic size argument.
>From 6080e710fcf5c2b8527a1c6ea1057891e5820bbf Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Fri, 5 Sep 2025 1
https://github.com/SunilKuravinakop updated
https://github.com/llvm/llvm-project/pull/157063
>From dce17e9499e18ff0db4452d3ae316fdfc678fd2f Mon Sep 17 00:00:00 2001
From: Sunil Kuravinakop
Date: Thu, 7 Aug 2025 03:41:16 -0500
Subject: [PATCH 1/7] Parsing and storing of "variable category" in Se
https://github.com/PiotrZSL approved this pull request.
https://github.com/llvm/llvm-project/pull/157049
___
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-driver
Author: Brad Smith (brad0)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/157241.diff
8 Files Affected:
- (modified) clang/include/clang/Driver/ToolChain.h (-6)
- (modified) clang/lib/Driver/ToolChains/CommonArgs.cpp
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Simon Pilgrim (RKSimon)
Changes
Create a EvaluateBinOpExpr helper that each related group of elementwise binop
builtins can use with their own custom callback, to help reduce the amount of
duplication and avoid too much code bloat as more
https://github.com/RKSimon approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/157260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon auto_merge_enabled
https://github.com/llvm/llvm-project/pull/157260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: moorabbit
Date: 2025-09-07T10:29:58Z
New Revision: 49f28f6efb90cfcc45adf4e9ececc4b45254623a
URL:
https://github.com/llvm/llvm-project/commit/49f28f6efb90cfcc45adf4e9ececc4b45254623a
DIFF:
https://github.com/llvm/llvm-project/commit/49f28f6efb90cfcc45adf4e9ececc4b45254623a.diff
LOG: [He
https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/157260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slani
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= S
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= S
llvmbot wrote:
@llvm/pr-subscribers-backend-powerpc
@llvm/pr-subscribers-clang
Author: Maryam Moghadas (maryammo)
Changes
---
Patch is 22.86 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/157152.diff
11 Files Affected:
- (modified) clang/i
@@ -59,7 +59,8 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern,
unsigned LineNumber,
Glob->LineNo = LineNumber;
// We must be sure to use the string in `Glob` rather than the provided
// reference which could be destroyed before match() is called
- if (auto
s-barannikov wrote:
I always thought of ADT and Support libraries as being useful for other
projects, OptLevel seems too llvm-specific to me. Could CodeGen directory be a
better choice?
https://github.com/llvm/llvm-project/pull/157057
___
cfe-commit
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= Slanina ,
=?utf-8?q?Tomáš?= S
https://github.com/camc updated https://github.com/llvm/llvm-project/pull/157174
>From c239432fd160dfb9cd0683c55a4b5ab24804a232 Mon Sep 17 00:00:00 2001
From: camc <69519329+c...@users.noreply.github.com>
Date: Fri, 5 Sep 2025 20:47:06 +
Subject: [PATCH 1/3] [clang] Detect int-to-float narrow
https://github.com/RKSimon updated
https://github.com/llvm/llvm-project/pull/157260
>From 6a3ea1634162fa90e3b2deacb1b0ff7a1a907359 Mon Sep 17 00:00:00 2001
From: moorabbit
Date: Thu, 4 Sep 2025 16:03:54 -0400
Subject: [PATCH 01/30] _mm_cvtepi64_pd
---
clang/lib/Headers/avx512vldqintrin.h
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/157174
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
Thanks. Will you need us to merge that for you?
https://github.com/llvm/llvm-project/pull/157174
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/157300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -489,6 +567,44 @@ void test() {
from_a_template(); // expected-warning {{ignoring return value of
type 'NoDiscard' declared with 'nodiscard' attribute}}
from_a_template(); // no warning
from_a_template(); // expected-warning {{ignoring return
value of type 'WarnUnuse
@@ -2452,6 +2452,44 @@ use the annotated ``[[nodiscard]]`` constructor or
result in an annotated type.
}];
}
+def CanDiscardDocs : Documentation {
+ let Category = DocCatFunction;
+ let Heading = "candiscard";
+ let Content = [{
+A function whose return type is marked w
R-Goc wrote:
How was the naming decided here? Any reason it isn't made similar to
maybe_unused, as in may_discard if we are going this way? Neither of these make
great language sense to me though. Since we are applying it to the return value
I'd say something like discardable would make the mo
camc wrote:
Yep, thanks
https://github.com/llvm/llvm-project/pull/157174
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon updated
https://github.com/llvm/llvm-project/pull/157137
>From 32f6bdf7e206a09515ce6ee7c06a85ecee5fdaa3 Mon Sep 17 00:00:00 2001
From: Simon Pilgrim
Date: Fri, 5 Sep 2025 17:28:21 +0100
Subject: [PATCH] [clang] VectorExprEvaluator::VisitCallExpr - use APSInt
callback
Author: Simon Pilgrim
Date: 2025-09-05T15:06:04+01:00
New Revision: 4b3ad50698b4d6967cf94b745023c70fc1ec8a6c
URL:
https://github.com/llvm/llvm-project/commit/4b3ad50698b4d6967cf94b745023c70fc1ec8a6c
DIFF:
https://github.com/llvm/llvm-project/commit/4b3ad50698b4d6967cf94b745023c70fc1ec8a6c.diff
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slani
vanvoorden wrote:
> I'd like to see this massive change to be backed by an RFC on Discourse.
@Endilll Fair enough… I opened an RFC pitch thread on the forums. Thanks!
https://github.com/llvm/llvm-project/pull/156995
___
cfe-commits mailing list
cfe-co
gitevedev wrote:
Hi!
A quick question - once this goes into main, will it also propagate to the
relevant Swift 6.2 release branch (stable/20240723)?
https://github.com/llvm/llvm-project/pull/142047
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
@@ -2736,12 +2736,14 @@ static bool interp__builtin_ia32_pmul(InterpState &S,
CodePtr OpPC,
return true;
}
-static bool interp__builtin_elementwise_fma(InterpState &S, CodePtr OpPC,
-const CallExpr *Call) {
+static bool interp__bu
https://github.com/s-perron updated
https://github.com/llvm/llvm-project/pull/156075
>From aaecbc5efd38190e8aedd9b3e3c95b2ede791a09 Mon Sep 17 00:00:00 2001
From: Steven Perron
Date: Fri, 29 Aug 2025 13:40:55 -0400
Subject: [PATCH 1/9] [HLSL] Add copy assignment and construtor to resource
type
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/152601
>From e9a96bb893b9a751a108d3f80a877789facb64fb Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Mon, 4 Aug 2025 20:54:46 -0700
Subject: [PATCH] [clang][PAC] Enable the PAC dynamic_cast to final class
optimizatio
joker-eph wrote:
As an alternative: can this be just made a header-only implementation?
Since C++17 we can have `static inline` variables in a class (and `static
constexpr` are by default inline:
https://en.cppreference.com/w/cpp/language/inline.html
https://github.com/llvm/llvm-project/pull
https://github.com/DKLoehr updated
https://github.com/llvm/llvm-project/pull/149886
>From 033278dc9c1962e43258e5a1948aef5155e7ecbd Mon Sep 17 00:00:00 2001
From: Devon Loehr
Date: Mon, 21 Jul 2025 19:07:23 +
Subject: [PATCH 1/3] Make special case matcher slash-agnostic
---
clang/docs/Sani
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slani
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
We already checked that `IsStatic` is true above.
---
Full diff: https://github.com/llvm/llvm-project/pull/157329.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+3-10)
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (shreya-jain)
Changes
Add operator[] accesses of unique_ptr to -Wunsafe-buffer-usage as a
subcategory under -Wunsafe-buffer-usage-unique-ptr-array-access.
---
Full diff: https://github.com/llvm/llvm-project/pull/156773.diff
https://github.com/OCHyams closed
https://github.com/llvm/llvm-project/pull/156005
___
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/157241
>From 4e2f4778df068d94655795b8b604349931d06751 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Sat, 6 Sep 2025 03:43:30 -0400
Subject: [PATCH] [AArch64] Enable out-of-line atomics by default
---
clang/include/cl
https://github.com/mmha approved this pull request.
LGTM. Can you add a couple more test cases?
```c++
struct WithBraceInit {
int i{};
WithBraceInit() = default;
WithBraceInit(int);
};
WithBraceInit:WithBraceInit(int) : WithBraceInit() {}
int main() {
// Destinations are zeroed
stati
https://github.com/vanvoorden edited
https://github.com/llvm/llvm-project/pull/156995
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -167,6 +167,9 @@ void dereference_reinterpret_cast() {
(void)reinterpret_cast(d); // expected-warning {{reinterpret_cast
from 'double' to 'float &' has undefined behavior}}
(void)*reinterpret_cast(&d); // expected-warning {{dereference of
type 'float *' that was reint
@@ -390,18 +396,43 @@ void HeaderIncludesDirectPerFileCallback::EndOfMainFile()
{
std::string Str;
llvm::raw_string_ostream OS(Str);
llvm::json::OStream JOS(OS);
- JOS.array([&] {
-for (auto S = SourceFiles.begin(), SE = SourceFiles.end(); S != SE; ++S) {
- JOS
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Instead of referring to the EvalInfo's flag.
---
Full diff: https://github.com/llvm/llvm-project/pull/157224.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpState.cpp (+3-1)
``d
https://github.com/david-arm edited
https://github.com/llvm/llvm-project/pull/157057
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -6007,7 +6007,7 @@ bool Parser::isConstructorDeclarator(bool IsUnqualified,
bool DeductionGuide,
// A C++11 attribute here signals that we have a constructor, and is an
// attribute on the first constructor parameter.
- if (getLangOpts().CPlusPlus11 &&
+ if (getLangO
alejandro-alvarez-sonarsource wrote:
Thanks! Do you mind merging? I have no rights to do so.
https://github.com/llvm/llvm-project/pull/156507
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
@@ -0,0 +1,100 @@
+
EugeneZelenko wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/157213
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
https://github.com/Prabhuk edited
https://github.com/llvm/llvm-project/pull/157171
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: camc
Date: 2025-09-07T20:59:58+08:00
New Revision: 59d69bfc20f1572936b29181a1cdfa309c4e209a
URL:
https://github.com/llvm/llvm-project/commit/59d69bfc20f1572936b29181a1cdfa309c4e209a
DIFF:
https://github.com/llvm/llvm-project/commit/59d69bfc20f1572936b29181a1cdfa309c4e209a.diff
LOG: [cl
https://github.com/zwuis closed https://github.com/llvm/llvm-project/pull/157174
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@camc 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, yo
benwu25 wrote:
Hi @hstk30-hw, could you merge this change for me? Thanks!
https://github.com/llvm/llvm-project/pull/156962
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/155948
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-09-05T10:29:43+02:00
New Revision: 46f2b35a98ec53dbf5999c92bace40555abe0d9d
URL:
https://github.com/llvm/llvm-project/commit/46f2b35a98ec53dbf5999c92bace40555abe0d9d
DIFF:
https://github.com/llvm/llvm-project/commit/46f2b35a98ec53dbf5999c92bace40555abe0d9d.diff
L
cor3ntin wrote:
> Is an RFC required? CC @cor3ntin
I this so, yes, this is sufficiently weird and novel that it needs an RFC - I
am a bit surprised by the motivation, especially in light of MSVC successfully
deploying expected with `nodiscard` - Is this a solution in search of a problem?
http
https://github.com/bursot edited
https://github.com/llvm/llvm-project/pull/157333
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=,
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=,
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=
Message-ID:
In-Reply-To:
https://github.com/necto commented:
I have approved this fix downstream
https://github.com/llvm/llvm-project/pull/155855
_
@@ -0,0 +1,47 @@
+.. title:: clang-tidy - bugprone-loop-variable-copied-then-modified
+
+bugprone-loop-variable-copied-then-modified
+===
+
+Warns when a loop variable is copied and subsequently modified.
+
+This pattern is considered bugpro
javiermunozkirschberg wrote:
If I understood everything correctly, and please accept my apologies if I did
not (it's my first contribution), I should copy here the maintainers. So thanks
a lot in advance @jansvoboda11 for your review, and my apologies for anything I
could have done wrong :)
h
@@ -70,3 +70,266 @@ DelegatingWithZeroing::DelegatingWithZeroing(int) :
DelegatingWithZeroing() {}
// OGCG: store i32 %[[I_ARG]], ptr %[[I_ADDR]]
// OGCG: %[[THIS:.*]] = load ptr, ptr %[[THIS_ADDR]]
// OGCG: call void @llvm.memset.p0.i64(ptr align 4 %[[THIS]], i8 0, i64
R-Goc wrote:
> I this so, yes, this is sufficiently weird and novel that it needs an RFC - I
> am a bit surprised by the motivation, especially in light of MSVC
> successfully deploying expected with `nodiscard` - Is this a solution in
> search of a problem?
The original issue contains the re
arsenm wrote:
> Perhaps the TargetParser directory is more suitable for them. Not sure what
> they are used for.
It's closer but not quite right. I think there probably should be some kind of
ABI-information for this sort of stuff. TargetParser is more specific to
frontend-backend interaction
@@ -324,6 +324,8 @@ Bug Fixes to Attribute Support
is skipped, such as error recovery and code completion. (#GH153551)
- Using ``[[gnu::cleanup(some_func)]]`` where some_func is annotated with
``[[gnu::error("some error")]]`` now correctly triggers an error. (#GH146520)
+-
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slani
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/157137
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-09-04T14:15:05+02:00
New Revision: 8f376689ecdb76f78053f9186646dc14c82d5628
URL:
https://github.com/llvm/llvm-project/commit/8f376689ecdb76f78053f9186646dc14c82d5628
DIFF:
https://github.com/llvm/llvm-project/commit/8f376689ecdb76f78053f9186646dc14c82d5628.diff
L
https://github.com/camc updated https://github.com/llvm/llvm-project/pull/157174
>From 73696f81166f958e212c5ea314528791c5201565 Mon Sep 17 00:00:00 2001
From: camc <69519329+c...@users.noreply.github.com>
Date: Fri, 5 Sep 2025 20:47:06 +
Subject: [PATCH 1/3] [clang] Detect int-to-float narrow
jplehr wrote:
Given this is in the `preopt` IR, the change would occur in an even earlier
stage, right? I'll see if I can get some IR out of whatever stage that may be.
https://github.com/llvm/llvm-project/pull/155415
___
cfe-commits mailing list
cfe-
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/157055
>From 84fbdfea1fc1f9d7d61ef388df4d34eb2d0552d0 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 5 Sep 2025 10:41:01 +0200
Subject: [PATCH 1/3] [libclc] Implement erf/erfc vector function with loop
since scal
@@ -0,0 +1,47 @@
+.. title:: clang-tidy - bugprone-loop-variable-copied-then-modified
+
+bugprone-loop-variable-copied-then-modified
+===
+
+Warns when a loop variable is copied and subsequently modified.
EugeneZelenko wrote
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ivan R. Ivanov (ivanradanov)
Changes
The existing implementation has three issues which this patch addresses.
1. The last dimension which represents the bytes in the type, has the wrong
stride and count. For example, for a 4 byte int, cou
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/157224
Instead of referring to the EvalInfo's flag.
>From f2cb50e0ef663cc2b414cf08397d3b0d22a2407a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 6 Sep 2025 06:56:37 +0200
Subject: [PATCH] [c
@@ -1,49 +1,65 @@
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.6-compute
-finclude-default-header \
-// RUN: -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s
-
-// This test verifies handling of multi-dimensional local arrays of resources
-// when used as a function a
@@ -7532,6 +7532,25 @@ A managed variable can be accessed in both device and
host code.
}];
}
+def CUDAClusterDimsAttrDoc : Documentation {
+ let Category = DocCatDecl;
+ let Content = [{
+In CUDA/HIP programming, the ``__cluster_dims__`` attribute can be applied to
a ke
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/157328
None
>From 01a982ee754f779ac9ac1086aa9b7248f925ebdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 7 Sep 2025 09:30:09 +0200
Subject: [PATCH] [clang][bytcode][NFC] Use UnsignedOrNone f
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/157329
We already checked that `IsStatic` is true above.
>From 25c6f1fd5f1f4bfc34d233509740d654ef8495dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 7 Sep 2025 09:31:17 +0200
Subject: [PATC
https://github.com/kr-2003 edited
https://github.com/llvm/llvm-project/pull/155140
___
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/157329
>From 68802b7acced1723499157dc351b72c16dd30a47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 7 Sep 2025 09:31:17 +0200
Subject: [PATCH] [clang][bytecode][NFC] Remove some unnecessary i
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/157328.diff
4 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+8-7)
- (modified) clang/lib/AST/ByteCode/EvalEmitter.cpp (+1-1)
https://github.com/Lancern updated
https://github.com/llvm/llvm-project/pull/156253
>From b6cf3df7cddd48206d28aa7ee562fb576a8a9b2f Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Mon, 1 Sep 2025 00:34:29 +0800
Subject: [PATCH] [CIR] Add support for atomic compare-and-swap
This patch adds support
kr-2003 wrote:
> Not sure what's the problem but if that does not fail upstream please remove
> it. What are the other declarations that make OffloadArch ambiguous?
Sorry, it was mistake from my side. I included ``using namespace clang;`` in
the ClangRepl.cpp. So, it was getting confused by th
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/157331
This change adds support for the OpaqueValueExpr for Complex & Scalar
Issue: https://github.com/llvm/llvm-project/issues/141365
>From 8941ba8930c4487c958c8f4746570575bb976931 Mon Sep 17 00:00:00 2001
From
https://github.com/bursot created
https://github.com/llvm/llvm-project/pull/157333
These tests were migrated from `clang/test/CIR-Incubator` to `clang/test/CIR`
without modification.
- Only tests that pass under the current configuration were moved.
- No refactors, no removals, no CMake or lit
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Burhan Söğüt (bursot)
Changes
These tests were migrated from `clang/test/CIR-Incubator` to `clang/test/CIR`
without modification.
- Only tests that pass under the current configuration were moved.
- No refactors, no removals, no CMake or
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/bursot edited
https://github.com/llvm/llvm-project/pull/157333
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vgvassilev closed
https://github.com/llvm/llvm-project/pull/155140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Abhinav Kumar
Date: 2025-09-07T18:35:29+03:00
New Revision: 645dd324d1b7d028745c2a4045b69e745df2ae6a
URL:
https://github.com/llvm/llvm-project/commit/645dd324d1b7d028745c2a4045b69e745df2ae6a
DIFF:
https://github.com/llvm/llvm-project/commit/645dd324d1b7d028745c2a4045b69e745df2ae6a.diff
https://github.com/vgvassilev approved this pull request.
LGTM! Thank you for the patience.
https://github.com/llvm/llvm-project/pull/155140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/157059
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/155948
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nicovank updated
https://github.com/llvm/llvm-project/pull/157243
>From 95171f2b3163e13db197f98cdd977d977219b0a4 Mon Sep 17 00:00:00 2001
From: Nicolas van Kempen
Date: Sat, 6 Sep 2025 10:42:12 -0400
Subject: [PATCH] [clang-tidy] Support find for string-like classes in
reada
Author: Simon Pilgrim
Date: 2025-09-05T20:14:29Z
New Revision: 13d50c24a083a04355b37d45aae6b4ba9fc294af
URL:
https://github.com/llvm/llvm-project/commit/13d50c24a083a04355b37d45aae6b4ba9fc294af
DIFF:
https://github.com/llvm/llvm-project/commit/13d50c24a083a04355b37d45aae6b4ba9fc294af.diff
LOG:
@@ -199,6 +199,7 @@ class Triple {
SUSE,
OpenEmbedded,
Intel,
+WALI,
arjunr2 wrote:
We're really not adding a new OS to the set of triples here since we're reusing
Linux, just the new ABI for Wasm.
It's not too late to modify the rustc, but n
1 - 100 of 313 matches
Mail list logo