https://github.com/llvm-beanz updated
https://github.com/llvm/llvm-project/pull/104474
>From a68223e1d0ee5e1b41ea7ec2385c9d581c901e70 Mon Sep 17 00:00:00 2001
From: Chris Bieneman
Date: Thu, 15 Aug 2024 12:03:55 -0500
Subject: [PATCH 1/2] [HLSL][Doc] Document multi-argument resolution
This upd
Author: Chris B
Date: 2024-08-16T10:51:07-05:00
New Revision: 4a57e834f7de83d85d994c63647aa957279c354e
URL:
https://github.com/llvm/llvm-project/commit/4a57e834f7de83d85d994c63647aa957279c354e
DIFF:
https://github.com/llvm/llvm-project/commit/4a57e834f7de83d85d994c63647aa957279c354e.diff
LOG:
https://github.com/llvm-beanz closed
https://github.com/llvm/llvm-project/pull/104479
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alexfh wrote:
Thanks for the fix, @a-tarasyuk! Can you merge the PR or should I do this for
you?
https://github.com/llvm/llvm-project/pull/104594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
nikic wrote:
Is this REQUIRED needed? You normally do not need the backend to be available
for clang codegen tests.
https://github.com/llvm/llvm-project/pull/104607
zmodem wrote:
I have no idea what's going on here, but we also bisected test failures to this
patch: https://crbug.com/360066428
https://github.com/llvm/llvm-project/pull/104037
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llv
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
earnol wrote:
It present in other tests which are target specific. Anyways this test will not
work properly for targets big endian. So it is required.
https://github.com/llvm/llvm-project/pull/104607
_
https://github.com/earnol edited
https://github.com/llvm/llvm-project/pull/104607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/pskrgag updated
https://github.com/llvm/llvm-project/pull/104599
>From 913036ab795d6b91d6bb74d82aa2d329fe689535 Mon Sep 17 00:00:00 2001
From: Pavel Skripkin
Date: Fri, 16 Aug 2024 17:45:57 +0300
Subject: [PATCH 1/2] clang/csa: suspect all functions as those that may do
refc
lenary wrote:
I was a reviewer on the original patch, and I can see that I let some not great
things through - claiming options that should not have been claimed, etc.
I also do think that the situation has changed since then - more platform
defaults are opting out of the sbss/sdata optimisati
https://github.com/lenary approved this pull request.
https://github.com/llvm/llvm-project/pull/83093
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zmodem wrote:
We hit a test failure on Windows too: (from
https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/873944755620209/+/u/package_clang/stdout)
Note that `long` is 32 bits on Windows, but this is a 64-bit build, so size_t
should be 64 bits.
... and now I see there's
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows`
running on `linaro-armv8-windows-msvc-05` while building `clang` at step 6
"test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/141/builds/1619
Here is the relevant piece of t
ArcaneNibble wrote:
> Have you, using this patch, managed to reimplement the hardcoded multilib
> behaviour?
I did some experimenting and managed to implement something very close
(especially using the fake flag hack mentioned in the forums):
```yaml
MultilibVersion: 1.0
Groups:
- Name: rv32
Author: R
Date: 2024-08-16T17:14:16+01:00
New Revision: b221c37082707e35b492baa9ae8045c56b3ced0b
URL:
https://github.com/llvm/llvm-project/commit/b221c37082707e35b492baa9ae8045c56b3ced0b
DIFF:
https://github.com/llvm/llvm-project/commit/b221c37082707e35b492baa9ae8045c56b3ced0b.diff
LOG: [RISCV
https://github.com/ArcaneNibble closed
https://github.com/llvm/llvm-project/pull/98856
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ilovepi wrote:
Unfortunately, I don't think we have a way to run a patch on post-submit bots
before it lands. I think everyone has been frustrated by that limitation at one
time or another. I usually ask the reporters/bot owners if its possible. If
they're able to help, most contributors are m
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/104607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/clementval created
https://github.com/llvm/llvm-project/pull/104613
Flang is switch to cc1 when we use `-x cuda`. Make sure we can use fc1 with
cuda fortran input.
The current pipeline will fail at MLIR level for the moment.
>From 36e18ae7bfa6fd2647da0b78bf2c332969b1091d M
https://github.com/clementval edited
https://github.com/llvm/llvm-project/pull/104613
___
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: Valentin Clement (バレンタイン クレメン) (clementval)
Changes
Flang is switch to cc1 when we use `-x cuda`. Make sure we can use fc1 with
cuda fortran input.
The current pipeline will fail at MLIR level for the moment.
#104483
---
Full diff: htt
Author: earnol
Date: 2024-08-16T12:34:22-04:00
New Revision: d8c2874172ebe70d34c08dea5fcf885283c93562
URL:
https://github.com/llvm/llvm-project/commit/d8c2874172ebe70d34c08dea5fcf885283c93562
DIFF:
https://github.com/llvm/llvm-project/commit/d8c2874172ebe70d34c08dea5fcf885283c93562.diff
LOG: [
https://github.com/earnol closed
https://github.com/llvm/llvm-project/pull/104607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ksromanov updated
https://github.com/llvm/llvm-project/pull/104540
>From 5c5f8496341e7b97faf62dad2ba7e0b210bde11b Mon Sep 17 00:00:00 2001
From: Konstantin Romanov
Date: Fri, 9 Aug 2024 23:40:07 -0400
Subject: [PATCH 1/2] Workaround for cppcoreguidelines-pro-type-union-access
a-tarasyuk wrote:
@alexfh Please merge the PR as I lack the access. Thanks
https://github.com/llvm/llvm-project/pull/104594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lenary edited
https://github.com/llvm/llvm-project/pull/104601
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/banach-space edited
https://github.com/llvm/llvm-project/pull/104613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -12,4 +13,8 @@ program main
! CHECK: INTEGER :: var = 1
! CHECK: INTEGER, DEVICE :: dvar
-! ERROR: cuda-option.f90:8:19: error: expected end of statement
+! ERROR: cuda-option.f90:{{.*}}:{{.*}}: error: expected end of statement
+
+! The whole pipeline is not in place yet. I
https://github.com/banach-space approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/104613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/104586
>From 36eb12a12db45ca345fe9a3945431c19eff2a6cf Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Tue, 9 Jul 2024 08:37:18 +0200
Subject: [PATCH 1/3] [Clang] Implement P2747 constexpr placement new
In C++26 a
https://github.com/clementval updated
https://github.com/llvm/llvm-project/pull/104613
>From 36e18ae7bfa6fd2647da0b78bf2c332969b1091d Mon Sep 17 00:00:00 2001
From: Valentin Clement
Date: Fri, 16 Aug 2024 09:23:29 -0700
Subject: [PATCH 1/2] [flang][cuda][driver] Make sure flang does not switch
@@ -78,12 +80,12 @@ namespace ns {
extern "C" struct A { int main(); }; // ok
namespace c {
- extern "C" void main(); // expected-warning {{'main' should not be 'extern
"C"'}}
+ extern "C" int main(); // expected-warning {{'main' should not be 'extern
"C"'}}
}
extern "
earnol wrote:
Since automatic revert is not working i have applied
https://github.com/llvm/llvm-project/pull/104607 and monitoring builders.
https://github.com/llvm/llvm-project/pull/96240
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
@@ -78,12 +80,12 @@ namespace ns {
extern "C" struct A { int main(); }; // ok
namespace c {
- extern "C" void main(); // expected-warning {{'main' should not be 'extern
"C"'}}
+ extern "C" int main(); // expected-warning {{'main' should not be 'extern
"C"'}}
}
extern "
earnol wrote:
> Please pass an explicit `-triple` to `%clang_cc1` if the test is not supposed
> to be big endian compatible.
This had been done in https://github.com/llvm/llvm-project/pull/104607. Please
check.
https://github.com/llvm/llvm-project/pull/96240
__
@@ -78,12 +80,12 @@ namespace ns {
extern "C" struct A { int main(); }; // ok
namespace c {
- extern "C" void main(); // expected-warning {{'main' should not be 'extern
"C"'}}
+ extern "C" int main(); // expected-warning {{'main' should not be 'extern
"C"'}}
}
extern "
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/102913
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
I applied this locally and it resolved
https://github.com/llvm/llvm-project/issues/64863 so I'm looking forward to
this landing.
https://github.com/llvm/llvm-project/pull/102913
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
@@ -551,24 +541,21 @@ getHLSLResourceAttrFromEitherDecl(VarDecl *VD,
// the resource attr could be on the record decl itself or on one of
// its fields (the resource handle, most commonly)
-const auto *Attr = TheRecordDecl->getAttr();
+const auto *Attr = TheRec
eddyz87 wrote:
> Clang bits LGTM; accepting but please wait to land until someone accepts the
> LLVM changes as well.
@AaronBallman , thank you for the review!
On the LLVM side the changes are only for BPF backend and these were already
approved by @yonghong-song, or do you have someone else i
https://github.com/bharadwajy created
https://github.com/llvm/llvm-project/pull/104619
Implement support for HLSL intrinsic saturate.
Implement DXIL codegen for the intrinsic saturate by lowering it to DXIL Op
dx.saturate.
Implement SPIRV codegen by transforming saturate(x) to clamp(x, 0.0f, 1.
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-hlsl
@llvm/pr-subscribers-backend-x86
Author: S. Bharadwaj Yadavalli (bharadwajy)
Changes
Implement support for HLSL intrinsic saturate.
Implement DXIL codegen for the intrinsic saturate by lowering it to DXIL Op
dx.sa
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
Author: S. Bharadwaj Yadavalli (bharadwajy)
Changes
Implement support for HLSL intrinsic saturate.
Implement DXIL codegen for the intrinsic saturate by lowering it to DXIL Op
dx.saturate.
Implement SPIRV codegen by transforming saturate(x) to cl
@@ -0,0 +1,194 @@
+// RUN: %clang_cc1 -fsyntax-only -fblocks -fcxx-exceptions -verify %s
+// These are in a separate file because errors (e.g. incompatible attributes)
currently prevent
+// the AnalysisBasedWarnings pass from running at all.
+
+// This diagnostic is re-enabled an
@@ -12210,7 +12220,18 @@ bool Sema::CheckFunctionDeclaration(Scope *S,
FunctionDecl *NewFD,
return Redeclaration;
}
-void Sema::CheckMain(FunctionDecl* FD, const DeclSpec& DS) {
+void Sema::CheckMain(FunctionDecl *FD, const DeclSpec &DS) {
+ // [basic.start.main]p3
+ //
@@ -551,24 +541,21 @@ getHLSLResourceAttrFromEitherDecl(VarDecl *VD,
// the resource attr could be on the record decl itself or on one of
// its fields (the resource handle, most commonly)
damyanp wrote:
I was going to add a comment about the name of
https://github.com/Sirraide approved this pull request.
Ah, I should have noticed that `setInvalidDecl()` makes no sense there when I
reviewed that. LGTM after fixing what Corentin pointed out.
https://github.com/llvm/llvm-project/pull/104594
___
cfe-
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
shiltian wrote:
@alexey-bataev any other comment?
https://github.com/llvm/llvm-project/pull/102717
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
@@ -551,24 +541,21 @@ getHLSLResourceAttrFromEitherDecl(VarDecl *VD,
// the resource attr could be on the record decl itself or on one of
// its fields (the resource handle, most commonly)
-const auto *Attr = TheRecordDecl->getAttr();
+const auto *Attr = TheRec
Artem-B wrote:
Looks like that it was clang-format check github was waiting on an approaval
for. I've just clicked that button, let's see what it brings.
The patch is good to go otherwise, IMO.
https://github.com/llvm/llvm-project/pull/102969
___
cfe-
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
ilovepi wrote:
Hi, I think we're seeing a libc++ test fail after this patch in our Windows CI.
I'm working on getting access to a windows machine to verify, but would you
mind taking a look? From the blame, and because this references MSVC behavior
I'm pretty sure its related, but like I said
https://github.com/damyanp edited
https://github.com/llvm/llvm-project/pull/97103
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
I think those are failing because of unexpected passes in libc++ tests:
```
TEST 'llvm-libc++-static-clangcl.cfg.in ::
libcxx/utilities/expected/expected.void/transform_error.mandates.verify.cpp'
FAILED
Exit Code: 0
Command Output (
VolatileAcorn wrote:
> My bad! @mydeveloperday was right. So let's keep the name `BinPackParameters`
> and use the enumerated values `Always`, `OnePerLine`, and `Never`.
No problem, I've gone back to the previous changes but updated names of the
values and rebased to fix the conflict with the s
Author: Egor Zhdan
Date: 2024-08-16T18:48:39+01:00
New Revision: b81697718f49b0f353882e178f25981f47b2aa43
URL:
https://github.com/llvm/llvm-project/commit/b81697718f49b0f353882e178f25981f47b2aa43
DIFF:
https://github.com/llvm/llvm-project/commit/b81697718f49b0f353882e178f25981f47b2aa43.diff
LO
https://github.com/egorzhdan closed
https://github.com/llvm/llvm-project/pull/104088
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
https://github.com/dougsonos edited
https://github.com/llvm/llvm-project/pull/99656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
> How i can see the full amount of breakage on different platforms proactively?
> I have created a PR: #104607 to address the big endian issue with the test as
> my // REQUIRES: x86-registered-target turned out not to be enough to exclude
> running test in the big endian pl
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
https://github.com/alexey-bataev approved this pull request.
LG
https://github.com/llvm/llvm-project/pull/102717
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
@@ -459,7 +468,407 @@ void SemaHLSL::handleResourceClassAttr(Decl *D, const
ParsedAttr &AL) {
D->addAttr(HLSLResourceClassAttr::Create(getASTContext(), RC, ArgLoc));
}
-void SemaHLSL::handleResourceBindingAttr(Decl *D, const ParsedAttr &AL) {
+struct RegisterBindingFlags {
@@ -284,41 +303,55 @@ static bool expandClampIntrinsic(CallInst *Orig,
Intrinsic::ID ClampIntrinsic) {
Builder.SetInsertPoint(Orig);
auto *MaxCall = Builder.CreateIntrinsic(
Ty, getMaxForClamp(Ty, ClampIntrinsic), {X, Min}, nullptr, "dx.max");
- auto *MinCall =
-
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/102872
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -459,7 +468,407 @@ void SemaHLSL::handleResourceClassAttr(Decl *D, const
ParsedAttr &AL) {
D->addAttr(HLSLResourceClassAttr::Create(getASTContext(), RC, ArgLoc));
}
-void SemaHLSL::handleResourceBindingAttr(Decl *D, const ParsedAttr &AL) {
+struct RegisterBindingFlags {
Author: Shilei Tian
Date: 2024-08-16T13:59:46-04:00
New Revision: 0551926fda739c1023a41978efb55047013e70d6
URL:
https://github.com/llvm/llvm-project/commit/0551926fda739c1023a41978efb55047013e70d6
DIFF:
https://github.com/llvm/llvm-project/commit/0551926fda739c1023a41978efb55047013e70d6.diff
L
https://github.com/shiltian closed
https://github.com/llvm/llvm-project/pull/102717
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lenary edited
https://github.com/llvm/llvm-project/pull/102452
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lenary edited
https://github.com/llvm/llvm-project/pull/102452
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ksromanov updated
https://github.com/llvm/llvm-project/pull/104540
>From 47db38f62940e6bca72a51f519a5b78da25a38c2 Mon Sep 17 00:00:00 2001
From: Konstantin Romanov
Date: Fri, 9 Aug 2024 23:40:07 -0400
Subject: [PATCH 1/4] Workaround for cppcoreguidelines-pro-type-union-access
https://github.com/ksromanov edited
https://github.com/llvm/llvm-project/pull/104540
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -459,7 +468,407 @@ void SemaHLSL::handleResourceClassAttr(Decl *D, const
ParsedAttr &AL) {
D->addAttr(HLSLResourceClassAttr::Create(getASTContext(), RC, ArgLoc));
}
-void SemaHLSL::handleResourceBindingAttr(Decl *D, const ParsedAttr &AL) {
+struct RegisterBindingFlags {
@@ -303,6 +303,14 @@ SPIRVLegalizerInfo::SPIRVLegalizerInfo(const
SPIRVSubtarget &ST) {
getActionDefinitionsBuilder(G_FPOWI).legalForCartesianProduct(
allFloatScalarsAndVectors, allIntScalarsAndVectors);
+ getActionDefinitionsBuilder(G_FDOTPROD)
+ .legalForCarte
https://github.com/ksromanov edited
https://github.com/llvm/llvm-project/pull/104540
___
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/104594
>From 9ffe47795d3fa25d6ac020b5cebace0c2e758285 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Fri, 16 Aug 2024 17:21:38 +0300
Subject: [PATCH 1/4] [Clang] fix crash by avoiding invalidation of extern main
@@ -78,12 +80,12 @@ namespace ns {
extern "C" struct A { int main(); }; // ok
namespace c {
- extern "C" void main(); // expected-warning {{'main' should not be 'extern
"C"'}}
+ extern "C" int main(); // expected-warning {{'main' should not be 'extern
"C"'}}
}
extern "
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/104594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
yabinc wrote:
Sorry for using force push to resolve merge conflicts. The patch has been
updated as suggested, and is ready for review.
https://github.com/llvm/llvm-project/pull/97121
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://list
cor3ntin wrote:
I'll merge when CI passes, thanks
https://github.com/llvm/llvm-project/pull/104594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -303,6 +303,14 @@ SPIRVLegalizerInfo::SPIRVLegalizerInfo(const
SPIRVSubtarget &ST) {
getActionDefinitionsBuilder(G_FPOWI).legalForCartesianProduct(
allFloatScalarsAndVectors, allIntScalarsAndVectors);
+ getActionDefinitionsBuilder(G_FDOTPROD)
+ .legalForCarte
@@ -0,0 +1,1199 @@
+//=== EffectAnalysis.cpp - Sema warnings for function effects
-===//
+//
+// 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: A
androm3da wrote:
> @ldionne ping
@ldionne let me know if it would be helpful for me to decompose this change
into a smaller one that would be easier to review.
https://github.com/llvm/llvm-project/pull/98712
___
cfe-commits mailing list
cfe-commits@l
https://github.com/Artem-B updated
https://github.com/llvm/llvm-project/pull/100247
>From da1ac9d36bd284dc607b7366ff83ba556fb64fb5 Mon Sep 17 00:00:00 2001
From: Artem Belevich
Date: Thu, 18 Jul 2024 15:05:01 -0700
Subject: [PATCH 1/2] [CUDA] Add a pseudo GPU sm_next which allows overrides
for
@@ -459,7 +468,407 @@ void SemaHLSL::handleResourceClassAttr(Decl *D, const
ParsedAttr &AL) {
D->addAttr(HLSLResourceClassAttr::Create(getASTContext(), RC, ArgLoc));
}
-void SemaHLSL::handleResourceBindingAttr(Decl *D, const ParsedAttr &AL) {
+struct RegisterBindingFlags {
tmatheson-arm wrote:
@jroelofs @ahmedbougacha Are you happy with the FEAT_CCIDX changes to Apple
processors?
https://github.com/llvm/llvm-project/pull/104435
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
@@ -18666,6 +18666,15 @@ case Builtin::BI__builtin_hlsl_elementwise_isinf: {
/*ReturnType=*/Op0->getType(),
CGM.getHLSLRuntime().getRsqrtIntrinsic(),
ArrayRef{Op0}, nullptr, "hlsl.rsqrt");
}
+ case Builtin::BI__builtin_hlsl_elementwise_saturate: {
+Value
@@ -0,0 +1,54 @@
+// RUN: %clang_cc1 -std=hlsl2021 -finclude-default-header -x hlsl -triple \
+// RUN: dxil-pc-shadermodel6.3-library %s -fnative-half-type \
+// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \
+// RUN: --check-prefixes=CHECK,NATIVE_HALF
+// RUN: %
https://github.com/Artem-B updated
https://github.com/llvm/llvm-project/pull/100247
>From 2a948e8803cd881937e9a121ca9fe9c4816e857e Mon Sep 17 00:00:00 2001
From: Artem Belevich
Date: Thu, 18 Jul 2024 15:05:01 -0700
Subject: [PATCH 1/2] [CUDA] Add a pseudo GPU sm_next which allows overrides
for
@@ -551,24 +541,21 @@ getHLSLResourceAttrFromEitherDecl(VarDecl *VD,
// the resource attr could be on the record decl itself or on one of
// its fields (the resource handle, most commonly)
bob80905 wrote:
Yes, I think I may have left support for that
@@ -362,6 +364,34 @@ static bool expandClampIntrinsic(CallInst *Orig,
Intrinsic::ID ClampIntrinsic) {
return true;
}
+static bool expandSaturateIntrinsic(CallInst *SaturateCall) {
farzonl wrote:
wait for @pow2clk change merges then change this to return `
@@ -1285,6 +1289,34 @@ static unsigned getBoolCmpOpcode(unsigned PredNum) {
}
}
+static APFloat getZeroFP(const Type *LLVMFloatTy) {
farzonl wrote:
I'm a little suprised this didn't already exist.
https://github.com/llvm/llvm-project/pull/104619
__
ichaer wrote:
@mydeveloperday, what do you think, is this good to merge?
https://github.com/llvm/llvm-project/pull/96804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Valentin Clement (バレンタイン クレメン)
Date: 2024-08-16T11:56:22-07:00
New Revision: e6b9f12b0ac0f1e6f7f7145719092c10731e4fe4
URL:
https://github.com/llvm/llvm-project/commit/e6b9f12b0ac0f1e6f7f7145719092c10731e4fe4
DIFF:
https://github.com/llvm/llvm-project/commit/e6b9f12b0ac0f1e6f7f7145719092
201 - 300 of 395 matches
Mail list logo