7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:21:47 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2158?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:29:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2159?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:30:17 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2160?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:42:01 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2161?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:52:18 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2162?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:52:45 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2163?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:55:04 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2164?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 12:59:33 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2165?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 13:15:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2168?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 13:03:54 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2166?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 13:21:26 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2169?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/105930
>From 33b59a3cc600081fab5d8862b521d4ea929d566a Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 24 Aug 2024 10:08:23 +0200
Subject: [PATCH] [clang][HLSL] Update DXIL/SPIRV hybird CodeGen tests to use
joker-eph wrote:
Possible, let's try it there then
https://github.com/llvm/llvm-project/pull/105745
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,3 @@
+// RUN: %clang_cc1 -std=c++20 -fms-extensions %s
+// expected-no-diagnostics
+constexpr int x = []{ __noop; return 0; }();
cor3ntin wrote:
You do not need the define/ifdef/etc
https://github.com/llvm/llvm-project/pull/105983
@@ -985,7 +990,8 @@ void FunctionInstrumenter::instrument() {
Intrinsic::getDeclaration(&M, PGOBlockCoverage
? Intrinsic::instrprof_cover
: Intrinsic::instrprof_increment),
-{Nam
@@ -715,6 +772,11 @@ bool ConstStructBuilder::Build(const InitListExpr *ILE,
bool AllowOverwrite) {
if (CXXRD->getNumBases())
return false;
+ // See comment in getPadding().
+ bool ZeroInitPadding = !CGM.getLangOpts().CPlusPlus;
efriedma-quic wrot
@@ -1745,13 +1748,48 @@ void AggExprEmitter::VisitCXXParenListOrInitListExpr(
// Default-initialize to null.
EmitNullInitializationToLValue(FieldLoc);
}
+if (ZeroInitPadding) {
+ CharUnits TotalSize =
+ Dest.getPreferredSize(CGF.getContext(), D
@@ -5819,3 +5819,24 @@ specify the starting offset to begin embedding from. The
resources is treated
as being empty if the specified offset is larger than the number of bytes in
the resource. The offset will be applied *before* any ``limit`` parameters are
applied.
+
+Union an
@@ -1745,13 +1748,48 @@ void AggExprEmitter::VisitCXXParenListOrInitListExpr(
// Default-initialize to null.
EmitNullInitializationToLValue(FieldLoc);
}
+if (ZeroInitPadding) {
+ CharUnits TotalSize =
+ Dest.getPreferredSize(CGF.getContext(), D
@@ -361,6 +368,13 @@ CodeGenFunction::AddInitializerToStaticVarDecl(const
VarDecl &D,
}
return GV;
}
+ if (!getLangOpts().CPlusPlus) {
+// In C, when an initializer is given, the Linux kernel relies on clang to
+// zero-initialize all members not explicitly
@@ -42,6 +42,66 @@ using namespace CodeGen;
namespace {
class ConstExprEmitter;
+llvm::Constant *getPadding(const CodeGenModule &CGM, CharUnits PadSize) {
+ if (!CGM.getLangOpts().CPlusPlus) {
+// In C23 (N3096) $6.7.10:
+// """
+// If any object is initialized wi
@@ -0,0 +1,219 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=gnu11 -verify
-emit-llvm %s -o - | FileCheck %s
efriedma-quic wrote:
update_cc_test_checks.py, maybe? Unless it doesn't generate clear checks for
some reason.
https://github.com/llvm/ll
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 13:43:08 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2171?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/lanza updated https://github.com/llvm/llvm-project/pull/91007
>From 17c81f79ede403e63010a39622d61937fcf898b4 Mon Sep 17 00:00:00 2001
From: Nathan Lanza
Date: Fri, 3 May 2024 20:19:45 +
Subject: [PATCH 1/5] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UTF-8?q
https://github.com/AlexMaclean updated
https://github.com/llvm/llvm-project/pull/97762
>From ddb38bd6c86e36ab8b46a4fb5f97390d140f4aa1 Mon Sep 17 00:00:00 2001
From: Alex MacLean
Date: Mon, 1 Jul 2024 17:06:56 +
Subject: [PATCH 1/6] [ValueTracking] use KnownBits to compute fpclass from
bitc
https://github.com/cor3ntin approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/106235
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:02:23 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2173?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
gonzalobg wrote:
@Artem-B ping
https://github.com/llvm/llvm-project/pull/99646
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/pogo59 edited
https://github.com/llvm/llvm-project/pull/105852
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/pogo59 closed
https://github.com/llvm/llvm-project/pull/105852
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Paul T Robinson
Date: 2024-08-27T14:16:49-07:00
New Revision: b6b6482b216d321f49907c728e86d7025f0444ec
URL:
https://github.com/llvm/llvm-project/commit/b6b6482b216d321f49907c728e86d7025f0444ec
DIFF:
https://github.com/llvm/llvm-project/commit/b6b6482b216d321f49907c728e86d7025f0444ec.dif
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:16:54 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2174?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
Author: Yanzuo Liu
Date: 2024-08-27T23:18:20+02:00
New Revision: 377257f063c2b828462499b9e570aed726825064
URL:
https://github.com/llvm/llvm-project/commit/377257f063c2b828462499b9e570aed726825064
DIFF:
https://github.com/llvm/llvm-project/commit/377257f063c2b828462499b9e570aed726825064.diff
LO
https://github.com/Sirraide closed
https://github.com/llvm/llvm-project/pull/102581
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nicovank edited
https://github.com/llvm/llvm-project/pull/106061
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nicovank commented:
Add check and alias entries to
[clang-tools-extra/docs/clang-tidy/checks/list.rst](https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/docs/clang-tidy/checks/list.rst).
Check name: this is not only sizeof. Maybe
`bugprone-suspicious-pointer-s
@@ -0,0 +1,50 @@
+.. title:: clang-tidy - bugprone-suspicious-pointer-arithmetics-using-sizeof
+
+bugprone-suspicious-pointer-arithmetics-using-sizeof
+
+
+Finds suspicious pointer arithmetic calculations where the pointer is off
@@ -0,0 +1,31 @@
+//===--- SuspiciousPointerArithmeticsUsingSizeofCheck.h ---*- 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: Apa
@@ -0,0 +1,108 @@
+//===--- SuspiciousPointerArithmeticsUsingSizeofCheck.cpp - clang-tidy
===//
+//
+// 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
@@ -0,0 +1,108 @@
+//===--- SuspiciousPointerArithmeticsUsingSizeofCheck.cpp - clang-tidy
===//
+//
+// 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
1410200701
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:35:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2175?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe v
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:35:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2175?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
@@ -11427,6 +11427,19 @@ static void AnalyzeImplicitConversions(
return;
}
+ if (auto *OutArgE = dyn_cast(E)) {
+// The base expression is only used to initialize the parameter for
+// arguments to `inout` parameters, so we only traverse down the base
+// ex
@@ -7071,6 +7071,93 @@ class ArraySectionExpr : public Expr {
void setRBracketLoc(SourceLocation L) { RBracketLoc = L; }
};
+/// This class represents temporary values used to represent inout and out
+/// arguments in HLSL. From the callee perspective these parameters are mo
@@ -7061,6 +7061,67 @@ class ArraySectionExpr : public Expr {
void setRBracketLoc(SourceLocation L) { RBracketLoc = L; }
};
+/// This class represents temporary values used to represent inout and out
+/// arguments in HLSL. From the callee perspective these parameters are mo
https://github.com/rjmccall edited
https://github.com/llvm/llvm-project/pull/101083
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8511,7 +8514,7 @@ static void HandleHLSLParamModifierAttr(QualType &CurType,
return;
if (Attr.getSemanticSpelling() == HLSLParamModifierAttr::Keyword_inout ||
Attr.getSemanticSpelling() == HLSLParamModifierAttr::Keyword_out)
-CurType = S.getASTContext().getL
@@ -5432,6 +5434,57 @@ LValue CodeGenFunction::EmitOpaqueValueLValue(const
OpaqueValueExpr *e) {
return getOrCreateOpaqueLValueMapping(e);
}
+LValue CodeGenFunction::BindHLSLOutArgExpr(const HLSLOutArgExpr *E,
rjmccall wrote:
This seems to be dead now.
ht
https://github.com/rjmccall commented:
Thanks, this is looking a lot better.
https://github.com/llvm/llvm-project/pull/101083
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5432,6 +5434,57 @@ LValue CodeGenFunction::EmitOpaqueValueLValue(const
OpaqueValueExpr *e) {
return getOrCreateOpaqueLValueMapping(e);
}
+LValue CodeGenFunction::BindHLSLOutArgExpr(const HLSLOutArgExpr *E,
+ Address OutTemp) {
+
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:58:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2177?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
1410200704
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:58:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2177?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe v
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:58:19 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2176?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/106299
[CWG2917](https://cplusplus.github.io/CWG/issues/2917.html) got a new proposed
resolution that is different from the one the test has been written against.
[CWG2922](https://cplusplus.github.io/CWG/issues/2922.
1410200703
-Original Message-
From:
Sent: Tue, 27 Aug 2024 14:58:19 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2176?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe v
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
[CWG2917](https://cplusplus.github.io/CWG/issues/2917.html) got a new proposed
resolution that is different from the one the test has been written against.
[CWG2922](https://cplusplus.github.io/CWG/iss
@@ -33,7 +33,7 @@ void *operator new(std::size_t, void *p) { return p; }
void* operator new[] (std::size_t, void* p) {return p;}
-namespace cwg2922 { // cwg2922: 20 open 2024-07-10
+namespace cwg2922 { // cwg2922: 20 tentatively ready 2024-07-10
Endilll wrote
@@ -6,7 +6,7 @@
// RUN: %clang_cc1 -std=c++23 -pedantic-errors -verify=expected %s
// RUN: %clang_cc1 -std=c++2c -pedantic-errors -verify=expected %s
-namespace cwg2917 { // cwg2917: 20 open 2024-07-30
+namespace cwg2917 { // cwg2917: 20 review 2024-07-30
Endi
@@ -17292,43 +17292,43 @@ C++ defect report implementation
status
https://cplusplus.github.io/CWG/issues/2913.html";>2913
-open
+tentatively ready
Grammar for deduction-guide has requires-clause in the
wrong position
Not resolved
https
@@ -17292,43 +17292,43 @@ C++ defect report implementation
status
https://cplusplus.github.io/CWG/issues/2913.html";>2913
-open
+tentatively ready
Grammar for deduction-guide has requires-clause in the
wrong position
Not resolved
https
@@ -302,9 +302,8 @@ class TargetInfo : public TransferrableTargetInfo,
/// \param Opts - The options to use to initialize the target. The target may
/// modify the options to canonicalize the target feature information to
match
/// what the backend expects.
- static Tar
@@ -8511,7 +8514,7 @@ static void HandleHLSLParamModifierAttr(QualType &CurType,
return;
if (Attr.getSemanticSpelling() == HLSLParamModifierAttr::Keyword_inout ||
Attr.getSemanticSpelling() == HLSLParamModifierAttr::Keyword_out)
-CurType = S.getASTContext().getL
@@ -11427,6 +11427,19 @@ static void AnalyzeImplicitConversions(
return;
}
+ if (auto *OutArgE = dyn_cast(E)) {
+// The base expression is only used to initialize the parameter for
+// arguments to `inout` parameters, so we only traverse down the base
+// ex
AlexMaclean wrote:
@arsenm, @goldsteinn when you have a minute could you take another look at
this? I think I've addressed all the issues you've raised.
https://github.com/llvm/llvm-project/pull/97762
___
cfe-commits mailing list
cfe-commits@lists.ll
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/106271
>From f5f761adf9ec2f150e32dc42cd70143b5d91bd7a Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Tue, 27 Aug 2024 09:34:01 -0700
Subject: [PATCH 1/5] [clang] `TargetInfo` does not own `TargetOptions`
---
c
https://github.com/benlangmuir approved this pull request.
Seems reasonable
https://github.com/llvm/llvm-project/pull/106271
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -6,7 +6,7 @@
// RUN: %clang_cc1 -std=c++23 -pedantic-errors -verify=expected %s
// RUN: %clang_cc1 -std=c++2c -pedantic-errors -verify=expected %s
-namespace cwg2917 { // cwg2917: 20 open 2024-07-30
+namespace cwg2917 { // cwg2917: 20 review 2024-07-30
Sirr
https://github.com/pow3clk approved this pull request.
One more question, but it looks good to me!
https://github.com/llvm/llvm-project/pull/104544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
@@ -5695,6 +5696,15 @@ static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait
UTT,
return true;
return false;
}
+ case UTT_IsIntangibleType:
+assert(Self.getLangOpts().HLSL && "intangible types are HLSL-only
feature");
+if (!T->isVoidType() && !T->isI
https://github.com/pow3clk edited
https://github.com/llvm/llvm-project/pull/104544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ahmedbougacha created
https://github.com/llvm/llvm-project/pull/106304
In the tablegen definitions, we have now split the lists of extensions enabled
by default for an arch version from the features that are required.
However, the frontend (in `AArch64TargetInfo::setFeatureE
https://github.com/darkfeline created
https://github.com/llvm/llvm-project/pull/106305
Broken by
https://github.com/llvm/llvm-project/commit/625841c3be4dbaab089c01217726a2906f3a8103
>From d45413868d1026e75b725369eec2184b1b61275e Mon Sep 17 00:00:00 2001
From: Allen Li <>
Date: Tue, 27 Aug 2024
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: None (darkfeline)
Changes
Broken by
https://github.com/llvm/llvm-project/commit/625841c3be4dbaab089c01217726a2906f3a8103
---
Full diff: https://github.com/llvm/llvm-project/pull/106305.diff
1 Files Affected:
- (modified) clang/t
jurahul wrote:
I did 2 sets of experiments, but data wise I am inconclusive if this causes a
real compile time regression.
1. Build MLIR verbose and capture all mlir-gen command lines to a file:
ninja -C build check-mlir --verbose | tee build_log.txt
grep "NATIVE/bin/mlir-tblgen " build_l
https://github.com/bogner edited
https://github.com/llvm/llvm-project/pull/106181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -6155,6 +6155,53 @@ class BTFTagAttributedType : public Type, public
llvm::FoldingSetNode {
}
};
+class HLSLAttributedResourceType : public Type, public llvm::FoldingSetNode {
+public:
+ struct Attributes {
+// Data gathered from HLSL resource attributes
+uint8_
https://github.com/bogner approved this pull request.
A few nitpicks, but otherwise LGTM!
https://github.com/llvm/llvm-project/pull/106181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
@@ -2048,6 +2049,24 @@ void TypePrinter::printBTFTagAttributedAfter(const
BTFTagAttributedType *T,
printAfter(T->getWrappedType(), OS);
}
+void TypePrinter::printHLSLAttributedResourceBefore(
+const HLSLAttributedResourceType *T, raw_ostream &OS) {
+ printBefore(T->get
@@ -6155,6 +6155,53 @@ class BTFTagAttributedType : public Type, public
llvm::FoldingSetNode {
}
};
+class HLSLAttributedResourceType : public Type, public llvm::FoldingSetNode {
+public:
+ struct Attributes {
+// Data gathered from HLSL resource attributes
+uint8_
@@ -6155,6 +6155,53 @@ class BTFTagAttributedType : public Type, public
llvm::FoldingSetNode {
}
};
+class HLSLAttributedResourceType : public Type, public llvm::FoldingSetNode {
+public:
+ struct Attributes {
+// Data gathered from HLSL resource attributes
+uint8_
@@ -6,7 +6,7 @@
// RUN: %clang_cc1 -std=c++23 -pedantic-errors -verify=expected %s
// RUN: %clang_cc1 -std=c++2c -pedantic-errors -verify=expected %s
-namespace cwg2917 { // cwg2917: 20 open 2024-07-30
+namespace cwg2917 { // cwg2917: 20 review 2024-07-30
Endi
@@ -6155,6 +6155,53 @@ class BTFTagAttributedType : public Type, public
llvm::FoldingSetNode {
}
};
+class HLSLAttributedResourceType : public Type, public llvm::FoldingSetNode {
+public:
+ struct Attributes {
+// Data gathered from HLSL resource attributes
+uint8_
@@ -7459,6 +7459,13 @@ QualType
TreeTransform::TransformBTFTagAttributedType(
llvm_unreachable("Unexpected TreeTransform for BTFTagAttributedType");
}
+template
+QualType TreeTransform::TransformHLSLAttributedResourceType(
+TypeLocBuilder &TLB, HLSLAttributedResourceTy
https://github.com/pow2clk approved this pull request.
Oops. I approved on my underprivileged laptop account 😳
https://github.com/llvm/llvm-project/pull/104544
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 15:59:38 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2180?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 16:22:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2182?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Tue, 27 Aug 2024 16:50:05 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2183?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/ahmedbougacha created
https://github.com/llvm/llvm-project/pull/106312
This is a partial revert of c66e1d6f3429. Even though that
allowed us to declare v9.2-a support without picking up SVE2
in both the backend and the driver, the frontend itself still
enabled SVE via the arc
https://github.com/ahmedbougacha milestoned
https://github.com/llvm/llvm-project/pull/106312
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yronglin updated
https://github.com/llvm/llvm-project/pull/105996
>From 0e4c511107f76da085a8019cf2eca78c3a5a0754 Mon Sep 17 00:00:00 2001
From: yronglin
Date: Mon, 26 Aug 2024 02:09:31 +0800
Subject: [PATCH 1/5] [Clang][Interp] Implement constexpr vector unary
operators +, -
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-backend-aarch64
Author: Ahmed Bougacha (ahmedbougacha)
Changes
This is a partial revert of c66e1d6f3429. Even though that
allowed us to declare v9.2-a support without picking up SVE2
in both the backend and the driver, the fro
@@ -799,6 +799,19 @@ static bool
IsEquivalentExceptionSpec(StructuralEquivalenceContext &Context,
return true;
}
+// Determine structural equivalence of two instances of
+// HLSLAttributedResourceType::Attributes
+static bool
+IsStructurallyEquivalent(StructuralEquivalenceC
https://github.com/bob80905 edited
https://github.com/llvm/llvm-project/pull/106181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5312,6 +5314,147 @@ bool Compiler::VisitComplexUnaryOperator(const
UnaryOperator *E) {
return true;
}
+template
+bool Compiler::VisitVectorUnaryOperator(const UnaryOperator *E) {
+ const Expr *SubExpr = E->getSubExpr();
+ assert(SubExpr->getType()->isVectorType());
+
ahmedbougacha wrote:
In the meantime, let's do #106312
https://github.com/llvm/llvm-project/pull/106304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bob80905 approved this pull request.
https://github.com/llvm/llvm-project/pull/106181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jroelofs approved this pull request.
https://github.com/llvm/llvm-project/pull/106312
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5312,6 +5314,147 @@ bool Compiler::VisitComplexUnaryOperator(const
UnaryOperator *E) {
return true;
}
+template
+bool Compiler::VisitVectorUnaryOperator(const UnaryOperator *E) {
+ const Expr *SubExpr = E->getSubExpr();
+ assert(SubExpr->getType()->isVectorType());
+
yronglin wrote:
Thank you for your review! I have reverted the modification of ASTContext.
https://github.com/llvm/llvm-project/pull/105996
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
joker-eph wrote:
Having this enabled guarded by NDEBUG seems like a good option. There is
already some things already like this isn't there? I kind of remember that
using imbalanced `{` / `}` pair of something like that was checked only in
assert builds?
https://github.com/llvm/llvm-project/p
401 - 500 of 557 matches
Mail list logo