https://github.com/Fznamznon edited
https://github.com/llvm/llvm-project/pull/139566
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Fznamznon edited
https://github.com/llvm/llvm-project/pull/139566
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tromey wrote:
> My intent (haven't checked the patch) is that it'd be modeled as a static
> member variable - so there'd be a declaration in the class, but a definition
> DIE outside the class that'd be indexed by gdb OK, I'd have thought? (it'd go
> in .debug_names, and gdb_index, I think - f
@@ -299,6 +310,18 @@ elseif (FLANG_RT_GCC_RESOURCE_DIR)
endif ()
endif ()
+
+
+if (CMAKE_C_BYTE_ORDER STREQUAL "BIG_ENDIAN")
Meinersbur wrote:
I had the same problem as you: CMake does not determine endianness when
cross-compiling. This is leftover from my
https://github.com/kkwli approved this pull request.
https://github.com/llvm/llvm-project/pull/139344
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Fraser Cormack (frasercrmck)
Changes
There are no changes to the generated bytecode.
---
Patch is 43.97 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/139563.diff
60 Files Affected:
https://github.com/frasercrmck created
https://github.com/llvm/llvm-project/pull/139563
There are no changes to the generated bytecode.
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-syste
erichkeane wrote:
I've run it as well this way:
```
/local/home/ekeane/llvm-project/build/bin/clang -cc1 -internal-isystem
/local/home/ekeane/llvm-project/build/lib/clang/21/include -nostdsysteminc
-verify -Wno-unused -I /local/home/ekeane/llvm-project/clang/test/C/C99/Inputs
/local/home/ekea
vbvictor wrote:
Ping
https://github.com/llvm/llvm-project/pull/135383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vbvictor wrote:
Ping
https://github.com/llvm/llvm-project/pull/134375
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions inc,h,cl --
libclc/clc/include/clc/math/clc_half_cos.h
libc
pogo59 wrote:
I like modeling it as an artificial static member, which I *think* is the
"before the patch" version from
https://github.com/llvm/llvm-project/pull/130255#issuecomment-2866460040
The CU-level variable definition has a DW_AT_specification pointing to its
declaration within the cla
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/139563
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sa
https://github.com/Fznamznon created
https://github.com/llvm/llvm-project/pull/139566
While working on vector deleting destructors support (GH19772), I noticed that
MSVC produces different code in scalar deleting destructor body depending on
whether class defined its own operator delete. In MS
Author: erichkeane
Date: 2025-05-12T08:51:15-07:00
New Revision: ccbba2cdb96c3814863a7746b81c744d2a6d65d5
URL:
https://github.com/llvm/llvm-project/commit/ccbba2cdb96c3814863a7746b81c744d2a6d65d5
DIFF:
https://github.com/llvm/llvm-project/commit/ccbba2cdb96c3814863a7746b81c744d2a6d65d5.diff
LO
https://github.com/farzonl approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/137805
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -791,10 +791,26 @@ class Expr : public ValueStmt {
const Expr *PtrExpression, ASTContext &Ctx,
EvalResult &Status) const;
- /// If the current Expr can be evaluated to a pointer to a null-terminated
- /// c
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/139571
We don't create function frames for builtin functions anymore.
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
We don't create function frames for builtin functions anymore.
---
Full diff: https://github.com/llvm/llvm-project/pull/139571.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpFrame.cpp (+1
Author: Johannes Doerfert
Date: 2025-05-12T09:06:03-07:00
New Revision: 53fe3df0f69910f394f80e92eff1f2bbd946055c
URL:
https://github.com/llvm/llvm-project/commit/53fe3df0f69910f394f80e92eff1f2bbd946055c
DIFF:
https://github.com/llvm/llvm-project/commit/53fe3df0f69910f394f80e92eff1f2bbd946055c.d
https://github.com/jdoerfert closed
https://github.com/llvm/llvm-project/pull/139344
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier
Message-ID:
In-Reply-To:
@@ -1920,9 +1920,17 @@ static bool EvaluateComplex(c
@@ -17971,46 +18006,117 @@ static bool EvaluateBuiltinStrLen(const Expr *E,
uint64_t &Result,
S->getCharByteWidth() == 1 &&
// FIXME: Add fast-path for wchar_t too.
Info.Ctx.hasSameUnqualifiedType(CharTy, Info.Ctx.CharTy)) {
- Str = Str.substr(Off)
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/139563
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -304,7 +304,7 @@ getCodeModel(const CodeGenOptions &CodeGenOpts) {
.Case("kernel", llvm::CodeModel::Kernel)
.Case("medium", llvm::CodeModel::Medium)
.Case("large", llvm::CodeModel::Large)
-
https://github.com/VyacheslavLevytskyy approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/137805
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/imkiva updated
https://github.com/llvm/llvm-project/pull/139519
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
@@ -147,6 +147,13 @@ def ntl_load : RISCVBuiltin<"void(...)">;
def ntl_store : RISCVBuiltin<"void(...)">;
} // Features = "zihintntl", Attributes = [CustomTypeChecking]
+//===--===//
+// Zihintpause extension.
@@ -605,6 +605,11 @@ KEYWORD(__private_extern__ , KEYALL)
KEYWORD(__module_private__ , KEYALL)
UNARY_EXPR_OR_TYPE_TRAIT(__builtin_ptrauth_type_discriminator,
PtrAuthTypeDiscriminator, KEYALL)
+UNARY_EXPR_OR_TYPE_TRAIT(__builtin_ptrauth_has_authentication,
P
@@ -147,6 +147,13 @@ def ntl_load : RISCVBuiltin<"void(...)">;
def ntl_store : RISCVBuiltin<"void(...)">;
} // Features = "zihintntl", Attributes = [CustomTypeChecking]
+//===--===//
+// Zihintpause extension.
https://github.com/segoon created
https://github.com/llvm/llvm-project/pull/139525
None
>From 3abbce9f817f6d09f9a5b7549a8122c80821eaf8 Mon Sep 17 00:00:00 2001
From: Vasily Kulikov
Date: Mon, 12 May 2025 13:05:43 +0300
Subject: [PATCH] [clang-tidy] Add check performance-lost-std-move
---
...
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Vasiliy Kulikov (segoon)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/139525.diff
8 Files Affected:
- (modified) clang-tools-extra/clang-tidy/performance/CMakeLists.txt (+1)
- (added) clang-tools-extra/
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Vasiliy Kulikov (segoon)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/139525.diff
8 Files Affected:
- (modified) clang-tools-extra/clang-tidy/performance/CMakeLists.txt (+1)
- (added) clang-tools-extra/clang-t
https://github.com/segoon updated
https://github.com/llvm/llvm-project/pull/139525
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
Author: Fraser Cormack
Date: 2025-05-12T17:32:05+01:00
New Revision: dd89af7f5525f139fed54cc376cfd2fc64c631ae
URL:
https://github.com/llvm/llvm-project/commit/dd89af7f5525f139fed54cc376cfd2fc64c631ae
DIFF:
https://github.com/llvm/llvm-project/commit/dd89af7f5525f139fed54cc376cfd2fc64c631ae.diff
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/139577
If the next token after 'cancel' is a special token, we would trigger an
assertion. We should be consuming any token, same as elsewhere in the function.
Note, we could check for an unknown directive and do
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
If the next token after 'cancel' is a special token, we would trigger an
assertion. We should be consuming any token, same as elsewhere in the function.
Note, we could check for an unknown directive an
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/138592
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,s
@@ -247,8 +248,21 @@ void
CIRGenModule::emitGlobalFunctionDefinition(clang::GlobalDecl gd,
"function definition with a non-identifier for a name");
return;
}
- cir::FuncType funcType =
- cast(convertType(funcDecl->getType()));
+
+ cir::FuncType funcTy
@@ -233,6 +233,19 @@ int f8(int *p) {
// OGCG: %[[P2:.*]] = load ptr, ptr %[[P_PTR]], align 8
// OGCG: %[[STAR_P:.*]] = load i32, ptr %[[P2]], align 4
+
+void f9() {}
andykaylor wrote:
Since you added handling for required arguments, can you add a test th
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/136854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor commented:
This looks good. I just have one nit and a request for additional tests.
https://github.com/llvm/llvm-project/pull/136854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
https://github.com/frasercrmck closed
https://github.com/llvm/llvm-project/pull/139563
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1913,7 +1916,7 @@ def type(self):
return self._type
@property
-def canonical(self):
+def canonical(self) -> Cursor | None:
"""Return the canonical Cursor corresponding to this Cursor.
DeinAlptraum wrote:
Okay, I did find a way
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/138103
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DeinAlptraum updated
https://github.com/llvm/llvm-project/pull/138103
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,s
arsenm wrote:
> spir-v would probably be an OK alternative. It's not great (probably leases
> some performance on the table vs the native build), but the binary will
> presumably work on other machines.
I'd probably go with just error and emit nothing, but I'm sure that will break
someone's b
https://github.com/wangpc-pp edited
https://github.com/llvm/llvm-project/pull/139519
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hokein closed
https://github.com/llvm/llvm-project/pull/139253
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
arsenm wrote:
> It seems that the sample program ran without crashing, but the kernel
> function was never actually executed. You can catch an "invalid device
> function" error if you call `HIP_CHECK(hipGetLastError())` at the start of
> main.
>
Lack of proper error checking in the host APIs
@@ -291,6 +291,13 @@ def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">,
AssemblerPredicate<(all_of FeatureStdExtD),
"'D' (Double-Precision Floating-Point)">;
+def FeatureStdExtQ
+: RISCVExtension<2, 2, "Quad-Precisio
https://github.com/shafik commented:
Can you please describe the issue in the summary instead of just saying it
fixes Also add details such as this is fixing an issue introduced by ...
Also please as Erich asked, add a test too
https://github.com/llvm/llvm-project/pull/139560
___
https://github.com/DeinAlptraum updated
https://github.com/llvm/llvm-project/pull/138103
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,s
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/139664
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zyn0217 wrote:
@mizvekov It's not a big deal to turn them into explicit specializations after
all... I pushed a commit
https://github.com/llvm/llvm-project/pull/139436
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
@@ -291,6 +291,13 @@ def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">,
AssemblerPredicate<(all_of FeatureStdExtD),
"'D' (Double-Precision Floating-Point)">;
+def FeatureStdExtQ
+: RISCVExtension<2, 2, "Quad-Precisio
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/139678
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mikaelholmen wrote:
@AaronBallman @erichkeane
Apparently we used a clang version from July 2023 to compile clang when the
testcase failed.
I made another try with a later build now and then I don't see the failure
anymore so perhaps something has been fixed. Or it just went hiding but then I
Author: Jim Lin
Date: 2025-05-13T14:46:08+08:00
New Revision: 9f274a95b13a7c3fbd95d8f80f915a5548df2629
URL:
https://github.com/llvm/llvm-project/commit/9f274a95b13a7c3fbd95d8f80f915a5548df2629
DIFF:
https://github.com/llvm/llvm-project/commit/9f274a95b13a7c3fbd95d8f80f915a5548df2629.diff
LOG:
401 - 459 of 459 matches
Mail list logo