@@ -115,15 +120,38 @@ class Interpreter {
/// An optional compiler instance for CUDA offloading
std::unique_ptr DeviceCI;
+public:
+ struct JITConfig {
+/// Indicates whether out-of-process JIT execution is enabled.
+bool IsOutOfProcess = false;
+/// Path to t
https://github.com/phoebewang approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/159222
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/woruyu updated
https://github.com/llvm/llvm-project/pull/156003
>From c43b49ef16a5283623aa3404b4fd1cba794a325c Mon Sep 17 00:00:00 2001
From: woruyu <1214539...@qq.com>
Date: Tue, 16 Sep 2025 23:16:52 -0900
Subject: [PATCH] [Headers][X86] VectorExprEvaluator::VisitCallExpr - a
rofirrim wrote:
ping
https://github.com/llvm/llvm-project/pull/155849
___
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: Shawn (kimsh02)
Changes
Fix #157705
Vector concatentation intrinsics made constexpr and test coverage added to
avx-builtins.c for the following:
```
_mm256_set_m128 _mm256_setr_m128
_mm256_set_m128d _mm256_setr_m128d
_mm256_set_m128i _
https://github.com/kovdan01 updated
https://github.com/llvm/llvm-project/pull/113150
>From 63eb66f8f7feb97932f22a1e3ac93a1aca4f913e Mon Sep 17 00:00:00 2001
From: Daniil Kovalev
Date: Mon, 21 Oct 2024 10:58:04 +0300
Subject: [PATCH] [PAC][clang] Add new features to pauthtest ABI
Enable init/fi
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/149827
>From f979958249187a1b89b4b87c46e90d63b6dc4042 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 18 Aug 2025 15:14:40 +0100
Subject: [PATCH 1/2] [clang][DebugInfo] Emit unified (Itanium) mangled name to
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Radovan Božić (bozicrHT)
Changes
Annotate printf/scanf and related builtins with the nonnull attribute on their
format string parameters. This enables diagnostics when NULL is passed,
matching GCC behavior. Updated existing Sema tests and
@@ -392,6 +392,10 @@ class Context {
bool performsCallback(unsigned ID,
llvm::SmallVectorImpl &Encoding) const;
+ /// Return true if this builtin has parameters at fixed positions
+ /// that must be non-null.
+ bool IsNonNull(unsigned ID, llvm::Sma
kovdan01 wrote:
> > * Fix personality pointer authentication on non-Apple targets:
> > [[runtimes][PAC] Harden unwinding when possible #143230
> > (comment)](https://github.com/llvm/llvm-project/pull/143230#discussion_r2318636296)
>
> I'm not sure what's going on in this diff as it does not ap
@@ -107,3 +110,293 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+void cygwin::Linker::Constru
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/151590
>From ad46ad82b5564d5aa7236d9a0bf1f66fdf476a72 Mon Sep 17 00:00:00 2001
From: Andy MacGregor
Date: Wed, 10 Sep 2025 09:50:18 -0400
Subject: [PATCH 1/2] [clang-format] Add an option to format numeric literal
case
@@ -27,13 +27,23 @@
namespace clang {
class ConceptDecl;
+class ConceptReference;
class Expr;
class NamedDecl;
struct PrintingPolicy;
+/// Pairs of unsatisfied atomic constraint expressions along with the
+/// substituted constraint expr, if the template arguments could b
https://github.com/t-rasmud approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/155046
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8508,10 +8525,17 @@ void Sema::CheckShadow(NamedDecl *D, NamedDecl
*ShadowedDecl,
return;
}
}
- if (const auto *VD = dyn_cast(ShadowedDecl);
- VD && VD->hasLocalStorage()) {
-// A variable can't shadow a local variable in an en
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/159512
___
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-static-analyzer-1
Author: Balazs Benics (steakhal)
Changes
This API was never used in the clang code base.
There might be downstream users, but I highly doubt that. I think the best is
to get rid of this unused API.
---
Full diff: https://github.
https://github.com/RKSimon created
https://github.com/llvm/llvm-project/pull/157696
Handle missing AVX512F epi64 and AVX512BW epi16 cases with existing code paths
Fixes #154287
>From f1e59ef0d2f1cf8ef454df64f98a10658edf48b2 Mon Sep 17 00:00:00 2001
From: Simon Pilgrim
Date: Tue, 9 Sep 2025 16
https://github.com/localspook closed
https://github.com/llvm/llvm-project/pull/158166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Victor Chernyakin
Date: 2025-09-18T00:31:28-06:00
New Revision: 5e1b416472cdf38af49e895079fb0ab282e861c4
URL:
https://github.com/llvm/llvm-project/commit/5e1b416472cdf38af49e895079fb0ab282e861c4
DIFF:
https://github.com/llvm/llvm-project/commit/5e1b416472cdf38af49e895079fb0ab282e861c4.d
cor3ntin wrote:
This seems large enough that it might warrant an RFC with a more detailed
motivation
https://clang.llvm.org/get_involved.html#:~:text=The%20Clang%20community%20uses,will%20proceed%20or%20not.
@erichkeane @rnk
https://github.com/llvm/llvm-project/pull/152372
_
https://github.com/kimsh02 updated
https://github.com/llvm/llvm-project/pull/158703
>From e49dc71e548a561db03368317373c6b3f23ec47e Mon Sep 17 00:00:00 2001
From: kimsh02
Date: Mon, 15 Sep 2025 10:58:34 -0700
Subject: [PATCH 1/8] [Clang] VectorExprEvaluator::VisitCallExpr /
InterpretBuiltin - a
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/159504
___
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
If it's truly a known const int, it won't emit any diagnostics anyway. And if
it did, we wouldn't notice because no call site passed something non-null.
---
Full diff: https://github.com/llvm/llvm-project/pu
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/159512
If it's truly a known const int, it won't emit any diagnostics anyway. And if
it did, we wouldn't notice because no call site passed something non-null.
>From a4225f17a52c50239cf6ca82214adf546325708d Mon Sep 1
https://github.com/hubert-reinterpretcast commented:
There is a separate regression in this PR. Consider:
```cpp
import <=>;
```
With this PR, we get:
```
$ clang++ importHeaderToken.cc -std=c++26 -fsyntax-only
importHeaderToken.cc:1:1: error: the import directive is ill-formed, import
keyword
https://github.com/ukalappa-mips updated
https://github.com/llvm/llvm-project/pull/159246
>From 6e82f232ece789939c4886754345a9eb3469cac6 Mon Sep 17 00:00:00 2001
From: Umesh Kalappa
Date: Wed, 17 Sep 2025 05:48:57 +
Subject: [PATCH 1/3] RISCV: the builtins support for MIPS RV64 P8700 execut
@@ -2106,6 +2106,29 @@ Operation *TargetOp::getInnermostCapturedOmpOp() {
});
}
+/// Check if we can promote SPMD kernel to No-Loop kernel.
+static bool canPromoteToNoLoop(Operation *capturedOp, TeamsOp teamsOp,
+ WsloopOp *wsLoopOp) {
+ //
amitamd7 wrote:
Yes indeed the `if (!OASE)` check is `FALSE` only once (when it is an single
dimension array-section expression) and we would ideally want to get the
`ElementType` to be deduced in that traversal itself for `OASE` case. I checked
few cases where it hits off CAT, VAT while the o
=?utf-8?q?Donát?= Nagy
Message-ID:
In-Reply-To:
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 origin/main HEAD --extensions cpp,c
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
vbvictor wrote:
> There are checks that don't require any specific standard, there it would
> make sense to keep whatever the default is.
But this could also backfire for users that use "old" c++11. Imagine if the
default standard is increased in `check_clang_tidy.py`, then the people who
dev
@@ -0,0 +1,47 @@
+.. title:: clang-tidy - performance-lost-std-move
+
+performance-lost-std-move
+=
+
+Warns if copy constructor is used instead of ``std::move()`` and suggests a
fix.
+It honours cycles, lambdas, and unspecified call order in compound expr
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/157470
>From 3696002c3ad21de3312dec9f0fe730010519ee9d Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 8 Sep 2025 09:17:33 -0500
Subject: [PATCH 1/2] [docs][OpenMP] Update the status of GROUPPRIVATE in fl
Author: Ivan Murashko
Date: 2025-09-15T10:55:59+01:00
New Revision: d8c2607fb1f4094db18e7716764738f9bc8489df
URL:
https://github.com/llvm/llvm-project/commit/d8c2607fb1f4094db18e7716764738f9bc8489df
DIFF:
https://github.com/llvm/llvm-project/commit/d8c2607fb1f4094db18e7716764738f9bc8489df.diff
carlosgalvezp wrote:
> I'm not so sure if we need to remove this option later given by default it
> will be set to `true`.
Keeping it available means it's possible to tweak it such that auto and
non-auto variables are handled differently, but that's probably unwanted. We
should make the API h
https://github.com/kikairoya edited
https://github.com/llvm/llvm-project/pull/158385
___
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: Krzysztof Parzyszek (kparzysz)
Changes
Things like C23 or Fortran 2023 had "unclaimed" entries in the column for the
language that they don't apply to. Leave these fields blank instead.
---
Full diff: https://github.com/llvm/llvm-project/
https://github.com/chaitanyav updated
https://github.com/llvm/llvm-project/pull/159277
>From 548e5bdd46833857e9ace5b778e2e41ea329a0a2 Mon Sep 17 00:00:00 2001
From: NagaChaitanya Vellanki
Date: Wed, 17 Sep 2025 00:04:24 -0700
Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and
https://github.com/Sirraide commented:
Yeah, I agree that it doesn’t seem helpful to try and determine how many
arguments we actually want if there’s a problem w/ the format string.
https://github.com/llvm/llvm-project/pull/158514
___
cfe-commits mail
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/159314
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/w2yehia updated
https://github.com/llvm/llvm-project/pull/153049
>From 81a9c979385b5d368fcdcf36332ad506d97e1365 Mon Sep 17 00:00:00 2001
From: Wael Yehia
Date: Wed, 3 Sep 2025 19:22:15 +
Subject: [PATCH 1/6] [IR] enable attaching metadata on ifuncs
In PR #153049, we have
Author: Chuanqi Xu
Date: 2025-09-18T13:44:21+08:00
New Revision: ac2b51e6ce157b430b3823ebc90def9f1d49d36e
URL:
https://github.com/llvm/llvm-project/commit/ac2b51e6ce157b430b3823ebc90def9f1d49d36e
DIFF:
https://github.com/llvm/llvm-project/commit/ac2b51e6ce157b430b3823ebc90def9f1d49d36e.diff
LO
@@ -20594,6 +20645,8 @@ SDValue RISCVTargetLowering::PerformDAGCombine(SDNode
*N,
if (SDValue V = combineVqdotAccum(N, DAG, Subtarget))
return V;
return combineToVWMACC(N, DAG, Subtarget);
+ case RISCVISD::VWADDU_VL:
topperc wrote:
ok
https://
https://github.com/kimsh02 updated
https://github.com/llvm/llvm-project/pull/158703
>From e49dc71e548a561db03368317373c6b3f23ec47e Mon Sep 17 00:00:00 2001
From: kimsh02
Date: Mon, 15 Sep 2025 10:58:34 -0700
Subject: [PATCH 1/7] [Clang] VectorExprEvaluator::VisitCallExpr /
InterpretBuiltin - a
@@ -157,15 +163,34 @@ template class MultiOnDiskHashTable {
// FIXME: Don't rely on the OnDiskHashTable format here.
auto L = InfoObj.ReadKeyDataLength(LocalPtr);
const internal_key_type &Key = InfoObj.ReadKey(LocalPtr, L.first);
-data_type_build
Author: Nathan Gauër
Date: 2025-09-09T13:31:26Z
New Revision: 57e1846c96f0c858f687fe9c66f4e3793b52f497
URL:
https://github.com/llvm/llvm-project/commit/57e1846c96f0c858f687fe9c66f4e3793b52f497
DIFF:
https://github.com/llvm/llvm-project/commit/57e1846c96f0c858f687fe9c66f4e3793b52f497.diff
LOG:
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/157480
Tldr;
We can't unconditionally trivially copy empty classes because that would
clobber the stored entries in the object that the optimized empty class
overlaps with.
This regression was introduced by #115918,
https://github.com/RKSimon edited
https://github.com/llvm/llvm-project/pull/157403
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/EugeneZelenko approved this pull request.
https://github.com/llvm/llvm-project/pull/158151
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bursot updated
https://github.com/llvm/llvm-project/pull/157333
From b51c2c06909a402632fe75709997716cea990fc0 Mon Sep 17 00:00:00 2001
From: Burhan
Date: Sun, 7 Sep 2025 11:52:47 +0300
Subject: [PATCH 01/10] [CIR] Upstream a batch of passing tests from
CIR-Incubator
---
cl
https://github.com/kikairoya edited
https://github.com/llvm/llvm-project/pull/156440
___
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/158016
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvHQ=?= ,
Burhan =?utf-8?b?U8O2xJ/DvH
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/142686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -157,15 +163,34 @@ template class MultiOnDiskHashTable {
// FIXME: Don't rely on the OnDiskHashTable format here.
auto L = InfoObj.ReadKeyDataLength(LocalPtr);
const internal_key_type &Key = InfoObj.ReadKey(LocalPtr, L.first);
-data_type_build
https://github.com/ChuanqiXu9 approved this pull request.
Now it looks much better.
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: Nathan Ridge
Date: 2025-09-17T20:51:52-04:00
New Revision: 43ec53b8493752669dc24a6e2b6c66c4449a9e76
URL:
https://github.com/llvm/llvm-project/commit/43ec53b8493752669dc24a6e2b6c66c4449a9e76
DIFF:
https://github.com/llvm/llvm-project/commit/43ec53b8493752669dc24a6e2b6c66c4449a9e76.diff
https://github.com/Prabhuk updated
https://github.com/llvm/llvm-project/pull/155706
>From eb26a3bdf9bfba33531d9c48f6080946b148f03a Mon Sep 17 00:00:00 2001
From: prabhukr
Date: Wed, 27 Aug 2025 22:11:28 +
Subject: [PATCH 01/12] [llvm][AsmPrinter] Add direct calls to callgraph
section
Exte
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Use proper doc comments here instead of regular comments.
---
Full diff: https://github.com/llvm/llvm-project/pull/159504.diff
1 Files Affected:
- (modified) clang/include/clang/AST/Expr.h (+4-4)
``
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/159504
Use proper doc comments here instead of regular comments.
>From 0d1679e0857cd4f1da08878a1407c12cf74fcce6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 18 Sep 2025 06:57:51 +0200
Subje
https://github.com/Xazax-hun approved this pull request.
https://github.com/llvm/llvm-project/pull/159164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1972,6 +1972,10 @@ ExprResult Sema::ActOnLambdaExpr(SourceLocation
StartLoc, Stmt *Body) {
if (LSI.CallOperator->hasAttr())
SYCL().CheckSYCLEntryPointFunctionDecl(LSI.CallOperator);
+ // TODO: Find out if passing LSI.CallOperator->getDescribedFunctionTemplate()
+
@@ -20594,6 +20645,8 @@ SDValue RISCVTargetLowering::PerformDAGCombine(SDNode
*N,
if (SDValue V = combineVqdotAccum(N, DAG, Subtarget))
return V;
return combineToVWMACC(N, DAG, Subtarget);
+ case RISCVISD::VWADDU_VL:
wangpc-pp wrote:
I don't kn
https://github.com/ivanmurashko edited
https://github.com/llvm/llvm-project/pull/157667
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -983,6 +983,7 @@ class LLVM_LIBRARY_VISIBILITY CygwinX86_64TargetInfo :
public X86_64TargetInfo {
: X86_64TargetInfo(Triple, Opts) {
this->WCharType = TargetInfo::UnsignedShort;
this->WIntType = TargetInfo::UnsignedInt;
+this->UseMicrosoftManglingForC = tr
@@ -3976,6 +3976,9 @@ def warn_sme_streaming_pass_return_vl_to_non_streaming :
Warning<
"%select{returning|passing}0 a VL-dependent argument %select{from|to}0 a
function with a different"
" streaming-mode is undefined behaviour when the streaming and non-streaming
vector
@@ -0,0 +1,27 @@
+//==- BuiltinsRISCVXMIPS.td - RISC-V MIPS Builtin database*- 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: Ap
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/159404
>From dbabd925f7cd1a1c1bb32ebcc72a4353ffc8c07b Mon Sep 17 00:00:00 2001
From: kr-2003
Date: Wed, 17 Sep 2025 22:41:47 +0530
Subject: [PATCH] Fix: out-of-process tests only on unix
---
clang/unittests/Interp
@@ -2903,6 +2903,55 @@ static bool interp__builtin_elementwise_triop(
return true;
}
+static bool interp__builtin_pternlog(InterpState &S, CodePtr OpPC,
+ const CallExpr *Call, bool MaskZ) {
+ assert(Call->getNumArgs() == 5);
+
+ const V
https://github.com/anutosh491 approved this pull request.
Hey @OCHyams
Thanks for the review. Yes we don't expect this to work on Windows !
https://github.com/llvm/llvm-project/pull/159404
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
https://github.com/ukalappa-mips updated
https://github.com/llvm/llvm-project/pull/159246
>From 6e82f232ece789939c4886754345a9eb3469cac6 Mon Sep 17 00:00:00 2001
From: Umesh Kalappa
Date: Wed, 17 Sep 2025 05:48:57 +
Subject: [PATCH 1/3] RISCV: the builtins support for MIPS RV64 P8700 execut
https://github.com/topperc updated
https://github.com/llvm/llvm-project/pull/159465
>From 5450ee627726fe89312a9223ea27ff5251c86caf Mon Sep 17 00:00:00 2001
From: Craig Topper
Date: Wed, 17 Sep 2025 15:01:47 -0700
Subject: [PATCH 1/2] [RISCV] Add MVendorID, MArchID, and MImpID for
sifive-p550.
https://github.com/hubert-reinterpretcast commented:
Another case (maybe a separate regression)?
```
typedef int import;
extern
import and x;
```
With the patch:
```
$ clang++ importAltToken.cc -std=c++26 -fsyntax-only
importAltToken.cc:3:1: error: expected unqualified-id
3 | import and x;
@@ -0,0 +1,20 @@
+//===- IntrinsicsRISCVXMIPS.td - Defines MIPS intrinsics ---*- tablegen
-*-===//
ukalappa-mips wrote:
Thank you @topperc for the suggestions.
https://github.com/llvm/llvm-project/pull/159246
___
@@ -0,0 +1,35 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
UTC_ARGS: --tool /home/ukalappa/llvm/github/build/bin/llc --version 6
+; RUN: llc -mtriple=riscv64 -mcpu=mips-p8700 -O3 -verify-machineinstrs < %s \
+; RUN: | FileCheck -check-prefi
@@ -178,3 +178,41 @@ auto b() {
}
} // namespace test6
#endif
+
+#if __cplusplus >= 201402L
+// ensure lambda in non-dependent context generate same diagnostics as
function[ template]
+namespace lambda_in_non_dependent_context {
+void f1() {
+ 0, 0; // expected-warning {{left
yronglin wrote:
> I have doubts that this implements the wording of the papers.
>
> Consider:
>
> ```c++
> typedef int import;
> #define EMP
> EMP import m;
> ```
>
> There is no introduction of an _import-keyword_ in the above. The utterance
> of `import` remains an identifier after phase 4.
https://github.com/woruyu updated
https://github.com/llvm/llvm-project/pull/156003
>From 61f8bfd509889a0154b838ad357adb2563b620ea Mon Sep 17 00:00:00 2001
From: woruyu <1214539...@qq.com>
Date: Tue, 16 Sep 2025 23:30:47 -0900
Subject: [PATCH 1/2] [Headers][X86] VectorExprEvaluator::VisitCallExpr
https://github.com/hubert-reinterpretcast edited
https://github.com/llvm/llvm-project/pull/107168
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1305,11 +1306,14 @@ let Features = "avx512f", Attributes = [NoThrow, Const,
RequiredVectorWidth<512>
let Features = "avx512bw", Attributes = [NoThrow, Const,
RequiredVectorWidth<512>] in {
def ucmpw512_mask : X86Builtin<"unsigned int(_Vector<32, short>, _Vector<32,
sh
https://github.com/w2yehia updated
https://github.com/llvm/llvm-project/pull/153049
>From 81a9c979385b5d368fcdcf36332ad506d97e1365 Mon Sep 17 00:00:00 2001
From: Wael Yehia
Date: Wed, 3 Sep 2025 19:22:15 +
Subject: [PATCH 1/8] [IR] enable attaching metadata on ifuncs
In PR #153049, we have
@@ -572,3 +571,19 @@ namespace VectorCast {
#endif
}
#endif
+
+namespace ToPrimPtrs {
+ struct S { int foo () { return 0; } };
+ auto ptr = __builtin_bit_cast(int *, ((__INTPTR_TYPE__) 0));
+ auto nptr = __builtin_bit_cast(nullptr_t, ((__INTPTR_TYPE__)0));
+
+ constexpr au
@@ -2604,6 +2604,68 @@ static bool interp__builtin_elementwise_int_binop(
return true;
}
+static bool interp__builtin_x86_pack(
+InterpState &S, CodePtr, const CallExpr *E, unsigned SrcBits, bool IsUnsat,
+llvm::function_ref
+narrowElement) {
https://github.com/hubert-reinterpretcast commented:
I am skeptical that this implements the wording of the papers.
Consider:
```cpp
typedef int import;
#define EMP
EMP import m;
```
There is no introduction of an _import-keyword_ in the above. The utterance of
`import` remains an identifier i
@@ -2604,6 +2604,68 @@ static bool interp__builtin_elementwise_int_binop(
return true;
}
+static bool interp__builtin_x86_pack(
+InterpState &S, CodePtr, const CallExpr *E, unsigned SrcBits, bool IsUnsat,
+llvm::function_ref
+narrowElement) {
https://github.com/hubert-reinterpretcast edited
https://github.com/llvm/llvm-project/pull/107168
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2604,6 +2604,68 @@ static bool interp__builtin_elementwise_int_binop(
return true;
}
+static bool interp__builtin_x86_pack(
+InterpState &S, CodePtr, const CallExpr *E, unsigned SrcBits, bool IsUnsat,
+llvm::function_ref
+narrowElement) {
+ const auto *V
https://github.com/hubert-reinterpretcast edited
https://github.com/llvm/llvm-project/pull/107168
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/topperc approved this pull request.
LGTM with the version number issue fixed.
https://github.com/llvm/llvm-project/pull/157014
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
https://github.com/s-watanabe314 approved this pull request.
Looks good to me. However, `llvm_unreachable` seems to have already been merged
in #159330. Removing the `break` is fine.
https://github.com/llvm/llvm-project/pull/159408
___
cfe-commits mai
https://github.com/donneypr updated
https://github.com/llvm/llvm-project/pull/157582
>From f0f99274e8b5d48ac12fafbc70b99cbf3b4fdf99 Mon Sep 17 00:00:00 2001
From: donneypr
Date: Mon, 8 Sep 2025 19:54:43 -0400
Subject: [PATCH 1/8] [clang][x86][headers] Make SSE2 add/sub intrinsics
constexpr
--
@@ -512,6 +536,55 @@ BuiltinTypeMethodBuilder
&BuiltinTypeMethodBuilder::dereference(T Ptr) {
return *this;
}
+template
+BuiltinTypeMethodBuilder &
+BuiltinTypeMethodBuilder::accessHandleFieldOnResource(T ResourceRecord) {
+ ensureCompleteDecl();
+
+ Expr *ResourceExpr =
https://github.com/Keenuts updated
https://github.com/llvm/llvm-project/pull/158047
From e42d05ca3c20817d9869f3e4cc3b98087b285175 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nathan=20Gau=C3=ABr?=
Date: Thu, 11 Sep 2025 13:46:04 +0200
Subject: [PATCH 1/2] [NFC][clang] replace a C-array with std::ar
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 origin/main HEAD --extensions h --
clang/lib/Headers/avx2intrin.h clang/lib/Headers/a
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
Clang supports boolean vectors as an extension to the vector model.
These are commonly used to represent mask vectors in many vector ISAs.
Currently, using these is quite difficult because all of the
@@ -0,0 +1,79 @@
+// RUN: %check_clang_tidy -std=c++17-or-later %s
bugprone-loop-variable-copied-then-modified %t
+
+template
+struct Iterator {
+ void operator++() {}
+ const T& operator*() {
+static T* TT = new T();
+return *TT;
+ }
+ bool operator!=(const Iterator
https://github.com/bursot updated
https://github.com/llvm/llvm-project/pull/157333
From f23886d3c3d791a2378fd7eb303d97b8b3f571ba Mon Sep 17 00:00:00 2001
From: Burhan
Date: Sun, 7 Sep 2025 11:52:47 +0300
Subject: [PATCH] [CIR] Upstream a batch of passing tests from CIR-Incubator
---
clang/tes
@@ -178,3 +178,41 @@ auto b() {
}
} // namespace test6
#endif
+
+#if __cplusplus >= 201402L
+// ensure lambda in non-dependent context generate same diagnostics as
function[ template]
+namespace lambda_in_non_dependent_context {
+void f1() {
+ 0, 0; // expected-warning {{left
usx95 wrote:
I think we have a very different model of understanding when a loan is created
so it is hard to match these. Is there any piece specifically you have in mind.
I could imagine lot of implicit annotation and annotation presence check can be
shared (`shouldTrackImplicitObjectArg`, `
1 - 100 of 678 matches
Mail list logo