@@ -2259,6 +2259,17 @@ QualType Sema::BuildArrayType(QualType T,
ArraySizeModifier ASM,
isSFINAEContext() ? diag::err_typecheck_zero_array_size
: diag::ext_typecheck_zero_array_size)
<< 0 << ArraySize->getSourceRange();
+
@@ -894,6 +894,16 @@ uint64_t dot(uint64_t3, uint64_t3);
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_dot)
uint64_t dot(uint64_t4, uint64_t4);
+//===--===//
+// dot4add builtins
+//===---
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
[CWG279](https://cplusplus.github.io/CWG/issues/279.html) Correspondence of
"names for linkage purposes"
[P1787R6](https://wg21.link/p1787r6):
> CWG1884, CWG279, and CWG338 are res
https://github.com/DanielKristofKiss updated
https://github.com/llvm/llvm-project/pull/113368
>From 3dd2f4da57eb164e67fd54b66c09cc8b771ee24f Mon Sep 17 00:00:00 2001
From: Daniel Kiss
Date: Wed, 16 Oct 2024 14:48:25 -0700
Subject: [PATCH 1/5] [libunwind][AArch64] Protect PC within libunwind's
Endilll wrote:
@ChuanqiXu9 Can you take a quick look to make sure I'm not tripping over any
modules lines in those tests?
This is the PR I promised to pull you in almost 2 weeks ago (sorry for the
delay 😄).
https://github.com/llvm/llvm-project/pull/113736
__
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/113736
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/113730
>From a31199224c19c1087b114de29d864125b720e6d8 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 25 Oct 2024 12:33:05 -0700
Subject: [PATCH 1/3] add type trait
---
.../clang/AST/CXXRecordDeclDefinition
cmc-rep wrote:
Duplicate
https://github.com/llvm/llvm-project/pull/113728
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,154 @@
+//===-- amdgpuintrin.h - AMDPGU intrinsic functions
---===//
+//
+// 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,154 @@
+//===-- amdgpuintrin.h - AMDPGU intrinsic functions
---===//
+//
+// 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
jhuber6 wrote:
> It's how it works today, I believe: `--offload-arch` unambiguously
> establishes the toolchain
It's pretty ambiguous, right now it mostly works through a combination of the
file type and good guessing because the targets people care about now have
distinct names. For OpenMP,
https://github.com/inbelic approved this pull request.
https://github.com/llvm/llvm-project/pull/112461
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/malavikasamak updated
https://github.com/llvm/llvm-project/pull/112284
>From 7e00765481784324450982e4789bf61bf66dbfdf Mon Sep 17 00:00:00 2001
From: MalavikaSamak
Date: Fri, 11 Oct 2024 12:24:58 -0700
Subject: [PATCH] [Wunsafe-buffer-usage] False positives for & expression
i
https://github.com/apple-fcloutier created
https://github.com/llvm/llvm-project/pull/113745
Before this change, ParseObjc would call the closing `MaybeParseAttributes`
before it had created Objective-C `ParmVarDecl` objects (and associated name
lookup entries), meaning that you could not refer
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (apple-fcloutier)
Changes
Before this change, ParseObjc would call the closing `MaybeParseAttributes`
before it had created Objective-C `ParmVarDecl` objects (and associated name
lookup entries), meaning that you could not reference
@@ -2163,6 +2163,49 @@ static void BuildFlattenedTypeList(QualType BaseTy,
}
}
+bool SemaHLSL::IsLineVectorLayoutCompatibleType(clang::QualType QT) {
+ if (QT.isNull())
+return false;
+
+ llvm::SmallVector QTTypes;
+ BuildFlattenedTypeList(QT, QTTypes);
+
+ QualType
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/112025
>From a02a27171801ad3f5618099b5035ef8185c2f835 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Fri, 11 Oct 2024 12:21:49 -0500
Subject: [PATCH 1/4] [Clang] Add a flag to include GPU startup files
Summary:
The
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/112025
>From a02a27171801ad3f5618099b5035ef8185c2f835 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Fri, 11 Oct 2024 12:21:49 -0500
Subject: [PATCH 1/5] [Clang] Add a flag to include GPU startup files
Summary:
The
https://github.com/malavikasamak updated
https://github.com/llvm/llvm-project/pull/112284
>From 80e593f62c9f00e6d639b870ec4912de2b971864 Mon Sep 17 00:00:00 2001
From: MalavikaSamak
Date: Fri, 11 Oct 2024 12:24:58 -0700
Subject: [PATCH] [Wunsafe-buffer-usage] False positives for & expression
i
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/112025
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,154 @@
+//===-- amdgpuintrin.h - AMDPGU intrinsic functions
---===//
+//
+// 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,76 @@
+//===-- gpuintrin.h - Generic GPU intrinsic functions
-===//
+//
+// 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
c8ef wrote:
Hi @cor3ntin @tbaederr, since @hubert-reinterpretcast is unavailable for
review, could you please help me find someone else who is capable and available
to review this? Thank you!
https://github.com/llvm/llvm-project/pull/113020
___
cfe-c
Cydox wrote:
We do have to consider though that when `__bdos` is for one of the maximum
types (`type & 2 == 0`), it should actually return the largest allowed object
that is consistent with the count.
https://github.com/llvm/llvm-project/blob/3b88805ca20018ae202afd3aea39f4fa856a8c64/clang/docs
https://github.com/Endilll edited
https://github.com/llvm/llvm-project/pull/113736
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endilll wrote:
Ah, so it's the issue of PRs not being tested against `main`.
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cmc-rep wrote:
Looks like I also need to fix the number in that test
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/112081
>From 67c41612085489a2a17eec49f98dbfa0e5bb97cf Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 12 Oct 2024 08:27:51 +0300
Subject: [PATCH 1/4] [Clang] fix range calculation for conditionals with throw
https://github.com/cmc-rep created
https://github.com/llvm/llvm-project/pull/113738
None
>From 3315b2857de4d16a8ea1bfec5437296719fc4845 Mon Sep 17 00:00:00 2001
From: gangc
Date: Fri, 25 Oct 2024 13:54:12 -0700
Subject: [PATCH] [clang] update the number in no-external-type-id.cppm
---
clang/
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Gang Chen (cmc-rep)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113738.diff
1 Files Affected:
- (modified) clang/test/Modules/no-external-type-id.cppm (+1-1)
``diff
diff --git a/clang/test/Module
efriedma-quic wrote:
SetLLVMFunctionAttributes() should add the appropriate signext/zeroext
attribute. At least, it appears to work in my testing. I'll add a regression
test.
https://github.com/llvm/llvm-project/pull/113506
___
cfe-commits mailing
https://github.com/cmc-rep closed
https://github.com/llvm/llvm-project/pull/113728
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endilll wrote:
Also, having to use absolute line numbers in expected directives sucks. I hope
I wouldn't need to change any comments at the top of CWG1884 test. At some
point I'll make `-verify` markers work for cross-TU scenarios.
https://github.com/llvm/llvm-project/pull/113736
_
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/113730
>From a915def0c7cb69d8c910c697aa610fa37278d032 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 25 Oct 2024 12:33:05 -0700
Subject: [PATCH 1/2] add type trait
---
.../clang/AST/CXXRecordDeclDefinition
https://github.com/cmc-rep updated
https://github.com/llvm/llvm-project/pull/113738
>From 3315b2857de4d16a8ea1bfec5437296719fc4845 Mon Sep 17 00:00:00 2001
From: gangc
Date: Fri, 25 Oct 2024 13:54:12 -0700
Subject: [PATCH] [clang] update the number in no-external-type-id.cppm
---
clang/test/M
Endilll wrote:
How did this get through pre-merge testing, I wonder.
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vvd170501 updated
https://github.com/llvm/llvm-project/pull/113612
>From 96662cb7f681e7158c05a0190894de70eee03d67 Mon Sep 17 00:00:00 2001
From: Vadim Dudkin
Date: Thu, 24 Oct 2024 23:18:52 +0300
Subject: [PATCH 1/4] Update std symbol mapping to v20230810; Move assertion to
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/112081
>From 67c41612085489a2a17eec49f98dbfa0e5bb97cf Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 12 Oct 2024 08:27:51 +0300
Subject: [PATCH 1/4] [Clang] fix range calculation for conditionals with throw
https://github.com/benlangmuir approved this pull request.
https://github.com/llvm/llvm-project/pull/113718
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 closed
https://github.com/llvm/llvm-project/pull/113718
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yxsamliu approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/111890
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ziqingluo-90 wrote:
Hi @danakj , we are really looking forward to this change! Will you finish
it soon? Or I can pick it up and land it on behalf of you?
https://github.com/llvm/llvm-project/pull/91991
___
cfe-commits mailing list
cfe-commits@list
@@ -767,6 +768,27 @@ Driver::OpenMPRuntimeKind Driver::getOpenMPRuntime(const
ArgList &Args) const {
return RT;
}
+static const char *getDefaultSYCLArch(Compilation &C) {
+ // If -fsycl is supplied we will assume SPIR-V
+ if (C.getDefaultToolChain().getTriple().getArch()
https://github.com/mdtoguchi updated
https://github.com/llvm/llvm-project/pull/107493
>From 411203429a789330f044d6d7b2c0216cf21d816b Mon Sep 17 00:00:00 2001
From: Michael D Toguchi
Date: Thu, 29 Aug 2024 16:39:42 -0700
Subject: [PATCH 1/6] [Driver][SYCL] Add initial SYCL offload compilation
s
boomanaiden154 wrote:
#113739 should fix this problem by just adding the options as part of the build
and omitting them from the documentation source.
https://github.com/llvm/llvm-project/pull/111513
___
cfe-commits mailing list
cfe-commits@lists.llvm
https://github.com/mdtoguchi updated
https://github.com/llvm/llvm-project/pull/107493
>From 411203429a789330f044d6d7b2c0216cf21d816b Mon Sep 17 00:00:00 2001
From: Michael D Toguchi
Date: Thu, 29 Aug 2024 16:39:42 -0700
Subject: [PATCH 1/7] [Driver][SYCL] Add initial SYCL offload compilation
s
jroelofs wrote:
> The ; did you mean to use BAR? version was accidentally emitted in some
> cases where it didn't make sense to do so, but the tests still passed because
> the diagnostic did contain cannot use FOO in context asdf.
There's a `FileCheck` flag to enforce this: `--match-full-line
hnrklssn wrote:
> > The ; did you mean to use BAR? version was accidentally emitted in some
> > cases where it didn't make sense to do so, but the tests still passed
> > because the diagnostic did contain cannot use FOO in context asdf.
>
>
>
> There's a `FileCheck` flag to enforce this: `-
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/113730
>From a915def0c7cb69d8c910c697aa610fa37278d032 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 25 Oct 2024 12:33:05 -0700
Subject: [PATCH 1/3] add type trait
---
.../clang/AST/CXXRecordDeclDefinition
BenBlumer wrote:
@5chmidti I'm excited for this to be mainlined. Give me a thumbs up if you want
me to fix the typo and rebase for you -- happy to do it this weekend.
https://github.com/llvm/llvm-project/pull/81640
___
cfe-commits mailing list
cfe-co
mdtoguchi wrote:
Thanks for the review @bader, I have made updates and hope to have addressed
your concerns.
https://github.com/llvm/llvm-project/pull/107493
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
@@ -95,6 +99,126 @@ static void initializeAlloca(CodeGenFunction &CGF,
AllocaInst *AI, Value *Size,
I->addAnnotationMetadata("auto-init");
}
+static Value *handleHlslSplitdouble(const CallExpr *E, CodeGenFunction *CGF) {
+ Value *Op0 = CGF->EmitScalarExpr(E->getArg(0));
+
@@ -0,0 +1,99 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple
dxil-pc-shadermodel6.3-library %s -fnative-half-type -emit-llvm -O1 -o - |
FileCheck %s
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple
spirv-vulkan-library %s -fnative-half-type -emit-ll
https://github.com/z1nke updated
https://github.com/llvm/llvm-project/pull/113688
>From a2184027393c9e9605aaa08f1d1eef4b11cd9be1 Mon Sep 17 00:00:00 2001
From: czn
Date: Fri, 25 Oct 2024 21:48:50 +0800
Subject: [PATCH 1/3] [clang-tidy] Fix crash in
modernize-use-designated-initializers check
@@ -703,6 +715,39 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op,
SelectionDAG &DAG) const {
return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
}
+SDValue BPFTargetLowering::LowerATOMIC_LOAD(SDValue Op,
+SelectionDAG &D
Cydox wrote:
> It's probably worthwhile to perform some analysis to see if using that to
> calculate the new size results in allocation size changes in the kernel. If
> not, then perhaps we could reinstate the "whole struct" code.
This can calculation can result in both larger and smaller size
inbelic wrote:
Typo in filename: `TypeErros` -> `TypeErrors`
https://github.com/llvm/llvm-project/pull/113730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
https://github.com/peilin-ye edited
https://github.com/llvm/llvm-project/pull/108636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -703,6 +715,39 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op,
SelectionDAG &DAG) const {
return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
}
+SDValue BPFTargetLowering::LowerATOMIC_LOAD(SDValue Op,
+SelectionDAG &D
@@ -703,6 +715,39 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op,
SelectionDAG &DAG) const {
return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
}
+SDValue BPFTargetLowering::LowerATOMIC_LOAD(SDValue Op,
+SelectionDAG &D
z1nke wrote:
@nicovank Thanks! Release note has been added.
What do others think about the argument?
https://github.com/llvm/llvm-project/pull/113688
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
Cydox wrote:
Example of both cases: https://godbolt.org/z/dhzG69sab
https://github.com/llvm/llvm-project/pull/112636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -95,6 +99,126 @@ static void initializeAlloca(CodeGenFunction &CGF,
AllocaInst *AI, Value *Size,
I->addAnnotationMetadata("auto-init");
}
+static Value *handleHlslSplitdouble(const CallExpr *E, CodeGenFunction *CGF) {
+ Value *Op0 = CGF->EmitScalarExpr(E->getArg(0));
+
https://github.com/dschuff approved this pull request.
I think Emscripten is ready for this now, thanks for working on this!
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org
Cydox wrote:
> ```
> struct S {
> int foo;
> char fam[N];
> };
> ```
>
> Well, for N = 4 we have `sizeof(struct S) == 8` and for N = 5 we have
> `sizeof(struct S) == 12` (due to alignment padding), therefore N = 4. That
> makes `s->fam[4]` out-of-bounds. Am I wrong?
Using this example
501 - 565 of 565 matches
Mail list logo