https://github.com/bob80905 edited
https://github.com/llvm/llvm-project/pull/96346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - %s
-verify
+
+// previously, this test would result in an error shown below on the line that
+// declares variable a in struct Eg9:
+// error: use of undeclared identifier
+//
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - %s
-verify
+
+// previously, this test would result in an error shown below on the line that
+// declares variable a in struct Eg9:
+// error: use of undeclared identifier
+//
@@ -2646,6 +2646,9 @@ bool Parser::ParseCXXMemberDeclaratorBeforeInitializer(
else
DeclaratorInfo.SetIdentifier(nullptr, Tok.getLocation());
+ if (getLangOpts().HLSL)
damyanp wrote:
It may be worth cleaning this up: I notice that there are two
https://github.com/a-tarasyuk edited
https://github.com/llvm/llvm-project/pull/96228
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner commented:
Please add some tests that show that we still handle bitfields correctly in
HLSL with this change.
https://github.com/llvm/llvm-project/pull/96346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/96228
>From c982465dbc29958f8a8bb07149c6d50c778860c9 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Thu, 20 Jun 2024 21:51:42 +0300
Subject: [PATCH] [Clang] use parent declaration context to avoid asserting
cast
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - %s
-verify
+
+// previously, this test would result in an error shown below on the line that
+// declares variable a in struct Eg9:
+// error: use of undeclared identifier
+//
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - %s
-verify
+
+// previously, this test would result in an error shown below on the line that
+// declares variable a in struct Eg9:
+// error: use of undeclared identifier
+//
https://github.com/bogner edited https://github.com/llvm/llvm-project/pull/96346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9192,7 +9194,7 @@ ComputeDefaultedComparisonExceptionSpec(Sema ,
SourceLocation Loc,
EnterExpressionEvaluationContext Context(
S, Sema::ExpressionEvaluationContext::Unevaluated);
-CXXRecordDecl *RD = cast(FD->getLexicalParent());
+auto RD =
@@ -27,6 +27,9 @@ namespace llvm {
}
}
+// Prefix for __builtin_verbose_trap.
+#define CLANG_VERBOSE_TRAP_PREFIX "__llvm_verbose_trap"
Michael137 wrote:
Not a big deal for LLDB either way, whatever people prefer here, we can work
around it.
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - %s
-verify
+
+// previously, this test would result in an error shown below on the line that
+// declares variable a in struct Eg9:
+// error: use of undeclared identifier
+//
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mital Ashok (MitalAshok)
Changes
http://itanium-cxx-abi.github.io/cxx-abi/
This website may be mirrored in many places, some of which may become
stale. The current canonical location is:
* http://itanium-cxx-abi.github.io/cxx-abi/
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - %s
-verify
+
+// previously, this test would result in an error shown below on the line that
+// declares variable a in struct Eg9:
+// error: use of undeclared identifier
+//
https://github.com/MitalAshok created
https://github.com/llvm/llvm-project/pull/96348
http://itanium-cxx-abi.github.io/cxx-abi/
> This website may be mirrored in many places, some of which may become stale.
> The current canonical location is:
> * http://itanium-cxx-abi.github.io/cxx-abi/
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/96228
>From c982465dbc29958f8a8bb07149c6d50c778860c9 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Thu, 20 Jun 2024 21:51:42 +0300
Subject: [PATCH] [Clang] use parent declaration context to avoid asserting
cast
https://github.com/bob80905 edited
https://github.com/llvm/llvm-project/pull/96346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/96109
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -emit-llvm -triple powerpc64le-linux-gnu -verify %s
MaskRay wrote:
I think one RUN line (powerpc64) is sufficient. Duplicating this for ELF/XCOFF
isn't necessary.
`inline-asm-constraints-error.c` might be a better test
https://github.com/bogner closed https://github.com/llvm/llvm-project/pull/96335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Justin Bogner
Date: 2024-06-21T12:39:28-06:00
New Revision: 39048b69b85e530b9b8a4226d9043a0bd340fe8a
URL:
https://github.com/llvm/llvm-project/commit/39048b69b85e530b9b8a4226d9043a0bd340fe8a
DIFF:
https://github.com/llvm/llvm-project/commit/39048b69b85e530b9b8a4226d9043a0bd340fe8a.diff
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Joshua Batista (bob80905)
Changes
`MaybeParseHLSLAnnotations` should be run on Field Decls instead of just
assuming that any colon after a field decl is a bitfield. In the case that HLSL
is the language, the code after the colon may be an
https://github.com/bob80905 created
https://github.com/llvm/llvm-project/pull/96346
`MaybeParseHLSLAnnotations` should be run on Field Decls instead of just
assuming that any colon after a field decl is a bitfield. In the case that HLSL
is the language, the code after the colon may be an
@@ -27,6 +27,9 @@ namespace llvm {
}
}
+// Prefix for __builtin_verbose_trap.
+#define CLANG_VERBOSE_TRAP_PREFIX "__llvm_verbose_trap"
ahatanak wrote:
I don't have any preference, but according to people working on lldb, macro
would make it marginally
https://github.com/hekota approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/95999
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ahatanak updated
https://github.com/llvm/llvm-project/pull/79230
>From 95200f3bb3859738981240a9d8c503a13ede9601 Mon Sep 17 00:00:00 2001
From: Akira Hatanaka
Date: Tue, 16 Jan 2024 13:18:09 -0800
Subject: [PATCH 01/17] Add support for builtin_verbose_trap
The builtin causes
https://github.com/kamaub updated
https://github.com/llvm/llvm-project/pull/96109
>From 87983d169582bc5156220594e0fc4812f424bf75 Mon Sep 17 00:00:00 2001
From: Kamau Bridgeman
Date: Wed, 19 Jun 2024 14:59:53 -0500
Subject: [PATCH 1/2] [PPC][InlineASM] Mark the 'a' constraint as unsupported
@@ -149,6 +149,12 @@ BUILTIN(__builtin_amdgcn_mqsad_pk_u16_u8, "WUiWUiUiWUi",
"nc")
BUILTIN(__builtin_amdgcn_mqsad_u32_u8, "V4UiWUiUiV4Ui", "nc")
BUILTIN(__builtin_amdgcn_make_buffer_rsrc, "Qbv*sii", "nc")
+BUILTIN(__builtin_amdgcn_raw_buffer_store_b8, "vcQbiiIi", "n")
Author: Aaron Ballman
Date: 2024-06-21T13:47:57-04:00
New Revision: 918ef312d1fda56ff783f3974b5a193542e5497c
URL:
https://github.com/llvm/llvm-project/commit/918ef312d1fda56ff783f3974b5a193542e5497c
DIFF:
https://github.com/llvm/llvm-project/commit/918ef312d1fda56ff783f3974b5a193542e5497c.diff
https://github.com/ahmedbougacha edited
https://github.com/llvm/llvm-project/pull/94056
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ahatanak wrote:
> I think my last comment/question is still open? How/why did the symbol name
> end up dropping any llvm/clang component to avoid collisions with other names?
I dropped llvm/clang because I didn't think it would cause any collision in
practice, but I don't think we have to try
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/96313
>From 8b1f5f623ec51ad4bd7f7833daf49574ea76b30a Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 21 Jun 2024 13:40:20 -0400
Subject: [PATCH] [Clang] Replace `emitXXXBuiltin` with a unified interface
---
@@ -7,151 +7,16 @@
*===---===
*/
+// 3dNow intrinsics are no longer supported, and this header remains only as a
+// stub for users who were including it to get to _m_prefetch or
+// _m_prefetchw. Such uses
@@ -149,6 +149,12 @@ BUILTIN(__builtin_amdgcn_mqsad_pk_u16_u8, "WUiWUiUiWUi",
"nc")
BUILTIN(__builtin_amdgcn_mqsad_u32_u8, "V4UiWUiUiV4Ui", "nc")
BUILTIN(__builtin_amdgcn_make_buffer_rsrc, "Qbv*sii", "nc")
+BUILTIN(__builtin_amdgcn_raw_buffer_store_b8, "vcQbiiIi", "n")
Author: Aaron Ballman
Date: 2024-06-21T13:28:02-04:00
New Revision: 131bc0390dba1bc21fb8af8e5e8afa78a17d39b9
URL:
https://github.com/llvm/llvm-project/commit/131bc0390dba1bc21fb8af8e5e8afa78a17d39b9
DIFF:
https://github.com/llvm/llvm-project/commit/131bc0390dba1bc21fb8af8e5e8afa78a17d39b9.diff
@@ -581,49 +581,19 @@ static Value
*emitCallMaybeConstrainedFPBuiltin(CodeGenFunction ,
return CGF.Builder.CreateCall(F, Args);
}
-// Emit a simple mangled intrinsic that has 1 argument and a return type
-// matching the argument type.
-static Value
@@ -1392,7 +1392,8 @@ class CXXRecordDecl : public RecordDecl {
bool allowConstDefaultInit() const {
return !data().HasUninitializedFields ||
!(data().HasDefaultedDefaultConstructor ||
- needsImplicitDefaultConstructor());
+
@@ -0,0 +1,11 @@
+// RUN: %clang_cc1 -std=c++23 -fsyntax-only -verify %s
shafik wrote:
I think this may be a more appropriate place for the test:
https://github.com/llvm/llvm-project/blob/main/clang/test/SemaCXX/anonymous-union.cpp
We usually wrap tests from
https://github.com/dmpots approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/96335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/damyanp approved this pull request.
https://github.com/llvm/llvm-project/pull/96335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ahatanak closed
https://github.com/llvm/llvm-project/pull/93906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ahmed Bougacha
Date: 2024-06-21T10:20:15-07:00
New Revision: e23250ecb7e09170e584db60375100790f39fac9
URL:
https://github.com/llvm/llvm-project/commit/e23250ecb7e09170e584db60375100790f39fac9
DIFF:
llvmbot wrote:
@llvm/pr-subscribers-backend-directx
Author: Justin Bogner (bogner)
Changes
The resource class isn't HLSL specific, and we'll need to use it in the DirectX
backend as well.
I've also removed the "invalid" enum value since it isn't needed or used, which
necessitates
https://github.com/bogner created
https://github.com/llvm/llvm-project/pull/96335
The resource class isn't HLSL specific, and we'll need to use it in the DirectX
backend as well.
I've also removed the "invalid" enum value since it isn't needed or used, which
necessitates fixing up the clang
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast`
running on `gribozavr4` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/56/builds/573
Here is the
ChuanqiXu9 wrote:
I suspect this is the root cause that some modules related test are failing on
armv8-quick. It passes with commit 12c0281f8c73bc1aa2
(https://lab.llvm.org/buildbot/#/builders/154/builds/320) and fails with
b39f523af7601fe1b39b3256
@@ -1825,32 +1818,32 @@ def : ProcModel;
-def : Proc<"k6-2", [FeatureX87, FeatureCX8, Feature3DNow],
+def : Proc<"k6-2", [FeatureX87, FeatureCX8, FeatureMMX],
RKSimon wrote:
I think the best we can do is add FeaturePRFCHW as well?
https://github.com/shafik edited https://github.com/llvm/llvm-project/pull/96301
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shafik commented:
Thank you for this fix. It needs a release note and your summary should have
some more details on what the cause of the bug is and how your PR fixes it.
efriedma-quic's comment provides a good framework for explaining the cause.
@@ -1825,32 +1818,32 @@ def : ProcModel;
-def : Proc<"k6-2", [FeatureX87, FeatureCX8, Feature3DNow],
+def : Proc<"k6-2", [FeatureX87, FeatureCX8],
jyknight wrote:
Oops! I had fixed that but in a not-yet-committed diff in my checkout. (Tests
fail, otherwise!)
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 af6acd7442646fde56de919964bd52d7bb7922b2
8a0252f670f7339a8c8b63db9bbb9a8c9fd0e8d6
Author: Aaron Ballman
Date: 2024-06-21T12:48:01-04:00
New Revision: 19470e72e4aadfe16d1b6b0e4df325d75dc7fd7c
URL:
https://github.com/llvm/llvm-project/commit/19470e72e4aadfe16d1b6b0e4df325d75dc7fd7c
DIFF:
https://github.com/llvm/llvm-project/commit/19470e72e4aadfe16d1b6b0e4df325d75dc7fd7c.diff
Author: Simon Pilgrim
Date: 2024-06-21T17:42:00+01:00
New Revision: 35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
URL:
https://github.com/llvm/llvm-project/commit/35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
DIFF:
https://github.com/llvm/llvm-project/commit/35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28.diff
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-cuda-t4` running on
`cuda-t4-0` while building `clang` at step 3 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/69/builds/456
Here is the relevant piece of the build log for the
AaronBallman wrote:
> > LGTM -- that new documentation is fantastic, thank you for that!
>
> Thank you! I hope it saves future readers some time.
>
> I don't have write access, so feel free to merge unless we're waiting for
> @aaronpuchert to review :)
I'll give Aaron a chance to weigh in
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/95873
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2024-06-21T09:06:26-07:00
New Revision: f2b17d2582b45dbe83421d29e77cc1d5fdf4e069
URL:
https://github.com/llvm/llvm-project/commit/f2b17d2582b45dbe83421d29e77cc1d5fdf4e069
DIFF:
https://github.com/llvm/llvm-project/commit/f2b17d2582b45dbe83421d29e77cc1d5fdf4e069.diff
dmcardle wrote:
> LGTM -- that new documentation is fantastic, thank you for that!
Thank you! I hope it saves future readers some time.
I don't have write access, so feel free to merge unless we're waiting for
@aaronpuchert to review :)
https://github.com/llvm/llvm-project/pull/95290
antangelo wrote:
I have posted the followup changes in PR #96259 . I have left out the frontend
changes required for `preserve_none` to be usable from clang on Windows for a
separate patch, since they will require some changes to mangling (which are
also required for X86).
@@ -149,6 +149,12 @@ BUILTIN(__builtin_amdgcn_mqsad_pk_u16_u8, "WUiWUiUiWUi",
"nc")
BUILTIN(__builtin_amdgcn_mqsad_u32_u8, "V4UiWUiUiV4Ui", "nc")
BUILTIN(__builtin_amdgcn_make_buffer_rsrc, "Qbv*sii", "nc")
+BUILTIN(__builtin_amdgcn_raw_buffer_store_b8, "vcQbiiIi", "n")
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/94576
>From 7fee22e922090633e0d96bd564aefc94bde7bb72 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 21 Jun 2024 11:20:55 -0400
Subject: [PATCH 1/2] [Clang] Replace `emitXXXBuiltin` with a unified interface
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/94576
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/94576
>From 7fee22e922090633e0d96bd564aefc94bde7bb72 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 21 Jun 2024 11:20:55 -0400
Subject: [PATCH 1/2] [Clang] Replace `emitXXXBuiltin` with a unified interface
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/96015
>From 8bd49caa9fa93fd3d0812e0a4315f8ff4956056a Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Mon, 17 Jun 2024 15:32:31 -0500
Subject: [PATCH] [NVPTX] Implement variadic functions using IR lowering
Summary:
https://github.com/AaronBallman approved this pull request.
LGTM -- that new documentation is fantastic, thank you for that!
https://github.com/llvm/llvm-project/pull/95290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/95290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5272,36 +5682,53 @@ static void emitTargetCall(OpenMPIRBuilder ,
IRBuilderBase ,
Value *DynCGGroupMem = Builder.getInt32(0);
bool HasNoWait = false;
+ bool HasDependencies = Dependencies.size() > 0;
+ bool RequiresOuterTargetTask = HasNoWait || HasDependencies;
https://github.com/AaronBallman approved this pull request.
The only thing I think is missing is a release note in
`clang/docs/ReleaseNotes.rst` so users know about the new functionality,
otherwise this LGTM!
https://github.com/llvm/llvm-project/pull/84983
jtb20 wrote:
> don't you need more code in AST?
Sorry, I don't quite understand the question! Could you elaborate a little
please?
https://github.com/llvm/llvm-project/pull/92731
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/jtb20 edited https://github.com/llvm/llvm-project/pull/92731
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,31 @@
+// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -ast-print %s | FileCheck %s
+// expected-no-diagnostics
+
+extern int bar(int);
+
+int foo(int arg)
+{
+ #pragma omp assume no_openmp_routines
+ {
+auto fn = [](int x) { return bar(x); };
+// CHECK: auto fn =
https://github.com/jtb20 updated https://github.com/llvm/llvm-project/pull/92731
>From edbcd82b8a91766cea9e988e0f37acd685ff7d97 Mon Sep 17 00:00:00 2001
From: Julian Brown
Date: Wed, 1 May 2024 06:35:59 -0500
Subject: [PATCH] [OpenMP] OpenMP 5.1 "assume" directive parsing support
This is a
https://github.com/jtb20 updated https://github.com/llvm/llvm-project/pull/96087
>From 822249a1f45ce1341e71a9c99dec081d8e8d077f Mon Sep 17 00:00:00 2001
From: Julian Brown
Date: Wed, 12 Jun 2024 13:58:22 -0500
Subject: [PATCH] [OpenMP] Diagnostic check for imperfect loop collapse
This patch
https://github.com/jtb20 updated https://github.com/llvm/llvm-project/pull/92731
>From 822249a1f45ce1341e71a9c99dec081d8e8d077f Mon Sep 17 00:00:00 2001
From: Julian Brown
Date: Wed, 12 Jun 2024 13:58:22 -0500
Subject: [PATCH] [OpenMP] Diagnostic check for imperfect loop collapse
This patch
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/96313
>From bedcb3a4a1ffe958e84ed8f0bdaba59dd7bf3ef3 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 21 Jun 2024 10:45:39 -0400
Subject: [PATCH] [Clang] Replace `emitXXXBuiltin` with a unified interface
---
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/96313
>From 836b7c1dce1ed323afef4d911e9c12378858e0dd Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 21 Jun 2024 10:45:04 -0400
Subject: [PATCH] [Clang] Replace `emitXXXBuiltin` with a unified interface
---
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Shilei Tian (shiltian)
Changes
---
Patch is 20.20 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/96313.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CGBuiltin.cpp
@@ -2296,33 +2296,55 @@ ExprResult
Sema::BuildBlockForLambdaConversion(SourceLocation CurrentLocation,
return BuildBlock;
}
+static FunctionDecl *getPatternFunctionDecl(FunctionDecl *FD) {
+ if (FD->getTemplatedKind() == FunctionDecl::TK_MemberSpecialization) {
+while
https://github.com/shiltian created
https://github.com/llvm/llvm-project/pull/96313
None
>From 64dbea02a0946dba55dad63b930939ed08907e8a Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 21 Jun 2024 10:43:11 -0400
Subject: [PATCH] [Clang] Replace `emitXXXBuiltin` with a unified interface
https://github.com/Lukacma updated
https://github.com/llvm/llvm-project/pull/95224
>From d5caa1a22c90c7d3b1fd995c3ae980f02e4c14c9 Mon Sep 17 00:00:00 2001
From: Marian Lukac
Date: Wed, 12 Jun 2024 11:13:48 +
Subject: [PATCH 1/6] fix for mve
---
clang/lib/Sema/SemaType.cpp
https://github.com/balazske updated
https://github.com/llvm/llvm-project/pull/96295
From 0c57ad1ca36a841dff700eb98f878475e0243b88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bal=C3=A1zs=20K=C3=A9ri?=
Date: Fri, 21 Jun 2024 12:13:02 +0200
Subject: [PATCH 1/2] [clang][analyzer] Improve
@@ -8077,32 +8077,21 @@ static bool verifyValidIntegerConstantExpr(Sema ,
const ParsedAttr ,
/// match one of the standard Neon vector types.
static void HandleNeonVectorTypeAttr(QualType , const ParsedAttr ,
Sema , VectorKind VecKind) {
-
DavidSpickett wrote:
Linaro will look into this.
Reproducing the build is quite easy if you do want to look yourselves in the
meantime:
```
$ ./libcxx/utils/ci/run-buildbot
armv7m-picolibc-no-exceptions
```
You'll need a recent `qemu-system-arm` installed to run the tests, I have 8.1.3
https://github.com/ldionne closed
https://github.com/llvm/llvm-project/pull/94791
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Louis Dionne
Date: 2024-06-21T10:31:22-04:00
New Revision: db8c7e004a8acf74f40e0f7bc60066f26d43ccd9
URL:
https://github.com/llvm/llvm-project/commit/db8c7e004a8acf74f40e0f7bc60066f26d43ccd9
DIFF:
https://github.com/llvm/llvm-project/commit/db8c7e004a8acf74f40e0f7bc60066f26d43ccd9.diff
preames wrote:
Given the concern about breaking configurations w/no-integrated-as and older
binutils, can someone summarize here which versions of binutils are known to
work/not work after this change? This will likely become the key search result
for such breakage, and having it well
cjappl wrote:
Pinging reviewers, after we had more conversations on the overall structure and
usefulness of RTSan, and it was approved.
@zygoloid @vitalybuka @MaskRay
Details of the aforementioned discussion are around here in the discourse
thread:
@@ -149,6 +149,19 @@ BUILTIN(__builtin_amdgcn_mqsad_pk_u16_u8, "WUiWUiUiWUi",
"nc")
BUILTIN(__builtin_amdgcn_mqsad_u32_u8, "V4UiWUiUiV4Ui", "nc")
BUILTIN(__builtin_amdgcn_make_buffer_rsrc, "Qbv*sii", "nc")
+BUILTIN(__builtin_amdgcn_raw_ptr_buffer_store_i8, "vcQbiiIi", "n")
@@ -2012,26 +2015,27 @@ llvm::Value *CodeGenFunction::EmitLoadOfScalar(Address
Addr, bool Volatile,
}
llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value *Value, QualType Ty) {
- // Bool has a different representation in memory than in registers.
- if
Author: Nikita Popov
Date: 2024-06-21T15:45:17+02:00
New Revision: 30299b87171cbad2dacb8b1ec0e75801785f16d9
URL:
https://github.com/llvm/llvm-project/commit/30299b87171cbad2dacb8b1ec0e75801785f16d9
DIFF:
https://github.com/llvm/llvm-project/commit/30299b87171cbad2dacb8b1ec0e75801785f16d9.diff
ldionne wrote:
Yeah I think this is a great cleanup, I think we just need to fix the CI issues.
https://github.com/llvm/llvm-project/pull/96171
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ldionne wrote:
I looked into it and I don't quite understand. We should definitely be building
with `-fno-exceptions` in that configuration (and I can see that in the logs),
so I don't understand why we have things like:
```
| ld.lld: error: undefined symbol: __cxa_begin_catch
| >>>
Author: Nikita Popov
Date: 2024-06-21T15:17:41+02:00
New Revision: 48ef912e2b32798b704af242e551a7090102c750
URL:
https://github.com/llvm/llvm-project/commit/48ef912e2b32798b704af242e551a7090102c750
DIFF:
https://github.com/llvm/llvm-project/commit/48ef912e2b32798b704af242e551a7090102c750.diff
@@ -3636,6 +3648,22 @@ def Fmin : FPMathTemplate, LibBuiltin<"math.h"> {
let OnlyBuiltinPrefixedAliasIsConstexpr = 1;
}
+def FmaximumNum : FPMathTemplate, LibBuiltin<"math.h"> {
wzssyqa wrote:
Oh, newer libc does have this function:
Rajveer100 wrote:
@zygoloid
https://github.com/llvm/llvm-project/pull/96301
___
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: Rajveer Singh Bharadwaj (Rajveer100)
Changes
Resolves #95854
-- As per https://eel.is/c++draft/dcl.init#general-8.3
---
Full diff: https://github.com/llvm/llvm-project/pull/96301.diff
2 Files Affected:
- (modified)
https://github.com/Rajveer100 created
https://github.com/llvm/llvm-project/pull/96301
Resolves #95854
-- As per https://eel.is/c++draft/dcl.init#general-8.3
>From c8f2496e91d58c8704911665e1bf1dd7dfbb1d2e Mon Sep 17 00:00:00 2001
From: Rajveer
Date: Fri, 21 Jun 2024 18:26:36 +0530
Subject:
@@ -0,0 +1,174 @@
+// RUN: %clang -Wno-constant-conversion -Wno-array-bounds
-Wno-division-by-zero -Wno-shift-negative-value -Wno-shift-count-negative
-Wno-int-to-pointer-cast -O0
https://github.com/earnol edited https://github.com/llvm/llvm-project/pull/96240
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
601 - 700 of 443375 matches
Mail list logo