Author: Xiang Li
Date: 2024-07-10T20:17:45-04:00
New Revision: 54c32becf0991e60261bf8e80caee43cc6c0d65f
URL:
https://github.com/llvm/llvm-project/commit/54c32becf0991e60261bf8e80caee43cc6c0d65f
DIFF:
https://github.com/llvm/llvm-project/commit/54c32becf0991e60261bf8e80caee43cc6c0d65f.diff
LOG:
@@ -0,0 +1,42 @@
+// 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
-fsanitize=alignment,array-bounds,bool,float-cast-overflow,implicit-integer-sign-change,implicit-si
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 5
"build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/50/builds/951
Here is the relevant p
Author: Fangrui Song
Date: 2024-07-10T17:32:17-07:00
New Revision: 9324c952e5d4744f86fc87662dee387134915bf0
URL:
https://github.com/llvm/llvm-project/commit/9324c952e5d4744f86fc87662dee387134915bf0
DIFF:
https://github.com/llvm/llvm-project/commit/9324c952e5d4744f86fc87662dee387134915bf0.diff
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/98415
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay updated
https://github.com/llvm/llvm-project/pull/98415
>From 29b11cc74f3358c22214e5a6c9e5042f9c4a7e38 Mon Sep 17 00:00:00 2001
From: Fangrui Song
Date: Wed, 10 Jul 2024 16:29:08 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UTF
https://github.com/alexander-shaposhnikov approved this pull request.
LG, thanks
https://github.com/llvm/llvm-project/pull/98415
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay updated
https://github.com/llvm/llvm-project/pull/98415
>From 29b11cc74f3358c22214e5a6c9e5042f9c4a7e38 Mon Sep 17 00:00:00 2001
From: Fangrui Song
Date: Wed, 10 Jul 2024 16:29:08 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UTF
https://github.com/MaskRay closed
https://github.com/llvm/llvm-project/pull/98415
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/98309
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/98424
This patch updates the clang-tidy checks for llvm-libc to ensure that the
namespace macro used to declare the libc namespace is updated from
LIBC_NAMESPACE to LIBC_NAMESPACE_DECL which by default has hidden visi
ChuanqiXu9 wrote:
> The reproducer turned out to be pretty simple:
>
> ```c++
> export module a;
> module :private;
> static void f() {}
> void g() {
> f();
> }
> ```
>
> Compiles without that patch, otherwise produces:
>
> ```
> error: no matching function for call to 'f'
> ```
>
> > Oh, s
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/98419
>From b740aa9da3baf4fbd32b5a2c59d70bf2f224f700 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Wed, 10 Jul 2024 17:10:26 -0700
Subject: [PATCH 1/2] split out resource class data from resource attr, add
some
yxsamliu wrote:
It seems to cause a build failure:
https://lab.llvm.org/buildbot/#/builders/123/builds/1580
https://github.com/llvm/llvm-project/pull/98415
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/
https://github.com/ilovepi ready_for_review
https://github.com/llvm/llvm-project/pull/98424
___
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-tidy
@llvm/pr-subscribers-clang-tools-extra
Author: Paul Kirth (ilovepi)
Changes
This patch updates the clang-tidy checks for llvm-libc to ensure that the
namespace macro used to declare the libc namespace is updated from
LIBC_NAMESPACE to LIBC_N
@@ -3,60 +3,61 @@
#define MACRO_A "defining macros outside namespace is valid"
class ClassB;
-// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: declaration must be enclosed
within the 'LIBC_NAMESPACE' namespace
+// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: declaration must be enclos
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/98419
>From b740aa9da3baf4fbd32b5a2c59d70bf2f224f700 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Wed, 10 Jul 2024 17:10:26 -0700
Subject: [PATCH 1/3] split out resource class data from resource attr, add
some
Author: R
Date: 2024-07-11T11:10:02+08:00
New Revision: 3c5f929ad093a2053b3194474609f1fc3eb15431
URL:
https://github.com/llvm/llvm-project/commit/3c5f929ad093a2053b3194474609f1fc3eb15431
DIFF:
https://github.com/llvm/llvm-project/commit/3c5f929ad093a2053b3194474609f1fc3eb15431.diff
LOG: [RISCV
https://github.com/wangpc-pp closed
https://github.com/llvm/llvm-project/pull/97925
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@ArcaneNibble 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 b
https://github.com/DanShaders created
https://github.com/llvm/llvm-project/pull/98426
This partially addresses #98244.
>From a8ddcb19d5fb2bb6a846c7a33f2c90c580d212fe Mon Sep 17 00:00:00 2001
From: Dan Klishch
Date: Wed, 10 Jul 2024 23:39:42 -0400
Subject: [PATCH] [clang] Do not allow unorderab
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Dan Klishch (DanShaders)
Changes
This partially addresses #98244.
---
Full diff: https://github.com/llvm/llvm-project/pull/98426.diff
5 Files Affected:
- (modified) clang/lib/Sema/SemaDecl.cpp (+3-1)
- (modified) clang/lib/Sema/SemaDec
DanShaders wrote:
CC @FreddyLeaf, @phoebewang
https://github.com/llvm/llvm-project/pull/98426
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/98427
Fixes #92530.
>From fa1da3d06ed2207902df4911933bd40f0d514e51 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Wed, 10 Jul 2024 20:52:18 -0700
Subject: [PATCH] [clang-format] Fix a bug in TCAS_Leave using tabs for
i
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fixes #92530.
---
Full diff: https://github.com/llvm/llvm-project/pull/98427.diff
2 Files Affected:
- (modified) clang/lib/Format/WhitespaceManager.cpp (+1-1)
- (modified) clang/unittests/Format/FormatT
yxsamliu wrote:
> It seems to cause a build failure:
>
> https://lab.llvm.org/buildbot/#/builders/123/builds/1580
It seems the issue was due to old system linker. If I use lld to build
compier-rt the build passes. I will fix the buildbot
https://github.com/llvm/llvm-zorg/pull/225
https://git
@@ -2771,6 +2771,109 @@ bool Compiler::VisitCXXInheritedCtorInitExpr(
return this->emitCall(F, 0, E);
}
+template
+bool Compiler::VisitCXXNewExpr(const CXXNewExpr *E) {
+ assert(classifyPrim(E->getType()) == PT_Ptr);
+ const Expr *Init = E->getInitializer();
+ QualType E
@@ -0,0 +1,38 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o
- %s | FileCheck %s
+
+
+// CHECK: -HLSLResourceClassAttr 0x{{[0-9a-f]+}} <> SRV
+struct [[hlsl::resource_class(SRV)]] Eg1 {
damyanp wrote:
I thought that the idea w
@@ -280,13 +280,15 @@ void CGHLSLRuntime::annotateHLSLResource(const VarDecl
*D, GlobalVariable *GV) {
const auto *RD = Ty->getAsCXXRecordDecl();
if (!RD)
return;
- const auto *Attr = RD->getAttr();
- if (!Attr)
+ const auto *HLSLResAttr = RD->getAttr();
+ const au
@@ -437,6 +437,49 @@ void SemaHLSL::handleShaderAttr(Decl *D, const ParsedAttr
&AL) {
D->addAttr(NewAttr);
}
+llvm::dxil::ResourceClass
+getResourceClassFromStr(StringRef ResourceClassTypeStrRef) {
+ if (ResourceClassTypeStrRef == "SRV")
+return llvm::dxil::ResourceC
https://github.com/tstellar created
https://github.com/llvm/llvm-project/pull/98431
This adds release binary builds for the 4 platforms currently supported by the
free GitHub Action runners:
* Linux x86_64
* Windows x86_64
* Mac x86_64
* Mac AArch64
The test stages for these are known to fail
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
Changes
This adds release binary builds for the 4 platforms currently supported by the
free GitHub Action runners:
* Linux x86_64
* Windows x86_64
* Mac x86_64
* Mac AArch64
Th
@@ -437,6 +437,49 @@ void SemaHLSL::handleShaderAttr(Decl *D, const ParsedAttr
&AL) {
D->addAttr(NewAttr);
}
+llvm::dxil::ResourceClass
+getResourceClassFromStr(StringRef ResourceClassTypeStrRef) {
+ if (ResourceClassTypeStrRef == "SRV")
+return llvm::dxil::ResourceC
@@ -0,0 +1,38 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o
- %s | FileCheck %s
+
+
+// CHECK: -HLSLResourceClassAttr 0x{{[0-9a-f]+}} <> SRV
+struct [[hlsl::resource_class(SRV)]] Eg1 {
+ int i;
+};
+
+Eg1 e1;
+
+// CHECK: -CXXRecordDecl 0x{
@@ -0,0 +1,23 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -o - %s -verify
+
+// expected-error@+1{{'resource_class' attribute takes one argument}}
+struct [[hlsl::resource_class()]] Eg1 {
+ int i;
+};
+
+Eg1 e1;
+
+// expected-error@+1{{invalid resource class
MaskRay wrote:
> > It seems to cause a build failure:
> > [lab.llvm.org/buildbot](https://lab.llvm.org/buildbot/#/builders/123/builds/1580)
>
> It seems the issue was due to old system linker. If I use lld to build
> compier-rt the build passes. I will fix the buildbot
> [llvm/llvm-zorg#225](h
@@ -437,6 +437,49 @@ void SemaHLSL::handleShaderAttr(Decl *D, const ParsedAttr
&AL) {
D->addAttr(NewAttr);
}
+llvm::dxil::ResourceClass
+getResourceClassFromStr(StringRef ResourceClassTypeStrRef) {
+ if (ResourceClassTypeStrRef == "SRV")
+return llvm::dxil::ResourceC
Author: Daniel Kiss
Date: 2024-07-11T07:07:25+02:00
New Revision: 4710e0f498cb661ca17c99cb174616102fcad923
URL:
https://github.com/llvm/llvm-project/commit/4710e0f498cb661ca17c99cb174616102fcad923
DIFF:
https://github.com/llvm/llvm-project/commit/4710e0f498cb661ca17c99cb174616102fcad923.diff
L
https://github.com/DanielKristofKiss closed
https://github.com/llvm/llvm-project/pull/98329
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,38 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o
- %s | FileCheck %s
+
+
+// CHECK: -HLSLResourceClassAttr 0x{{[0-9a-f]+}} <> SRV
+struct [[hlsl::resource_class(SRV)]] Eg1 {
bogner wrote:
For the purpose of these t
JaydeepChauhan14 wrote:
> How easy would it be to add an option for this to update inline asm? I'm not
> asking you to do this here, I just want to know if this approach would make
> it straightforward to add in the future.
As per my understanding we can easily utilize **GET_X86_SSE2AVX_TABLE*
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/98023
>From 74d7184777e977ab3e83bfcae7e08e550ef32a39 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Mon, 8 Jul 2024 21:28:30 +0800
Subject: [PATCH 1/5] [Clang] Ensure the method scope at the late parsing of
noexcep
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx`
running on `linaro-flang-aarch64-libcxx` while building `clang` at step 5
"build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/89/builds/1820
Here is the relevan
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/70307
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
FreddyLeaf wrote:
Thanks for the fix!
https://github.com/llvm/llvm-project/pull/98426
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,89 @@
+# RUN: %clang -march=x86-64 -msse2avx %s -c -o %t
KanRobert wrote:
Do not add end2end test. Check test for other flags.
https://github.com/llvm/llvm-project/pull/96860
___
cfe-commits mailing list
cfe
@@ -333,7 +338,8 @@ void CodeGenFunction::registerGlobalDtorWithLLVM(const
VarDecl &VD,
llvm::FunctionCallee Dtor,
llvm::Constant *Addr) {
// Create a function which calls the d
chenzheng1030 wrote:
gentle ping : )
https://github.com/llvm/llvm-project/pull/97541
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96809
>From 7733243a7b9660ce2bcbd43f6219314fcd1e4a73 Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Wed, 26 Jun 2024 14:20:03 -0400
Subject: [PATCH 1/7] [clang-doc] add short circuit in mapper
---
clang-tools-ext
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 7b57a1b4018db0c987fb5a67effbef4d7559c4f1
f86063293b693f5635fc2dfb4347389ce70f90b4 --e
https://github.com/owenca commented:
Also, we need ConfigParseTest for the new option.
https://github.com/llvm/llvm-project/pull/95013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/95013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3153,6 +3153,15 @@ class ExpressionParser {
parse(Precedence + 1);
int CurrentPrecedence = getCurrentPrecedence();
+ if (!Style.BinPackBinaryOperations &&
+ (CurrentPrecedence > prec::Conditional) &&
+ (CurrentPrecedence < prec::PointerTo
@@ -27628,6 +27628,109 @@ TEST_F(FormatTest, SpaceBetweenKeywordAndLiteral) {
verifyFormat("return sizeof \"5\";");
}
+TEST_F(FormatTest, BinPackBinaryOperations) {
+ auto Style = getLLVMStyleWithColumns(60);
+ // Logical operations
+ verifyFormat("if (condition1 && condi
PeterChou1 wrote:
I did some more investigating and ran this patch against several different
projects like llvm itself, and other well know libraries like zlib. The only
functional difference I found was differences in the USR generated and
generation order in the table genned files
The one e
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96809
>From 7733243a7b9660ce2bcbd43f6219314fcd1e4a73 Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Wed, 26 Jun 2024 14:20:03 -0400
Subject: [PATCH 1/7] [clang-doc] add short circuit in mapper
---
clang-tools-ext
https://github.com/DanielKristofKiss created
https://github.com/llvm/llvm-project/pull/98437
Reverts llvm/llvm-project#98329
>From 9a74d0613287e7ae86c305b0250e188e3c3de6c3 Mon Sep 17 00:00:00 2001
From: Daniel Kiss
Date: Thu, 11 Jul 2024 08:37:25 +0200
Subject: [PATCH] Revert "[NFC][Clang] Mov
Author: Daniel Kiss
Date: 2024-07-11T08:37:47+02:00
New Revision: b65aba292e0d485de286ec36134375e74b1fb95c
URL:
https://github.com/llvm/llvm-project/commit/b65aba292e0d485de286ec36134375e74b1fb95c
DIFF:
https://github.com/llvm/llvm-project/commit/b65aba292e0d485de286ec36134375e74b1fb95c.diff
L
https://github.com/DanielKristofKiss closed
https://github.com/llvm/llvm-project/pull/98437
___
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: Daniel Kiss (DanielKristofKiss)
Changes
Reverts llvm/llvm-project#98329
---
Full diff: https://github.com/llvm/llvm-project/pull/98437.diff
2 Files Affected:
- (modified) clang/include/clang/Basic/TargetInfo.h (+19-4)
- (modified) clan
https://github.com/chestnykh created
https://github.com/llvm/llvm-project/pull/98439
Currently clang crashes with `-module-file-info` and input file which is not a
module
Emit error instead of segfaulting.
Fix #98365
>From 716e8b7b71422b5850d2f9c3710a28bcf18ffccb Mon Sep 17 00:00:00 2001
From:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Dmitriy Chestnykh (chestnykh)
Changes
Currently clang crashes with `-module-file-info` and input file which is not a
module
Emit error instead of segfaulting.
Fix #98365
---
Full diff: https://github.com/llvm/llvm-project/pull/98439.diff
chestnykh wrote:
CC: @ChuanqiXu9 @shafik
https://github.com/llvm/llvm-project/pull/98439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/98439
>From 716e8b7b71422b5850d2f9c3710a28bcf18ffccb Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 11 Jul 2024 09:55:55 +0300
Subject: [PATCH 1/2] [Clang] Don't crash if input file is not a module.
Curr
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 dcf70e16684420ae211dad58dbfacc0430409ab4
716e8b7b71422b5850d2f9c3710a28bcf18ffccb --e
401 - 466 of 466 matches
Mail list logo