llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Michael Park (mpark)
Changes
The current `ClangdLSPServer::applyConfiguration` logic tests whether the
stored CDB for a file has changed.
https://github.com/llvm/llvm-project/blob/1adca7af21f1d8cc12b0f1c33db8ab869b36ae48/clang
https://github.com/mpark created
https://github.com/llvm/llvm-project/pull/115438
The current `ClangdLSPServer::applyConfiguration` logic tests whether the
stored CDB for a file has changed.
https://github.com/llvm/llvm-project/blob/1adca7af21f1d8cc12b0f1c33db8ab869b36ae48/clang-tools-extra/cl
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/115300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -369,3 +369,150 @@ let Predicates = [HasAMXTRANSPOSE, In64BitMode] in {
}
}
} // HasAMXTILE, HasAMXTRANSPOSE
+
+multiclass m_tcvtrowd2ps {
+ let Predicates = [HasAMXAVX512, In64BitMode] in {
phoebewang wrote:
Done, thanks!
https://github.com/llvm/ll
https://github.com/phoebewang updated
https://github.com/llvm/llvm-project/pull/114070
>From 587d0105e7724db0f35fc5c8179519fa6319e5c8 Mon Sep 17 00:00:00 2001
From: "Wang, Phoebe"
Date: Tue, 29 Oct 2024 22:29:25 +0800
Subject: [PATCH 1/6] [X86][AMX] Support AMX-AVX512
---
clang/docs/ReleaseNo
yingopq wrote:
> > @yingopq As you regularly do MIPS work, I'd recommend to request commit
> > access, as described at
> > https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access.
>
> @nikic Thanks for your recommendation, I would try to request commit access.
Hi @nikic, do I ne
https://github.com/16bit-ykiko updated
https://github.com/llvm/llvm-project/pull/107982
>From fedea9e4fd57b618fe341e0c30982bff0f098c52 Mon Sep 17 00:00:00 2001
From: ykiko
Date: Tue, 10 Sep 2024 14:59:10 +0800
Subject: [PATCH 01/16] add co_return, co_await, co_yield, consteval,
constinit, conc
github-actions[bot] wrote:
@T-Tie 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, y
https://github.com/dtcxzyw closed
https://github.com/llvm/llvm-project/pull/111837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: T-Tie
Date: 2024-11-08T15:01:51+08:00
New Revision: c17a914675f8fcadbf0ef440aae7e0ab6c49ec0c
URL:
https://github.com/llvm/llvm-project/commit/c17a914675f8fcadbf0ef440aae7e0ab6c49ec0c
DIFF:
https://github.com/llvm/llvm-project/commit/c17a914675f8fcadbf0ef440aae7e0ab6c49ec0c.diff
LOG: [R
@@ -369,3 +369,150 @@ let Predicates = [HasAMXTRANSPOSE, In64BitMode] in {
}
}
} // HasAMXTILE, HasAMXTRANSPOSE
+
+multiclass m_tcvtrowd2ps {
+ let Predicates = [HasAMXAVX512, In64BitMode] in {
fzou1 wrote:
Should add HasAVX10_2_512 in line 374, 390 and
https://github.com/fzou1 edited https://github.com/llvm/llvm-project/pull/114070
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fzou1 commented:
LGTM except the last place probably missing avx10.2-512 dependency.
https://github.com/llvm/llvm-project/pull/114070
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang` at step 10 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/8230
Here is the r
boris-kolpackov wrote:
I don't know, I feel like you are just kicking the can down the road: if the
user sees a harmless warning continuously, they will suppress this warning, and
then won't see the harmful ones in the future. But then again we do this all
the time in C++, so I guess it's par
@@ -89,6 +89,7 @@ let TargetPrefix = "spv" in {
def int_spv_sign : DefaultAttrsIntrinsic<[LLVMScalarOrSameVectorWidth<0,
llvm_i32_ty>], [llvm_any_ty], [IntrNoMem]>;
def int_spv_radians : DefaultAttrsIntrinsic<[LLVMMatchType<0>],
[llvm_anyfloat_ty], [IntrNoMem]>;
def int
Author: Younan Zhang
Date: 2024-11-08T14:04:57+08:00
New Revision: 37b4df434d2cf82feb3672eeeb469e54ee8f7ff2
URL:
https://github.com/llvm/llvm-project/commit/37b4df434d2cf82feb3672eeeb469e54ee8f7ff2
DIFF:
https://github.com/llvm/llvm-project/commit/37b4df434d2cf82feb3672eeeb469e54ee8f7ff2.diff
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/115120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1731,31 +1731,21 @@ namespace {
return inherited::TransformLambdaBody(E, Body);
}
-ExprResult RebuildSizeOfPackExpr(SourceLocation OperatorLoc,
- NamedDecl *Pack, SourceLocation PackLoc,
-
ChuanqiXu9 wrote:
> > This is the C++'s ecosystem in the open ended world. Image a situation that
> > we're using a third party module and we add a new option to our library,
> > then the build bails out!
>
> I think this is the correct behavior if the incompatibility caused by said
> option
https://github.com/jaidTw closed
https://github.com/llvm/llvm-project/pull/115355
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jesse Huang
Date: 2024-11-08T13:46:27+08:00
New Revision: 3ad640357744890a20494a4943d9a8a94c5b3776
URL:
https://github.com/llvm/llvm-project/commit/3ad640357744890a20494a4943d9a8a94c5b3776
DIFF:
https://github.com/llvm/llvm-project/commit/3ad640357744890a20494a4943d9a8a94c5b3776.diff
L
https://github.com/SahilPatidar updated
https://github.com/llvm/llvm-project/pull/110418
>From a3bdb2c9e5f9f5c75dfb35647cf3513c6c631412 Mon Sep 17 00:00:00 2001
From: SahilPatidar
Date: Fri, 7 Jun 2024 13:30:08 +0530
Subject: [PATCH 01/11] [Clang-Repl] Implement out-of-process execution
interf
https://github.com/tclin914 closed
https://github.com/llvm/llvm-project/pull/115269
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jim Lin
Date: 2024-11-08T13:01:02+08:00
New Revision: ae509a085836079585228aede8a5017ad80e1aa9
URL:
https://github.com/llvm/llvm-project/commit/ae509a085836079585228aede8a5017ad80e1aa9
DIFF:
https://github.com/llvm/llvm-project/commit/ae509a085836079585228aede8a5017ad80e1aa9.diff
LOG:
https://github.com/4vtomat approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/115269
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
Still need to resolve the following test failures due to mismatch check lines
with gfx942.
```
LLVM :: CodeGen/AMDGPU/div-rem-by-constant-64.ll
LLVM :: CodeGen/AMDGPU/llvm.amdgcn.iglp.opt.exp.large.mir
LLVM :: CodeGen/AMDGPU/llvm.amdgcn.iglp.opt.exp.small.mir
```
https://
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/115190
>From 36713d37cb2852cea6f6095e2e6684428a1255fb Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Wed, 6 Nov 2024 12:49:45 -0500
Subject: [PATCH] [AMDGPU] Introduce a new generic target `gfx9-4-generic`
---
cla
mylai-mtk wrote:
LGTM
https://github.com/llvm/llvm-project/pull/115355
___
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-modules
Author: Chuanqi Xu (ChuanqiXu9)
Changes
There were many many "voices" about the too strict flags checking in modules.
Although they rarely challenge this, maybe due to they respect to the compiler
implementation details. But from my point
https://github.com/ChuanqiXu9 created
https://github.com/llvm/llvm-project/pull/115416
There were many many "voices" about the too strict flags checking in modules.
Although they rarely challenge this, maybe due to they respect to the compiler
implementation details. But from my point of view,
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `arc-builder` running on
`arc-worker` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/3/builds/7326
Here is the relevant piece of
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-4` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/9077
Here is the
https://github.com/inbelic closed
https://github.com/llvm/llvm-project/pull/113382
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win`
running on `sie-win-worker` while building `clang` at step 7
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/46/builds/7541
Here is the
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running
on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/154/builds/7141
Here is the relevant piece of
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building
`clang` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/133/builds/6457
Here is the relevant pie
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang` at step 5 "ninja check
1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/1708
Here is the relevant piece o
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick`
running on `linaro-clang-aarch64-quick` while building `clang` at step 5 "ninja
check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/65/builds/7426
Here is the relevant piec
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on
`hpce-ve-main` while building `clang` at step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/12/builds/9175
Here is the relevant piece of the build log for th
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Chinmay Deshpande (chinmaydd)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/115414.diff
2 Files Affected:
- (modified) clang/include/clang/Basic/AttributeCommonInfo.h (+1-1)
- (modified) clang/lib/Basic/Attributes.c
https://github.com/chinmaydd created
https://github.com/llvm/llvm-project/pull/115414
None
>From ce67d44d55ef488bac9428b4c7b78e37ea8471f6 Mon Sep 17 00:00:00 2001
From: Chinmay Deshpande
Date: Thu, 7 Nov 2024 22:05:03 -0500
Subject: [PATCH] [NFC][Clang] Use StringSwitch instead of array for pa
Author: Finn Plummer
Date: 2024-11-07T19:06:37-08:00
New Revision: e520b28397fa7ad39a9934df65f45cbdf5514a84
URL:
https://github.com/llvm/llvm-project/commit/e520b28397fa7ad39a9934df65f45cbdf5514a84
DIFF:
https://github.com/llvm/llvm-project/commit/e520b28397fa7ad39a9934df65f45cbdf5514a84.diff
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while
building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/144/builds/11132
@@ -0,0 +1,381 @@
+/*===- amxavx512intrin.h - AMXAVX512
===
+ *
+ * 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
https://github.com/phoebewang updated
https://github.com/llvm/llvm-project/pull/114070
>From 587d0105e7724db0f35fc5c8179519fa6319e5c8 Mon Sep 17 00:00:00 2001
From: "Wang, Phoebe"
Date: Tue, 29 Oct 2024 22:29:25 +0800
Subject: [PATCH 1/5] [X86][AMX] Support AMX-AVX512
---
clang/docs/ReleaseNo
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/113382
>From 35731658c1769453f86dde6063b137a2c5aeca32 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Fri, 18 Oct 2024 15:48:29 -0700
Subject: [PATCH 1/4] [DXIL][SPIRV] Lower WaveActiveCountBits intrinsic
- add co
@@ -133,6 +133,12 @@ TARGET_BUILTIN(__builtin_ia32_t2rpntlvwz0t1_internal,
"vUsUsUsV256i*V256i*vC*z",
TARGET_BUILTIN(__builtin_ia32_t2rpntlvwz1_internal, "vUsUsUsV256i*V256i*vC*z",
"n", "amx-transpose")
TARGET_BUILTIN(__builtin_ia32_t2rpntlvwz1t1_internal,
"vUsUsUsV256i*V256i
https://github.com/phoebewang updated
https://github.com/llvm/llvm-project/pull/114070
>From 587d0105e7724db0f35fc5c8179519fa6319e5c8 Mon Sep 17 00:00:00 2001
From: "Wang, Phoebe"
Date: Tue, 29 Oct 2024 22:29:25 +0800
Subject: [PATCH 1/4] [X86][AMX] Support AMX-AVX512
---
clang/docs/ReleaseNo
Author: Matt Arsenault
Date: 2024-11-07T18:59:46-08:00
New Revision: 889d67785905ea85cdb17b2bf2b4b6f010b641f5
URL:
https://github.com/llvm/llvm-project/commit/889d67785905ea85cdb17b2bf2b4b6f010b641f5
DIFF:
https://github.com/llvm/llvm-project/commit/889d67785905ea85cdb17b2bf2b4b6f010b641f5.diff
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/115238
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,381 @@
+/*===- amxavx512intrin.h - AMXAVX512
===
+ *
+ * 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
@@ -133,6 +133,12 @@ TARGET_BUILTIN(__builtin_ia32_t2rpntlvwz0t1_internal,
"vUsUsUsV256i*V256i*vC*z",
TARGET_BUILTIN(__builtin_ia32_t2rpntlvwz1_internal, "vUsUsUsV256i*V256i*vC*z",
"n", "amx-transpose")
TARGET_BUILTIN(__builtin_ia32_t2rpntlvwz1t1_internal,
"vUsUsUsV256i*V256i
yingopq wrote:
> @yingopq As you regularly do MIPS work, I'd recommend to request commit
> access, as described at
> https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access.
Thanks for your recommendation, I would try to request commit access.
https://github.com/llvm/llvm-project/p
https://github.com/spall approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/114847
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -553,3 +748,20 @@ void HLSLExternalSemaSource::CompleteType(TagDecl *Tag) {
return;
It->second(Record);
}
+
+static FunctionDecl *lookupBuiltinFunction(Sema &S, StringRef Name) {
+ IdentifierInfo &II =
+ S.getASTContext().Idents.get(Name, tok::TokenKind::identifi
NagyDonat wrote:
@balazske As we discussed in person, I think you switch to detecting
_dereference_ of fixed addresses (instead of extending the current "store of
fixed address in pointer value" model e.g. by the commit under review).
I think you should briefly look at DereferenceChecker and c
@@ -530,6 +530,28 @@ void
HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations() {
.addArraySubscriptOperators()
.completeDefinition();
});
+
+ Decl =
+ BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "AppendStructuredBuffer")
+ .addS
@@ -35,6 +35,9 @@ def int_dx_typedBufferLoad_checkbit
def int_dx_typedBufferStore
: DefaultAttrsIntrinsic<[], [llvm_any_ty, llvm_i32_ty, llvm_anyvector_ty]>;
+def int_dx_bufferUpdateCounter
+: DefaultAttrsIntrinsic<[llvm_i32_ty], [llvm_any_ty, llvm_i32_ty],
[IntrWrite
hekota wrote:
Filled an issue to track: llvm/llvm-project#115412
https://github.com/llvm/llvm-project/pull/113643
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
@@ -0,0 +1,22 @@
+// RUN: %clang_cc1 -finclude-default-header -triple
dxil-pc-shadermodel6.6-library %s -emit-llvm-only -disable-llvm-passes -verify
+
+using handle_t = __hlsl_resource_t [[hlsl::resource_class(UAV)]]
[[hlsl::contained_type(int)]];
tex3d wrote:
hekota wrote:
I might be worth merging these tests into one, though I am not sure if we
should have one for all buffers. I think it would be better to group them, like
structured buffers, raw buffers, textures etc. We are also adding the AST for
buffer method
@@ -0,0 +1,77 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv-unknown-unknown %s -o - |
FileCheck %s --check-prefixes=CHECK,SPIRV15
+; RUN: llc -verify-machineinstrs
-spirv-ext=+SPV_EXT_demote_to_helper_invocation -O0
-mtriple=spirv32v1.6-unknown-unknown %s -o - | FileC
@@ -1407,6 +1407,15 @@ void addInstrRequirements(const MachineInstr &MI,
Reqs.addCapability(SPIRV::Capability::SplitBarrierINTEL);
}
break;
+ case SPIRV::OpKill: {
+Reqs.addCapability(SPIRV::Capability::Shader) ;
+ } break;
+ case SPIRV::OpDemoteToHelperInv
https://github.com/s-perron commented:
LGTM, just need to fix up the misunderstanding about how the spirv version and
the extension interact.
https://github.com/llvm/llvm-project/pull/114588
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http
https://github.com/s-perron edited
https://github.com/llvm/llvm-project/pull/114588
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2161,6 +2186,22 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
return true;
break;
}
+ case Builtin::BI__builtin_hlsl_buffer_update_counter: {
+if (SemaRef.checkArgCount(TheCall, 2) ||
+CheckResourceHandle(&Sema
https://github.com/adam-yang closed
https://github.com/llvm/llvm-project/pull/113394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Adam Yang
Date: 2024-11-07T17:47:53-08:00
New Revision: 36d757f8406a00539228e15b44bb850936871421
URL:
https://github.com/llvm/llvm-project/commit/36d757f8406a00539228e15b44bb850936871421
DIFF:
https://github.com/llvm/llvm-project/commit/36d757f8406a00539228e15b44bb850936871421.diff
LOG
https://github.com/tex3d deleted
https://github.com/llvm/llvm-project/pull/114148
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tex3d deleted
https://github.com/llvm/llvm-project/pull/114148
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/113394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2161,6 +2186,22 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
return true;
break;
}
+ case Builtin::BI__builtin_hlsl_buffer_update_counter: {
+if (SemaRef.checkArgCount(TheCall, 2) ||
+CheckResourceHandle(&Sema
@@ -1880,6 +1880,31 @@ static bool CheckVectorSelect(Sema *S, CallExpr
*TheCall) {
return false;
}
+static bool CheckResourceHandle(Sema *S, CallExpr *TheCall, unsigned ArgIndex)
{
+ assert(TheCall->getNumArgs() >= ArgIndex);
+ QualType ArgType = TheCall->getArg(ArgIndex
@@ -2161,6 +2186,22 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
return true;
break;
}
+ case Builtin::BI__builtin_hlsl_buffer_update_counter: {
+if (SemaRef.checkArgCount(TheCall, 2) ||
+CheckResourceHandle(&Sema
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/113382
___
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 1ced07e06e23659a96dbf6d53cd68d3bbbe3d792
eda669f73765a957cc47d3d684a6443ed2f75edf --e
@@ -553,3 +748,20 @@ void HLSLExternalSemaSource::CompleteType(TagDecl *Tag) {
return;
It->second(Record);
}
+
+static FunctionDecl *lookupBuiltinFunction(Sema &S, StringRef Name) {
+ IdentifierInfo &II =
+ S.getASTContext().Idents.get(Name, tok::TokenKind::identifi
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (ZijunZhaoCCK)
Changes
*LONG_LONG*_ macros are not GNU-only extensions any more. Bionic also defines
them.
---
Full diff: https://github.com/llvm/llvm-project/pull/115406.diff
1 Files Affected:
- (modified) clang/lib/Headers/limit
https://github.com/ZijunZhaoCCK created
https://github.com/llvm/llvm-project/pull/115406
*LONG_LONG*_ macros are not GNU-only extensions any more. Bionic also defines
them.
>From eda669f73765a957cc47d3d684a6443ed2f75edf Mon Sep 17 00:00:00 2001
From: Zijun
Date: Fri, 8 Nov 2024 01:04:21 +
@@ -343,27 +336,224 @@ struct TemplateParameterListBuilder {
Params.clear();
QualType T = Builder.Template->getInjectedClassNameSpecialization();
-T = S.Context.getInjectedClassNameType(Builder.Record, T);
+T = AST.getInjectedClassNameType(Builder.Record, T);
alanzhao1 wrote:
> Reverted. The issue looks like the instantiation of the default argument was
> skipped, but without any previous error actually being produced, so it
> proceeded to CodeGen with invalid AST.
Thanks! Still waiting on CReduce for that repro.
https://github.com/llvm/llvm-proje
alanzhao1 wrote:
For posterity, here's the entire stacktrace I got:
```
/usr/local/google/home/ayzhao/src/llvm-project/build/bin/clang++ -MMD -MF
obj/third_party/dawn/src/dawn/tests/dawn_unittests/CacheRequestTests.o.d
-DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -D__STDC_CONSTANT_MACROS
mizvekov wrote:
Reverted. The issue looks like the instantiation of the default argument was
skipped, but without any previous error actually being produced, so it
proceeded to CodeGen with invalid AST.
https://github.com/llvm/llvm-project/pull/113777
__
@@ -343,27 +336,224 @@ struct TemplateParameterListBuilder {
Params.clear();
QualType T = Builder.Template->getInjectedClassNameSpecialization();
-T = S.Context.getInjectedClassNameType(Builder.Record, T);
+T = AST.getInjectedClassNameType(Builder.Record, T);
Author: Matheus Izvekov
Date: 2024-11-07T21:53:01-03:00
New Revision: 74deb661dfa9301ec6fed46114e59317b1503ded
URL:
https://github.com/llvm/llvm-project/commit/74deb661dfa9301ec6fed46114e59317b1503ded
DIFF:
https://github.com/llvm/llvm-project/commit/74deb661dfa9301ec6fed46114e59317b1503ded.dif
https://github.com/mizvekov closed
https://github.com/llvm/llvm-project/pull/115404
___
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
Reverts llvm/llvm-project#113777
Reverted due to regression reported here:
https://github.com/llvm/llvm-project/pull/113777#issuecomment-2463465741
---
Full diff: https://github.com/llvm/llvm-project/pu
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/115404
Reverts llvm/llvm-project#113777
Reverted due to regression reported here:
https://github.com/llvm/llvm-project/pull/113777#issuecomment-2463465741
>From c702e6179cdde1460f33a300b78708f232f146e3 Mon Sep 17 00
@@ -343,27 +336,224 @@ struct TemplateParameterListBuilder {
Params.clear();
QualType T = Builder.Template->getInjectedClassNameSpecialization();
-T = S.Context.getInjectedClassNameType(Builder.Record, T);
+T = AST.getInjectedClassNameType(Builder.Record, T);
alanzhao1 wrote:
Based on the [patch reversion
policy](https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy), I
think reverting is the right thing to do.
(I'm working on the reduced repro, but creduce is _really_ slow. In the
meantime, I attached the unreduced files).
[unreduce
https://github.com/ZijunZhaoCCK updated
https://github.com/llvm/llvm-project/pull/71771
>From 06c4cf02dfb4b20c8349c5f3c7209276f6d56edf Mon Sep 17 00:00:00 2001
From: zijunzhao
Date: Thu, 9 Nov 2023 02:21:46 +
Subject: [PATCH 1/5] Fix clang to recognize new C23 modifiers %w and %wf when
pri
https://github.com/t-rasmud edited
https://github.com/llvm/llvm-project/pull/114606
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,117 @@
+//===- MemoryUnsafeCastChecker.cpp -*- 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: Apach
@@ -271,53 +246,70 @@ struct BuiltinTypeDeclBuilder {
return *this;
}
+ FieldDecl *getResourceHandleField() {
+FieldDecl *FD = Fields["h"];
tex3d wrote:
Won't this add "h" when accessed this way?
How about:
```suggestion
FieldDecl *FD = Fields.
https://github.com/t-rasmud updated
https://github.com/llvm/llvm-project/pull/114606
>From cc19550fdbaca4b77e90de57c472a31a8c3f8293 Mon Sep 17 00:00:00 2001
From: Rashmi Mudduluru
Date: Fri, 1 Nov 2024 14:10:50 -0700
Subject: [PATCH 1/5] [Webkit Checkers] Introduce a Webkit checker for memory
@@ -27,3 +27,27 @@ -(void)testCasts:(BaseClass*)base {
base = (BaseClass*)base; // no warning
}
@end
+
+template
+class WrappedObject
+{
+public:
+ T get() const { return mMetalObject; }
+ T mMetalObject = nullptr;
+};
+
+@protocol MTLCommandEncoder
+@end
+@protocol MTLRe
@@ -109,22 +116,16 @@ struct BuiltinTypeDeclBuilder {
}
BuiltinTypeDeclBuilder &
- addHandleMember(Sema &S, ResourceClass RC, ResourceKind RK, bool IsROV,
- bool RawBuffer,
+ addHandleMember(ResourceClass RC, ResourceKind RK, bool IsROV, bool
RawBuffer,
a-tarasyuk wrote:
@alanzhao1 thanks for catching that. should I revert it?
https://github.com/llvm/llvm-project/pull/113777
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4883,6 +4882,12 @@ def HLSLRadians : LangBuiltin<"HLSL_LANG"> {
let Prototype = "void(...)";
}
+def HLSLBufferUpdateCounter : LangBuiltin<"HLSL_LANG"> {
+ let Spellings = ["__builtin_hlsl_buffer_update_counter"];
+ let Attributes = [NoThrow];
+ let Prototype = "uint32
1 - 100 of 449 matches
Mail list logo