Author: Timm Baeder
Date: 2025-03-26T12:29:31+01:00
New Revision: cb7b10c66ef8a62f22a77a1480bba382863fcc90
URL:
https://github.com/llvm/llvm-project/commit/cb7b10c66ef8a62f22a77a1480bba382863fcc90
DIFF:
https://github.com/llvm/llvm-project/commit/cb7b10c66ef8a62f22a77a1480bba382863fcc90.diff
L
flovent wrote:
@isuckatcs Thank you for approvel! Is this PR also need to be reviewed by other
people? If not can you help me merge it? since I don't have write access.
https://github.com/llvm/llvm-project/pull/132579
___
cfe-commits mailing list
cfe-
@@ -1572,13 +1571,12 @@ TryCastResult TryLValueToRValueCast(Sema &Self, Expr
*SrcExpr,
if (RefConv & Sema::ReferenceConversions::DerivedToBase) {
Kind = CK_DerivedToBase;
-CXXBasePaths Paths(/*FindAmbiguities=*/true, /*RecordPaths=*/true,
- /*D
https://github.com/frasercrmck commented:
Sorry, I didn't realise I hadn't published this review from last week!
https://github.com/llvm/llvm-project/pull/130755
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/132232
>From 5008e3cff11bb019e22148926f0088fbb8fc530f Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Thu, 20 Mar 2025 11:00:05 -0400
Subject: [PATCH 1/7] [Docs] Document freestanding requirements
This adds so
https://github.com/llvm-beanz approved this pull request.
https://github.com/llvm/llvm-project/pull/132979
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1073,6 +1073,28 @@ inputs. Here is some example of ``$``-prefixed options:
Language and Target-Independent Features
+Freestanding Builds
+---
+Passing the ``-ffreestanding`` flag causes Clang to build for a freestand
@@ -23,3 +22,66 @@ void test(A &a, B &b) {
const A &&ar10 = static_cast(xvalue());
const A &&ar11 = static_cast(xvalue());
}
+
+struct C : private A { // expected-note 4 {{declared private here}}
offsetof wrote:
Added a namespace.
https://github.com/llvm/
https://github.com/koplas created
https://github.com/llvm/llvm-project/pull/133077
When getting the `ExplicitSpecifier` of the `CXXConstructorDecl`, one of the
canonical declaration is returned. When writing the declaration record with
`ExplicitSpecifier`, the `AllocKind` of the canonical decl
https://github.com/easyonaadit created
https://github.com/llvm/llvm-project/pull/133080
None
>From 16f156dbd83fe0b272f9d485584b1fb9d9a04015 Mon Sep 17 00:00:00 2001
From: easyonaadit
Date: Fri, 21 Mar 2025 11:37:31 +0530
Subject: [PATCH 1/2] temp commit have annotated the code with some parts
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 23882f09e40a33de95963dbe345450615489b55b
98e6c674244099fd15e13026081caac9102f7c3d --e
https://github.com/koplas updated
https://github.com/llvm/llvm-project/pull/133077
>From d2da89cb6d2438b31ad25a05ec87d5f039e79064 Mon Sep 17 00:00:00 2001
From: koplas
Date: Wed, 26 Mar 2025 13:49:44 +0100
Subject: [PATCH] [PATCH] [clang][frontend] Fix AllocKind retrieving for
`CXXConstructorD
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 c9055e9780683735392ac0e74163020015eabf15
2fde3d1079bed13375456975e7ac8167103e9f9f --e
@@ -19,6 +19,7 @@
// CHECK-NEXT: FEAT_ETE
Enable Embedded Trace Extension
// CHECK-NEXT: FEAT_FCMA
Enable Armv8.3-A Floating-point complex number support
// CHECK-NEXT: FEAT
=?utf-8?q?Don=C3=A1t?= Nagy ,
=?utf-8?q?Don=C3=A1t?= Nagy
Message-ID:
In-Reply-To:
https://github.com/steakhal approved this pull request.
https://github.com/llvm/llvm-project/pull/132765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
https://github.com/steakhal closed
https://github.com/llvm/llvm-project/pull/132427
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@kr-2003 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,
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/133100
>From b4aafe8bdb2754597d440e256c33b9f8b9a92a91 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Wed, 26 Mar 2025 05:52:17 -0700
Subject: [PATCH] [CIR] Upstream zero init for global variables
---
.../CIR/
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/133033
>From d03c3420218eed7c2db3a5c17abb6a0b3efbba87 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Tue, 25 Mar 2025 21:45:00 -0700
Subject: [PATCH 1/2] [clang-format] Allow `Language: Cpp` for C files
Fix #132832
---
nico wrote:
Looks like @ahmedbougacha might be out. @francisvm, could you take a look?
https://github.com/llvm/llvm-project/pull/132834
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -32,6 +32,26 @@ enum E2 : S::I { e };
#endif
} // namespace cwg2516
+namespace cwg2517 { // cwg2517: 21
+#if __cplusplus >= 202302L
zwuis wrote:
The resolution of defect reports is applied to all C++ standard verions where
the issue exists unless specifie
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/133113
This fixes a regression when interpreting a nested name specifier for deduction
purposes in member pointers.
This introduces a helper for fully translating a nested name specifier into a
type.
Other existing
mizvekov wrote:
@alexfh @rupprecht thanks, that was indeed a separate regression, and this will
be fixed here: https://github.com/llvm/llvm-project/pull/133113
https://github.com/llvm/llvm-project/pull/132317
___
cfe-commits mailing list
cfe-commits@l
mizvekov wrote:
Thanks, this will be fixed here:
https://github.com/llvm/llvm-project/pull/133113
https://github.com/llvm/llvm-project/pull/132401
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
@@ -5834,9 +5834,13 @@ bool ASTReader::readASTFileControlBlock(
break;
case INPUT_FILE:
bool Overridden = static_cast(Record[3]);
+ size_t FilenameLen = ModuleDir.size() + Record[7] + 1;
auto Filename = ResolveImportedPath(PathBuf
https://github.com/s-perron edited
https://github.com/llvm/llvm-project/pull/132288
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mmha created https://github.com/llvm/llvm-project/pull/133118
This was part of #132420 originally but split off to reduce the diff size.
This patch adds support for overflowing binary operators and all the plumbing
required for pointer arithmetic except for the actual Ops (`P
@@ -359,11 +359,11 @@ Module *HeaderSearch::lookupModule(StringRef ModuleName,
StringRef SearchName,
// checked
DirectoryEntryRef NormalDir = *Dir.getDirRef();
// Search for a module map file in this directory.
-if (loadModuleMapFile(NormalDir, IsSystem,
-
mrkajetanp wrote:
> This patch might partially address the issue raised in
> https://github.com/llvm/llvm-project/issues/73180
Certainly, I tracked a regression in a workload down to flang not running the
slp vectorizer. Hence this patch.
https://github.com/llvm/llvm-project/pull/132801
_
@@ -229,6 +229,12 @@ class CodeGenTypes {
const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
const CallArgList &args);
+ /// A SYCL device kernel function is a free standing function with
+ /// spir_kern
@@ -3303,6 +3303,27 @@ void CodeGenModule::EmitDeferred() {
CurDeclsToEmit.swap(DeferredDeclsToEmit);
for (GlobalDecl &D : CurDeclsToEmit) {
+// Functions declared with the sycl_kernel_entry_point attribute are
+// emitted normally during host compilation. During d
Artem-B wrote:
@AustinSchuh would you like me to merge the change for you, once the checks are
done?
https://github.com/llvm/llvm-project/pull/132881
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/dmpolukhin created
https://github.com/llvm/llvm-project/pull/132214
Changes in #111992 was too broad. This change reduces scope of previous fix.
Unfortunately in clang there is no way to know when redeclaration was craeted
artificially due to AST mergse and when it was the c
ilya-biryukov wrote:
cc @ivanaivanovska FYI
https://github.com/llvm/llvm-project/pull/132387
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jonathan Thackray
Date: 2025-03-26T14:45:00Z
New Revision: a1a74c9e80f983c01587bb86523e4e8b83e87d42
URL:
https://github.com/llvm/llvm-project/commit/a1a74c9e80f983c01587bb86523e4e8b83e87d42
DIFF:
https://github.com/llvm/llvm-project/commit/a1a74c9e80f983c01587bb86523e4e8b83e87d42.diff
https://github.com/NagyDonat created
https://github.com/llvm/llvm-project/pull/132250
Simplify `NullabilityChecker.cpp` with new multipart checker framework
introduced in 27099982da2f5a6c2d282d6b385e79d080669546. This is part of a
commit series that will perform analogous changes in all checke
sequencer wrote:
Thanks for the tests on the `rv32i`!
https://github.com/llvm/llvm-project/pull/133031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Abhinav Kumar
Date: 2025-03-26T16:07:51+01:00
New Revision: 99e8321953a047a2994639df3df496cab779e199
URL:
https://github.com/llvm/llvm-project/commit/99e8321953a047a2994639df3df496cab779e199
DIFF:
https://github.com/llvm/llvm-project/commit/99e8321953a047a2994639df3df496cab779e199.diff
https://github.com/steakhal approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/132427
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal approved this pull request.
LGTM, thank you.
https://github.com/llvm/llvm-project/pull/132579
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/133113
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Andy Kaylor
Date: 2025-03-26T09:44:05-07:00
New Revision: 7563e31127615876b02d13c3d5cf02207adfd073
URL:
https://github.com/llvm/llvm-project/commit/7563e31127615876b02d13c3d5cf02207adfd073
DIFF:
https://github.com/llvm/llvm-project/commit/7563e31127615876b02d13c3d5cf02207adfd073.diff
L
hulxv wrote:
> The failures on the presubmit bot look unrelated, but you need to update your
> branch, since it looks like the base revision is broken.
Done
https://github.com/llvm/llvm-project/pull/131280
___
cfe-commits mailing list
cfe-commits@li
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Yoann Congal (ycongal-smile)
Changes
Building dexp on Debian 11 currently causes intermittent failure[0] [1].
Adding the CLANGD_BUILD_DEXP option to disable dexp from the build allows
Debian 11 users to build clang (albeit wit
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
rupprecht wrote:
I can't comment on the contents of this fix, but I patched it in and the crash
no longer reproduces on the original target I saw this in. I think this also
takes care of the targets that @alexfh reported.
https://github.com/llvm/llvm-project/pull/133113
___
@@ -223,6 +223,16 @@ class CIRGenFunction : public CIRGenTypeCache {
void emitDecl(const clang::Decl &d);
+ /// Same as IRBuilder::CreateInBoundsGEP, but additionally emits a check to
+ /// detect undefined behavior when the pointer overflow sanitizer is enabled.
+ /// \
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/133017
>From ea61ece2a4111d41e653acde3936bc6086e248ff Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Tue, 25 Mar 2025 13:12:58 -0700
Subject: [PATCH 1/2] [CIR][NFC] Organize emit functions in CIRGenFunction.h
To
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: Yoann Congal (ycongal-smile)
Changes
Building dexp on Debian 11 currently causes intermittent failure[0] [1].
Adding the CLANGD_BUILD_DEXP option to disable dexp from the build allows
Debian 11 users to build clang (albeit without the de
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/133125
___
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 15f5a7a3ec71c624cea0cbdf02e3c5205ba81d9d
75ef42d644da9136fb07014ade18b6be137426a1 --e
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-out-of-tree`
running on `linaro-flang-aarch64-out-of-tree` while building `clang` at step 8
"test-build-flang-unified-tree-check-flang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/53
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/133125
C2y adds the _Countof operator which returns the number of elements in an
array. As with sizeof, _Countof either accepts a parenthesized type name or an
expression. Its operand must be (of) an array type.
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
C2y adds the _Countof operator which returns the number of elements in an
array. As with sizeof, _Countof either accepts a parenthesized type name or an
expression. Its operand must be (of) an array ty
jrtc27 wrote:
Although C++ might have good alternatives, that's not so helpful for C headers
being included from C++ that might end up using this (e.g. some static inline
function in a system header).
https://github.com/llvm/llvm-project/pull/133125
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/130868
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
andykaylor wrote:
@mmha I should have copied you on this earlier.
https://github.com/llvm/llvm-project/pull/133017
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tarunprabhu wrote:
Is this buildbot failure related:
[https://lab.llvm.org/buildbot/#/builders/89/builds/19482](https://lab.llvm.org/buildbot/#/builders/89/builds/19482)?
https://github.com/llvm/llvm-project/pull/132801
___
cfe-commits mailing list
cf
alexfh wrote:
Thanks for the fast fix! I would still insist on reverting first and
recommiting the changes along with the fix (I could run this through a bit more
testing on real code for more confidence), rather than trying to expedite the
review and potentially introducing more regressions.
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-release`
running on `linaro-flang-aarch64-release` while building `clang` at step 6
"test-build-unified-tree-check-flang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/172/builds/11341
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-dylib`
running on `linaro-flang-aarch64-dylib` while building `clang` at step 6
"test-build-unified-tree-check-flang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/50/builds/12042
He
jmmartinez wrote:
> At the hardware level, GFX11 removed the ability for buffer, **scratch** and
> **global** instructions to return directly to LDS. So can we use one
> attribute that covers all three of those?
I've been "grep"ping in upstream (but not yet downstream):
* Scratch load lds are
@@ -0,0 +1,472 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c23 -pedantic -Wall -Wno-comment
-verify=both,c23 %s
+// RUN: %clang_cc1 -fsyntax-only -std=c17 -pedantic -Wall -Wno-comment
-Wno-c23-extensions -verify=both,c17 %s
+
+/* WG14 N3037:
+ * Improved tag compatibility
+ *
+ *
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/133113
>From 839a8fc708bad03c3c82a1916d70652ab3b17b5e Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 26 Mar 2025 12:26:40 -0300
Subject: [PATCH] [clang] fix deduction of member pointers with dependent named
https://github.com/DenisGZM created
https://github.com/llvm/llvm-project/pull/133107
Enable parsing alignas attribute after GNU attributes, before ParseDeclaration
This might be useful for cuda code where __shared__ and other specificators may
be mixed with align.
I'd be glad to see if there
https://github.com/DenisGZM created
https://github.com/llvm/llvm-project/pull/133105
Enable parsing alignas attribute after GNU attributes, before `ParseDeclaration`
This might be useful for cuda code where `__shared__` and other specificators
may be mixed with align.
I'd be glad to see if th
Author: Sjoerd Meijer
Date: 2025-03-26T15:21:21Z
New Revision: c0cce437395063ed9f58b8d4138280d1008bc79b
URL:
https://github.com/llvm/llvm-project/commit/c0cce437395063ed9f58b8d4138280d1008bc79b
DIFF:
https://github.com/llvm/llvm-project/commit/c0cce437395063ed9f58b8d4138280d1008bc79b.diff
LOG:
https://github.com/sjoerdmeijer closed
https://github.com/llvm/llvm-project/pull/133054
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/imdj updated https://github.com/llvm/llvm-project/pull/132919
>From 7905577616743f5158560a4b337148ef9cd25f1e Mon Sep 17 00:00:00 2001
From: Imad Aldij
Date: Tue, 25 Mar 2025 14:50:55 +0200
Subject: [PATCH 1/8] [Clang] Implement CWG2517 Useless restriction on use of
parameter
https://github.com/DavidTruby approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/132801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/133100
This change adds zero initialization for global variables
>From 999b8e47c0a8506a983d7d3ac5ce1b82b41966b0 Mon Sep 17 00:00:00 2001
From: JaydeepChauhan14
Date: Wed, 26 Mar 2025 05:52:17 -0700
Subject: [PATC
https://github.com/spall closed https://github.com/llvm/llvm-project/pull/132979
___
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: Denis.G (DenisGZM)
Changes
Enable parsing alignas attribute after GNU attributes, before `ParseDeclaration`
This might be useful for cuda code where `__shared__` and other specificators
may be mixed with align.
I'd be glad to see if ther
kiranchandramohan wrote:
> Is this buildbot failure related:
> https://lab.llvm.org/buildbot/#/builders/89/builds/19482?
Likely. We shouldn't be generating files in driver tests. For checking output,
we have to pipe the output to FileCheck.
https://github.com/llvm/llvm-project/pull/132801
___
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/132288
___
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: Matheus Izvekov (mizvekov)
Changes
This fixes a regression when interpreting a nested name specifier for deduction
purposes in member pointers.
This introduces a helper for fully translating a nested name specifier into a
type.
Other ex
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-rel-assert`
running on `linaro-flang-aarch64-rel-assert` while building `clang` at step 6
"test-build-unified-tree-check-flang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/29/builds/
mrkajetanp wrote:
> Is this buildbot failure related:
> [https://lab.llvm.org/buildbot/#/builders/89/builds/19482](https://lab.llvm.org/buildbot/#/builders/89/builds/19482)?
Ah yes, sorry about that! Just a missing -o /dev/null, I'll post a fix in a
moment.
https://github.com/llvm/llvm-proje
@@ -1,9 +1,10 @@
function genLink(Ref) {
ilovepi wrote:
Looks like the current directory was left around when we moved from relative
paths to absolute. I don't think we can use that instead of base, though.
When I log what the CurrentDirectory is on docs.fuchs
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/132288
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Fznamznon wrote:
The problem also is only reproducible when using -start-lib -end-lib options
around icu library object files in the linking command.
https://github.com/llvm/llvm-project/pull/126240
___
cfe-commits mailing list
cfe-commits@lists.llvm.
https://github.com/ycongal-smile created
https://github.com/llvm/llvm-project/pull/133124
Building dexp on Debian 11 currently causes intermittent failure[0] [1].
Adding the CLANGD_BUILD_DEXP option to disable dexp from the build allows
Debian 11 users to build clang (albeit without the dexp t
mizvekov wrote:
@alexfh Are you sure the original crashes were due to
https://github.com/llvm/llvm-project/pull/132977 ?
Looking at the patch, it seems unlikely it could cause a crash in itself.
What I think happened is that your compilation proceeded further along and
encountered the other c
@@ -27,6 +27,8 @@
extern "C" {
#endif
+#if !defined(__CUDA_ARCH__)
+
Artem-B wrote:
@rnk Reid, would you happen to have an idea what's up with these builtins on
Windows?
https://github.com/llvm/llvm-project/pull/128222
__
mrkajetanp wrote:
The buildbot failure fix is here:
https://github.com/llvm/llvm-project/pull/133128
https://github.com/llvm/llvm-project/pull/132801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
@@ -101,6 +101,52 @@ bool SemaSPIRV::CheckSPIRVBuiltinFunctionCall(unsigned
BuiltinID,
TheCall->setType(RetTy);
break;
}
+ case SPIRV::BI__builtin_spirv_smoothstep: {
+if (SemaRef.checkArgCount(TheCall, 3))
+ return true;
+
+// check if the all argument
@@ -0,0 +1,177 @@
+// RUN: %clang_cc1 -fsycl-is-host -emit-llvm -triple x86_64-unknown-linux-gnu
%s -o - | FileCheck --check-prefixes=CHECK-HOST,CHECK-HOST-LINUX %s
+// RUN: %clang_cc1 -fsycl-is-device -emit-llvm -aux-triple
x86_64-unknown-linux-gnu -triple amdgcn %s -o - | File
@@ -0,0 +1,177 @@
+// RUN: %clang_cc1 -fsycl-is-host -emit-llvm -triple x86_64-unknown-linux-gnu
%s -o - | FileCheck --check-prefixes=CHECK-HOST,CHECK-HOST-LINUX %s
+// RUN: %clang_cc1 -fsycl-is-device -emit-llvm -aux-triple
x86_64-unknown-linux-gnu -triple amdgcn %s -o - | File
@@ -0,0 +1,177 @@
+// RUN: %clang_cc1 -fsycl-is-host -emit-llvm -triple x86_64-unknown-linux-gnu
%s -o - | FileCheck --check-prefixes=CHECK-HOST,CHECK-HOST-LINUX %s
+// RUN: %clang_cc1 -fsycl-is-device -emit-llvm -aux-triple
x86_64-unknown-linux-gnu -triple amdgcn %s -o - | File
@@ -732,6 +732,16 @@
CodeGenTypes::arrangeBuiltinFunctionDeclaration(CanQualType resultType,
RequiredArgs::All);
}
+const CGFunctionInfo &
+CodeGenTypes::arrangeSYCLKernelCallerDeclaration(QualType resultType,
+
https://github.com/jyknight approved this pull request.
LGTM to me now. I hope we will eventually provide a conforming freestanding
implementation, but that's future work.
https://github.com/llvm/llvm-project/pull/132232
___
cfe-commits mailing list
c
@@ -0,0 +1,61 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment -verify
%s
+
+/* WG14 N3369: Clang 21
+ * _Lengthof operator
+ *
+ * Adds an operator to get the length of an array. Note that WG14 N3469 renamed
+ * this operator to _Countof.
+ */
+
+int gl
alexfh wrote:
> > @alexfh Are you sure the original crashes were due to #132977 ?
>
> I thought so, but your explanation below also seems reasonable. I can try to
> verify.
>
> > Looking at the patch, it seems unlikely it could cause a crash in itself.
> > What I think happened is that your co
@@ -0,0 +1,61 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment -verify
%s
+
+/* WG14 N3369: Clang 21
+ * _Lengthof operator
+ *
+ * Adds an operator to get the length of an array. Note that WG14 N3469 renamed
+ * this operator to _Countof.
+ */
+
+int gl
Author: Andy Kaylor
Date: 2025-03-26T11:37:47-07:00
New Revision: 6d1184d05ffe3872ce5ea186c0cd3085219aae07
URL:
https://github.com/llvm/llvm-project/commit/6d1184d05ffe3872ce5ea186c0cd3085219aae07
DIFF:
https://github.com/llvm/llvm-project/commit/6d1184d05ffe3872ce5ea186c0cd3085219aae07.diff
L
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/133017
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bcardosolopes approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/133017
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -27,6 +27,8 @@
extern "C" {
#endif
+#if !defined(__CUDA_ARCH__)
+
sarnex wrote:
@Artem-B Any recommendations on moving forward since we seem to be having
trouble getting the historical info on the change?
https://github.com/llvm/llvm-project/pull/128222
@@ -1073,6 +1073,28 @@ inputs. Here is some example of ``$``-prefixed options:
Language and Target-Independent Features
+Freestanding Builds
+---
+Passing the ``-ffreestanding`` flag causes Clang to build for a freestand
https://github.com/ShashwathiNavada updated
https://github.com/llvm/llvm-project/pull/125643
>From 0aebcd7119fbcd51154c5d9706752e8ff3f041bc Mon Sep 17 00:00:00 2001
From: ShashwathiNavada
Date: Tue, 4 Feb 2025 00:16:09 -0600
Subject: [PATCH 1/7] Adding diagnostics for unsupported option
---
c
101 - 200 of 542 matches
Mail list logo