Author: Timm Baeder
Date: 2025-08-10T19:02:08+02:00
New Revision: 2b4b721faf852a405b25064c0d3b59a2372efe2b
URL:
https://github.com/llvm/llvm-project/commit/2b4b721faf852a405b25064c0d3b59a2372efe2b
DIFF:
https://github.com/llvm/llvm-project/commit/2b4b721faf852a405b25064c0d3b59a2372efe2b.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/152928
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/152910
>From 2acdc563199b93b3a9f6d0a4ae4c8ef4f12d1c25 Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Thu, 7 Aug 2025 20:54:16 +0700
Subject: [PATCH 1/3] [Headers][X86] Allow AVX512 _mm512_set* intrinsics
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Victor Chernyakin (localspook)
Changes
Fixes #152868. See that issue for details.
---
Full diff: https://github.com/llvm/llvm-project/pull/152938.diff
3 Files Affected:
- (modified) clang-tools-extra/clang-tidy/modernize/Use
https://github.com/localspook created
https://github.com/llvm/llvm-project/pull/152938
Fixes #152868. See that issue for details.
>From 728fc710260d529a604bf3692b18c9131061e070 Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Sun, 10 Aug 2025 12:25:26 -0700
Subject: [PATCH] [clang-tidy]
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Victor Chernyakin (localspook)
Changes
Fixes #152868. See that issue for details.
---
Full diff: https://github.com/llvm/llvm-project/pull/152938.diff
3 Files Affected:
- (modified) clang-tools-extra/clang-tidy/modernize/UseConstra
@@ -2320,6 +2330,65 @@ static bool interp__builtin_elementwise_sat(InterpState
&S, CodePtr OpPC,
return true;
}
+static bool interp__builtin_elementwise_fma(InterpState &S, CodePtr OpPC,
+const CallExpr *Call) {
+ assert(Call->ge
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/152910
>From 2acdc563199b93b3a9f6d0a4ae4c8ef4f12d1c25 Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Thu, 7 Aug 2025 20:54:16 +0700
Subject: [PATCH 1/4] [Headers][X86] Allow AVX512 _mm512_set* intrinsics
github-actions[bot] wrote:
⚠️ We detected that you are using a GitHub private e-mail address to contribute
to the repo. Please turn off [Keep my email addresses
private](https://github.com/settings/emails) setting in your account. See
[LLVM Developer
Policy](https://llvm.org/docs/DeveloperPol
Author: Wenju He
Date: 2025-08-11T08:53:49+08:00
New Revision: 12cec437c664e1b671d85f38418c97f222340ce4
URL:
https://github.com/llvm/llvm-project/commit/12cec437c664e1b671d85f38418c97f222340ce4
DIFF:
https://github.com/llvm/llvm-project/commit/12cec437c664e1b671d85f38418c97f222340ce4.diff
LOG:
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/150174
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1220,9 +1220,9 @@ define void @mgather_nxv16i64( %ptrs0,
%ptr
; RV32-LABEL: mgather_nxv16i64:
; RV32: # %bb.0:
; RV32-NEXT:vl8re64.v v24, (a0)
-; RV32-NEXT:csrr a0, vlenb
-; RV32-NEXT:vsetvli a2, zero, e64, m8, ta, mu
+; RV32-NEXT:vsetvli a0, zero, e
@@ -40,12 +40,17 @@ typedef signed char __v16qs
__attribute__((__vector_size__(16)));
#ifdef __SSE2__
/* Both _Float16 and __bf16 require SSE2 being enabled. */
+typedef _Float16 __v4hf __attribute__((__vector_size__(8)));
typedef _Float16 __v8hf __attribute__((__vector_size
Author: Timm Baeder
Date: 2025-08-11T07:11:38+02:00
New Revision: 875841c93d20706842df86964568bd9b44436ff6
URL:
https://github.com/llvm/llvm-project/commit/875841c93d20706842df86964568bd9b44436ff6
DIFF:
https://github.com/llvm/llvm-project/commit/875841c93d20706842df86964568bd9b44436ff6.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/152939
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4268,6 +4268,10 @@ def floop_interchange : Flag<["-"],
"floop-interchange">, Group,
HelpText<"Enable the loop interchange pass">, Visibility<[ClangOption,
CC1Option, FlangOption, FC1Option]>;
def fno_loop_interchange: Flag<["-"], "fno-loop-interchange">, Group,
HelpTe
https://github.com/madhur13490 updated
https://github.com/llvm/llvm-project/pull/142686
>From be9eb6a39906fac945ea206eec80f4cc18bd4896 Mon Sep 17 00:00:00 2001
From: Sebastian Pop
Date: Thu, 22 May 2025 13:50:38 +
Subject: [PATCH 1/5] add -floop-fuse to clang and flang
---
clang/include/c
https://github.com/DeinAlptraum approved this pull request.
Thank you for the PR!
LGTM, just one thing: please also add the new enum to the list of enums in
`test_enums.py`.
@Endilll do you also want to take a look?
https://github.com/llvm/llvm-project/pull/152897
_
https://github.com/madhur13490 updated
https://github.com/llvm/llvm-project/pull/142686
>From be9eb6a39906fac945ea206eec80f4cc18bd4896 Mon Sep 17 00:00:00 2001
From: Sebastian Pop
Date: Thu, 22 May 2025 13:50:38 +
Subject: [PATCH 1/5] add -floop-fuse to clang and flang
---
clang/include/c
https://github.com/efriedma-quic approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/152866
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jimmy-zx updated
https://github.com/llvm/llvm-project/pull/152897
>From 2ede2bff6c22ffdf7297a37da1423f586691a48e Mon Sep 17 00:00:00 2001
From: Jimmy Z
Date: Sun, 10 Aug 2025 07:20:28 +
Subject: [PATCH 1/2] [libclang/python] Expose clang_getCursorLanguage
---
clang/bind
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/152878
>From 5f1ea996c590c07ab2da923ad1be1fbf7b7ccc8b Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 7 Aug 2025 23:18:03 -0700
Subject: [PATCH 1/2] [clang-format] Add functionality of getting info about
numeric lit
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/152944
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lygstate wrote:
@DanShaders do you still have time on this?
https://github.com/llvm/llvm-project/pull/71148
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -78,6 +79,15 @@ matchEnableIfSpecializationImplTypename(TypeLoc TheType) {
if (!TD || TD->getName() != "enable_if")
return std::nullopt;
+const TemplateParameterList *Params = TD->getTemplateParameters();
+if (Params->size() != 2)
+ return std::nullop
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/152938
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-08-10T18:56:15+02:00
New Revision: b08e86cb7f7368531c4c12502dc1bed78f3e19a1
URL:
https://github.com/llvm/llvm-project/commit/b08e86cb7f7368531c4c12502dc1bed78f3e19a1
DIFF:
https://github.com/llvm/llvm-project/commit/b08e86cb7f7368531c4c12502dc1bed78f3e19a1.diff
L
@@ -3068,11 +3111,174 @@ void MallocChecker::checkDeadSymbols(SymbolReaper
&SymReaper,
C.addTransition(state->set(RS), N);
}
+// Use isWithinStdNamespace from CheckerHelpers.h instead of custom
+// implementation
+
+// Allowlist of owning smart pointers we want to recognize
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/152926
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
dsseng wrote:
> I do think it would be good to have a test case for this; this is tricky code
> (and probably also performance-sensitive), and walking through a test case
> helps to think through the resulting behaviour.
>
> You can have a look at [this test
> case](https://searchfox.org/llvm
JonChesterfield wrote:
Do we document what rocm version introduces support for a given code object
number anywhere?
I've run into this because Debian's latest and greatest version is 6.1,
https://packages.debian.org/sid/libhsa-runtime-dev, which does not know what v6
is. Or at least refuses t
https://github.com/halbi2 created
https://github.com/llvm/llvm-project/pull/152950
This continues my patch series started as #142541 where multiple kinds of Expr
all use the same getUnusedResultAttrImpl.
The test suite indicates there is no change in behavior happening here.
@Sirraide could yo
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (halbi2)
Changes
This continues my patch series started as #142541 where multiple kinds
of Expr all use the same getUnusedResultAttrImpl.
The test suite indicates there is no change in behavior happening here. @Sirraide could you help
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/152703
>From be71d635d2de980797be595c4f35f307c703bc96 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 8 Aug 2025 05:59:54 -0700
Subject: [PATCH 1/3] [libclc] Fix libclc install on Windows when MSVC
generator is us
https://github.com/negativ updated
https://github.com/llvm/llvm-project/pull/150952
>From 417b4e465744f9a1d1704c87da4587626c9f5411 Mon Sep 17 00:00:00 2001
From: Andrey Karlov
Date: Mon, 28 Jul 2025 16:23:21 +0300
Subject: [PATCH 1/2] Initial implementation
---
.../bugprone/unchecked-optional
https://github.com/localspook edited
https://github.com/llvm/llvm-project/pull/152938
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/131804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -78,6 +79,15 @@ matchEnableIfSpecializationImplTypename(TypeLoc TheType) {
if (!TD || TD->getName() != "enable_if")
return std::nullopt;
+const TemplateParameterList *Params = TD->getTemplateParameters();
+if (Params->size() != 2)
+ return std::nullop
@@ -33,6 +33,9 @@ If CMake is configured with
``CLANG_TIDY_ENABLE_STATIC_ANALYZER=NO``,
:program:`clang-tidy` will not be built with support for the
``clang-analyzer-*`` checks or the ``mpi-*`` checks.
+If CMake is configured with ``CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS
https://github.com/localspook updated
https://github.com/llvm/llvm-project/pull/152938
>From 728fc710260d529a604bf3692b18c9131061e070 Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Sun, 10 Aug 2025 12:25:26 -0700
Subject: [PATCH 1/2] [clang-tidy] Fix `modernize-use-constraints` crash on
https://github.com/ivanmurashko updated
https://github.com/llvm/llvm-project/pull/152751
>From 7d1c7000c7482f8d1ec1593b77a8f4a9456082ac Mon Sep 17 00:00:00 2001
From: Ivan Murashko
Date: Fri, 8 Aug 2025 10:25:26 +0100
Subject: [PATCH 1/8] [clang-analyzer] Add regression test for PR60896
---
.
@@ -3068,11 +3111,174 @@ void MallocChecker::checkDeadSymbols(SymbolReaper
&SymReaper,
C.addTransition(state->set(RS), N);
}
+// Use isWithinStdNamespace from CheckerHelpers.h instead of custom
+// implementation
+
+// Allowlist of owning smart pointers we want to recognize
@@ -3068,11 +3111,174 @@ void MallocChecker::checkDeadSymbols(SymbolReaper
&SymReaper,
C.addTransition(state->set(RS), N);
}
+// Use isWithinStdNamespace from CheckerHelpers.h instead of custom
+// implementation
+
+// Allowlist of owning smart pointers we want to recognize
brad0 wrote:
cc @yingopq @wzssyqa @MaskRay
https://github.com/llvm/llvm-project/pull/152942
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
madhur13490 wrote:
gg
> Just in case: it's not "just after LoopInterchange", it's "before
> LoopDeletion". If you want to run it just after LoopInterchange, please add
> LoopFuse after adding `LPM` to `OptimizePM`. It might be better adding some
> test to check the position.
>
Yes, realized
@@ -1671,6 +1671,11 @@ void CompilerInvocationBase::GenerateCodeGenArgs(const
CodeGenOptions &Opts,
else
GenerateArg(Consumer, OPT_fno_loop_interchange);
+ if (Opts.FuseLoops)
+GenerateArg(Consumer, OPT_fexperimental_loop_fusion);
+ else
madhur134
https://github.com/localspook updated
https://github.com/llvm/llvm-project/pull/152938
>From 728fc710260d529a604bf3692b18c9131061e070 Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Sun, 10 Aug 2025 12:25:26 -0700
Subject: [PATCH 1/3] [clang-tidy] Fix `modernize-use-constraints` crash on
https://github.com/mdenson created
https://github.com/llvm/llvm-project/pull/152944
Simple fix for this particular html tag. A more complete solution should be
implemented.
1. Add all html tags to table so they are recognized. Some input on what is
desirable/safe would be appreciated
2. Chan
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (mdenson)
Changes
Simple fix for this particular html tag. A more complete solution should be
implemented.
1. Add all html tags to table so they are recognized. Some input on what is
desirable/safe would be appreciated
2. Change th
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
@@ -78,6 +79,15 @@ matchEnableIfSpecializationImplTypename(TypeLoc TheType) {
if (!TD || TD->getName() != "enable_if")
return std::nullopt;
+const TemplateParameterList *Params = TD->getTemplateParameters();
+if (Params->size() != 2)
+ return std::nullop
localspook wrote:
Latest commit fixes `enable_if_t`, it also causes this crash
https://github.com/llvm/llvm-project/pull/152938
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
4vtomat wrote:
Gentle ping~
https://github.com/llvm/llvm-project/pull/145489
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern converted_to_draft
https://github.com/llvm/llvm-project/pull/152923
___
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 is where it belongs, but it was accidentally left where it was.
---
Full diff: https://github.com/llvm/llvm-project/pull/152926.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Interp.cpp (+
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/152926
This is where it belongs, but it was accidentally left where it was.
>From 4e4ebbbef763d310a337402b8394ce807f5805d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 10 Aug 2025 18:14:45
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
The element initializer is known to be an IntegerLiteral, the previous
signature of the lambda just didn't specify that. So we can also do the cast
directly instead of doing it via a Cast op.
---
Full diff:
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/152928
The element initializer is known to be an IntegerLiteral, the previous
signature of the lambda just didn't specify that. So we can also do the cast
directly instead of doing it via a Cast op.
>From 5b49bf6d78
https://github.com/Jade-Marker created
https://github.com/llvm/llvm-project/pull/152942
Fix #152922
Note: I'm unsure if this is necessary on mips64, I've added it for good measure
though
>From 0f460186012b377067d9e6ac58a2446453f5817b Mon Sep 17 00:00:00 2001
From: Jade Marker <57526179+jade-m
llvmbot wrote:
@llvm/pr-subscribers-libunwind
Author: Jade Marker (Jade-Marker)
Changes
Fix #152922
Note: I'm unsure if this is necessary on mips64, I've added it for good measure
though
---
Full diff: https://github.com/llvm/llvm-project/pull/152942.diff
1 Files Affected:
- (modifie
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/mdenson created
https://github.com/llvm/llvm-project/pull/152943
Comment lexer fails to parse non-alphanumeric names. I'm not sure how common
this is, but it appears to be allowed by doxygen. However, I didn't see any
references to exactly what was allowed. I expect breaking
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (mdenson)
Changes
Comment lexer fails to parse non-alphanumeric names. I'm not sure how common
this is, but it appears to be allowed by doxygen. However, I didn't see any
references to exactly what was allowed. I expect breaking on w
https://github.com/mdenson updated
https://github.com/llvm/llvm-project/pull/152943
>From 475d513b79339da73f322f9b7d14122f103998a5 Mon Sep 17 00:00:00 2001
From: Brock Denson
Date: Wed, 6 Aug 2025 21:50:02 -0500
Subject: [PATCH] [clang] fix comment parsing of special commands with
non-alphanum
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
ChunyuLiao wrote:
Indeed, as jrtc27 said, GCC already supports this.
There are cases where the firmware cannot be upgraded on certain hardware, so
it might make sense for us to provide an option to accommodate these systems.
When the hardware does not support fence.tso, fence rw, rw may faste
4vtomat wrote:
Gentle ping~
https://github.com/llvm/llvm-project/pull/150724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
What about integers and integer vectors?
https://github.com/llvm/llvm-project/pull/152919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ivanmurashko updated
https://github.com/llvm/llvm-project/pull/152751
>From 7d1c7000c7482f8d1ec1593b77a8f4a9456082ac Mon Sep 17 00:00:00 2001
From: Ivan Murashko
Date: Fri, 8 Aug 2025 10:25:26 +0100
Subject: [PATCH 1/7] [clang-analyzer] Add regression test for PR60896
---
.
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/152910
>From 2acdc563199b93b3a9f6d0a4ae4c8ef4f12d1c25 Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Thu, 7 Aug 2025 20:54:16 +0700
Subject: [PATCH 1/4] [Headers][X86] Allow AVX512 _mm512_set* intrinsics
https://github.com/ckoparkar updated
https://github.com/llvm/llvm-project/pull/152919
>From 24139055908afd5d5f32c2ec975c5d831fa07174 Mon Sep 17 00:00:00 2001
From: Chaitanya Koparkar
Date: Sat, 9 Aug 2025 07:18:20 -0400
Subject: [PATCH] [clang] Enable constexpr handling for
__builtin_elementwi
@@ -2320,6 +2330,65 @@ static bool interp__builtin_elementwise_sat(InterpState
&S, CodePtr OpPC,
return true;
}
+static bool interp__builtin_elementwise_fma(InterpState &S, CodePtr OpPC,
+const CallExpr *Call) {
+ assert(Call->ge
https://github.com/ivanmurashko updated
https://github.com/llvm/llvm-project/pull/152751
>From 7d1c7000c7482f8d1ec1593b77a8f4a9456082ac Mon Sep 17 00:00:00 2001
From: Ivan Murashko
Date: Fri, 8 Aug 2025 10:25:26 +0100
Subject: [PATCH 1/9] [clang-analyzer] Add regression test for PR60896
---
.
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/152910
>From 2acdc563199b93b3a9f6d0a4ae4c8ef4f12d1c25 Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Thu, 7 Aug 2025 20:54:16 +0700
Subject: [PATCH 1/4] [Headers][X86] Allow AVX512 _mm512_set* intrinsics
@@ -0,0 +1,80 @@
+// RUN: %clang_analyze_cc1 -verify -analyzer-output=text %s \
+// RUN: -analyzer-checker=core \
+// RUN: -analyzer-checker=cplusplus \
+// RUN: -analyzer-checker=unix
+// expected-no-diagnostics
+
+#include "Inputs/system-header-simulator-for-malloc.h"
+
+/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Bhasawut Singhaphan (markbhasawut)
Changes
This PR adds constexpr support for the following AVX512F/BW/FP16 set intrinsics:
- _mm512_set4_pd
- _mm512_set4_ps
- _mm512_set4_epi32
- _mm512_set4_epi64
- _mm512_set_pd
- _mm512_set
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Bhasawut Singhaphan (markbhasawut)
Changes
This PR adds constexpr support for the following AVX512F/BW/FP16 set intrinsics:
- _mm512_set4_pd
- _mm512_set4_ps
- _mm512_set4_epi32
- _mm512_set4_epi64
- _mm512_set_pd
- _mm5
https://github.com/markbhasawut ready_for_review
https://github.com/llvm/llvm-project/pull/152910
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -141,6 +141,16 @@ static void diagnoseNonConstexprBuiltin(InterpState &S,
CodePtr OpPC,
S.CCEDiag(Loc, diag::note_invalid_subexpr_in_const_expr);
}
+// Same implementation as Compiler::getRoundingMode.
+static llvm::RoundingMode getRoundingMode(const InterpState &S, co
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/14920
Here is the relevant piece of the build log f
carlosgalvezp wrote:
I will leave the patch open one more week before landing in case there's more
feedback, thank you!
https://github.com/llvm/llvm-project/pull/151035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi
ckoparkar wrote:
> What about integers and integer vectors?
I believe `__builtin_elementwise_fma` only accepts direct floating point
numbers and vectors of floating point numbers as arguments, so we don't need to
handle integers.
https://github.com/llvm/llvm-project/pull/152919
__
@@ -136,6 +136,11 @@ Changes in existing checks
- Improved :doc:`misc-header-include-cycle
` check performance.
+- Fixed a :doc:`modernize-use-constraints
+ ` crash on uses of
+ nonstandard ``enable_if``s with a signature different from
vbvictor wrote:
``
@@ -78,6 +79,15 @@ matchEnableIfSpecializationImplTypename(TypeLoc TheType) {
if (!TD || TD->getName() != "enable_if")
return std::nullopt;
+const TemplateParameterList *Params = TD->getTemplateParameters();
+if (Params->size() != 2)
+ return std::nullop
@@ -136,6 +136,11 @@ Changes in existing checks
- Improved :doc:`misc-header-include-cycle
` check performance.
+- Fixed a :doc:`modernize-use-constraints
+ ` crash on uses of
+ nonstandard ``enable_if``s with a signature different from
+ ``std::enable_if`` (such as ``boo
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/152938
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/152939
Get the APFloat once and work with that, instead of calling isInf() and
potentially isNegative().
>From a9644453abe231e3b5485957ea26aeb75de9ef3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Da
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Get the APFloat once and work with that, instead of calling isInf() and
potentially isNegative().
---
Full diff: https://github.com/llvm/llvm-project/pull/152939.diff
1 Files Affected:
- (modified) clang/
https://github.com/ivanmurashko edited
https://github.com/llvm/llvm-project/pull/152751
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/dpaoliello closed
https://github.com/llvm/llvm-project/pull/152809
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Daniel Paoliello
Date: 2025-08-10T11:19:12-07:00
New Revision: 59f31d4e8df8cc35c816c05f2c653ca29e9a276e
URL:
https://github.com/llvm/llvm-project/commit/59f31d4e8df8cc35c816c05f2c653ca29e9a276e
DIFF:
https://github.com/llvm/llvm-project/commit/59f31d4e8df8cc35c816c05f2c653ca29e9a276e.di
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/152789
>From b36335f136ea0ce1a29f9962d8a9b5575162a450 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Fri, 8 Aug 2025 15:26:31 -0500
Subject: [PATCH] [Clang] Always pass detected CUDA path to
'clang-nvlink-wrapper'
@@ -33,6 +33,9 @@ If CMake is configured with
``CLANG_TIDY_ENABLE_STATIC_ANALYZER=NO``,
:program:`clang-tidy` will not be built with support for the
``clang-analyzer-*`` checks or the ``mpi-*`` checks.
+If CMake is configured with ``CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS
wenju-he wrote:
> LGTM if you've tested it and it works 👍
Yes, the fix is verified both locally and in our internal CI.
I also fixed alias install in
https://github.com/llvm/llvm-project/pull/152703/commits/b6cbefcbc06e42d7107723cb5b37749f3b1e0931.
@frasercrmck please review this commit again
@@ -371,6 +392,21 @@ void
UnnecessaryCopyInitialization::diagnoseCopyFromLocalVar(
maybeIssueFixes(Ctx, Diagnostic);
}
+void UnnecessaryCopyInitialization::diagnoseCopyFromConstVarMember(
+const CheckContext &Ctx, const VarDecl &OldVar, const MemberExpr &ME) {
+ std::s
https://github.com/localspook edited
https://github.com/llvm/llvm-project/pull/151936
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,141 @@
+//===-- RISCVInstrInfoXSMTVDot.td --*- tablegen
-*-===//
+//
+// 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: Ap
tomtor wrote:
FYI, the code generation regression is no longer in current nigthly, it was
only in 2025-08-07.
The day I was testing this PR :( Bad timing...
```
searched toolchains ec7c02612527d185c379900b613311bc1dcbf7dc through
7d82b83ed57d188ab3f2441a765a6419685a88a3
tinnamchoi wrote:
I prefer keeping my PRs atomic. All of my changes in that PR are necessary
towards the primary goal of that PR, whereas this change wouldn't be. If I
allowed myself to make refactors whenever I'm working on a feature it would
introduce quite a bit of noise, which seems like a
Sirraide wrote:
> I prefer keeping my PRs atomic. All of my changes in that PR are necessary
> towards the primary goal of that PR, whereas this change wouldn't be. If I
> allowed myself to make refactors whenever I'm working on a feature it would
> introduce quite a bit of noise, which seems
1 - 100 of 174 matches
Mail list logo