sr-tream wrote:
> @sr-tream just so you know, every time you force-push a PR, github sends
> every subscriber an email notification
Sorry for flood, I will try to avoid this from now on
https://github.com/llvm/llvm-project/pull/72479
___
cfe-commits
HighCommander4 wrote:
@sr-tream just so you know, every time you force-push a PR, github sends every
subscriber an email notification
https://github.com/llvm/llvm-project/pull/72479
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists
https://github.com/sr-tream updated
https://github.com/llvm/llvm-project/pull/72479
>From 35456a46409862a31014161978e56f9ad184a7f1 Mon Sep 17 00:00:00 2001
From: SR_team
Date: Thu, 16 Nov 2023 07:15:10 +0200
Subject: [PATCH] Add includes from source to non-self-contained headers
---
clang-too
https://github.com/sr-tream updated
https://github.com/llvm/llvm-project/pull/72479
>From c85ae981ba584df754057e89703a7b1c1554e5aa Mon Sep 17 00:00:00 2001
From: SR_team
Date: Thu, 16 Nov 2023 07:15:10 +0200
Subject: [PATCH] Add includes from source to non-self-contained headers
---
clang-too
https://github.com/sr-tream updated
https://github.com/llvm/llvm-project/pull/72479
>From 06eaf30b75ac4209bdb5768511053d648ac55a55 Mon Sep 17 00:00:00 2001
From: SR_team
Date: Thu, 16 Nov 2023 07:15:10 +0200
Subject: [PATCH] Add includes from source to non-self-contained headers
---
clang-too
https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/72601
>From 8d478b98effa8b6bb5d59605034ce35086cc0112 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Wed, 15 Nov 2023 14:24:11 -0500
Subject: [PATCH] [flang][Driver] Support -nodefaultlibs, -nostartfiles and
-nostdlib
-
https://github.com/joker-eph edited
https://github.com/llvm/llvm-project/pull/71430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -61,6 +63,7 @@ registerAllGPUToLLVMIRTranslations(DialectRegistry ®istry)
{
registerLLVMDialectTranslation(registry);
registerNVVMDialectTranslation(registry);
registerROCDLDialectTranslation(registry);
+ registerSPIRVDialectTranslation(registry);
jo
zyn0217 wrote:
> Out of curiosity, I dialled into today's LLVM office hours and asked Aaron
> Ballman about this
Thank you so much for making the effort on this issue. :)
> ...just change the code for building the invented CallExprs to give them an
> invalid SourceLocation
Interesting idea a
brad0 wrote:
> > -nopie is for the linker. We only use -fno-pie for the compiler.
>
> OK. Then it seems that the driver option `-nopie` for linking should be
> removed even for OpenBSD?
Let me check something before I say anything further.
https://github.com/llvm/llvm-project/pull/72578
_
@@ -87,6 +87,21 @@ def getStdFlag(cfg, std):
return "-std=" + fallbacks[std]
return None
+def getSpeedOptimizationFlag(cfg):
+if _isClang(cfg) or _isAppleClang(cfg) or _isGCC(cfg):
+return "-O3"
+elif _isMSVC(cfg):
+return "/O2"
+else:
+
https://github.com/hstk30-hw updated
https://github.com/llvm/llvm-project/pull/72197
>From 76b86014cb4af9fe5b163d61a96597217d6e843c Mon Sep 17 00:00:00 2001
From: hstk30-hw
Date: Sat, 18 Nov 2023 11:00:29 +
Subject: [PATCH] fix: empty record size > 64 with align let va_list get out of
sync
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Also fixed some existing test cases.
Fixed #57305.
Fixed #58251.
---
Full diff: https://github.com/llvm/llvm-project/pull/72733.diff
3 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/72733
Also fixed some existing test cases.
Fixed #57305.
Fixed #58251.
>From 519c21da642026b917c2e51c95cc4347f85163ca Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Fri, 17 Nov 2023 17:51:33 -0800
Subject: [PATCH] [cla
Author: Owen Pan
Date: 2023-11-17T18:18:49-08:00
New Revision: f6033699646b7650123a273c043a93e5eeaac6d8
URL:
https://github.com/llvm/llvm-project/commit/f6033699646b7650123a273c043a93e5eeaac6d8
DIFF:
https://github.com/llvm/llvm-project/commit/f6033699646b7650123a273c043a93e5eeaac6d8.diff
LOG:
carlos4242 wrote:
The dup in Format seems to have already drifted from the one in Sema so
putting them together might be a significant change, a bit more than I'm
comfortable taking on... I don't want to break or alter behaviour for someone's
formatter just to fix a tiny issue I found in a ba
https://github.com/philnik777 requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/68753
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,28 @@
+// -*- 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-
https://github.com/philnik777 edited
https://github.com/llvm/llvm-project/pull/68753
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -87,6 +87,21 @@ def getStdFlag(cfg, std):
return "-std=" + fallbacks[std]
return None
+def getSpeedOptimizationFlag(cfg):
+if _isClang(cfg) or _isAppleClang(cfg) or _isGCC(cfg):
+return "-O3"
+elif _isMSVC(cfg):
+return "/O2"
+else:
+
carlos4242 wrote:
Thanks, that sounds like it's worth looking into and might avoid issues with
AVR.
I'm still nowhere near enough of an LLVM expert to follow all the aspects of
the discussion. Although from our perspective, I've never seen an issue that I
know, using the above patch for the l
ilovepi wrote:
This looks great, thanks for keeping me in the loop. :)
https://github.com/llvm/llvm-project/pull/72730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Michael137 wrote:
@ilovepi
https://github.com/llvm/llvm-project/pull/72730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/72730
>From 6dcb09dcc50a9b9e92640412242927b3e226929e Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Sat, 18 Nov 2023 00:20:05 +
Subject: [PATCH 1/4] [clang][DebugInfo][NFC] Create
evaluateConstantInitializer
llvmbot wrote:
@llvm/pr-subscribers-debuginfo
Author: Michael Buch (Michael137)
Changes
In https://github.com/llvm/llvm-project/pull/71780 we started emitting
definitions for all static data-members with constant initialisers, even if
they were constants (i.e., didn't have a location). W
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Michael Buch (Michael137)
Changes
In https://github.com/llvm/llvm-project/pull/71780 we started emitting
definitions for all static data-members with constant initialisers, even if
they were constants (i.e., didn't have a location
https://github.com/Michael137 created
https://github.com/llvm/llvm-project/pull/72730
In https://github.com/llvm/llvm-project/pull/71780 we started emitting
definitions for all static data-members with constant initialisers, even if
they were constants (i.e., didn't have a location). We also d
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: Alexander Yermolovich (ayermolo)
Changes
Fixed handling of DWP as input. Before BOLT crashed. Now it will write out
correct CU, and all the TUs. Potential future improvement is to scan all the TUs
used in t
https://github.com/ayermolo created
https://github.com/llvm/llvm-project/pull/72729
Fixed handling of DWP as input. Before BOLT crashed. Now it will write out
correct CU, and all the TUs. Potential future improvement is to scan all the TUs
used in this CU, and only include those.
>From 80adaca7
ilovepi wrote:
I'm unclear on the specifics of the check, but it's probably something we can
adjust if that is the long-term solution.
CC @petrhosek Since he was interested in getting this resolved soon.
https://github.com/llvm/llvm-project/pull/71780
__
tahonermann added a comment.
Apologies once again for the delayed response. I reviewed some today and will
resume reviewing on Monday.
In addition to the inline suggestions:
`clang/docs/ReleaseNotes.rst` will need to be updated to reflect that the core
language changes for P1467R9 have been im
Michael137 wrote:
> Fantastic!
@ilovepi To clarify the upcoming change, we are planning to attach the
`DW_AT_const_value` to the definition, not the declaration like we used to. In
case that's what your unit-test is expecting
https://github.com/llvm/llvm-project/pull/71780
___
HighCommander4 wrote:
> I see; it's a bit unfortunate that such an "invented" call expression gets an
> ordinary `SourceLocation`.
Out of curiosity, I dialled into today's LLVM [office
hours](https://llvm.org/docs/GettingInvolved.html#office-hours) and asked Aaron
Ballman about this. He also
https://github.com/mydeveloperday approved this pull request.
https://github.com/llvm/llvm-project/pull/69340
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mydeveloperday approved this pull request.
https://github.com/llvm/llvm-project/pull/72166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -24153,6 +24153,113 @@ TEST_F(FormatTest, WhitespaceSensitiveMacros) {
verifyNoChange("FOO(String-ized&Messy+But: :Still=Intentional);", Style);
}
+TEST_F(FormatTest, IgnorePPDefinitions) {
+ FormatStyle Style = getLLVMStyle();
+ Style.IgnorePPDefinitions = true;
+
+ v
https://github.com/mydeveloperday commented:
Something here doesn't feel right
https://github.com/llvm/llvm-project/pull/70338
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mydeveloperday edited
https://github.com/llvm/llvm-project/pull/70338
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ilovepi wrote:
Fantastic!
https://github.com/llvm/llvm-project/pull/71780
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Michael137 wrote:
> Hi, we're seeing some breakages, similar to the above in our debugger tests
> with this patch.
>
> A failing bot can be found here:
> https://luci-milo.appspot.com/ui/p/fuchsia/builders/ci/clang_toolchain.ci.core.x64-debug/b8764552260903625809/overview
>
> You can find a f
ilovepi wrote:
Hi, we're seeing some breakages, similar to the above in our debugger tests
with this patch.
A failing bot can be found here:
https://luci-milo.appspot.com/ui/p/fuchsia/builders/ci/clang_toolchain.ci.core.x64-debug/b8764552260903625809/overview
You can find a fuller discussion
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-clang
Author: None (Logikable)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/72718.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CGAtomic.cpp (+83-83)
``diff
diff --git a/clang
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/72707
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vitalybuka edited
https://github.com/llvm/llvm-project/pull/72707
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Logikable created
https://github.com/llvm/llvm-project/pull/72718
None
>From 37a08f6b2f0d2bd4e20f14798738a0cbc69bc59e Mon Sep 17 00:00:00 2001
From: Sean Luchen
Date: Fri, 17 Nov 2023 23:07:28 +
Subject: [PATCH] [clang][NFC] Reorder Atomic builtins to be consistent.
---
https://github.com/ellishg closed
https://github.com/llvm/llvm-project/pull/72681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ellis Hoag
Date: 2023-11-17T16:55:18-06:00
New Revision: 10025d947c0b6bfc60a8b0c0f2af40585d173485
URL:
https://github.com/llvm/llvm-project/commit/10025d947c0b6bfc60a8b0c0f2af40585d173485
DIFF:
https://github.com/llvm/llvm-project/commit/10025d947c0b6bfc60a8b0c0f2af40585d173485.diff
LO
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/72166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/72520
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2023-11-17T14:35:30-08:00
New Revision: 5679f5515b8ba83c804ad871452a95565af76e19
URL:
https://github.com/llvm/llvm-project/commit/5679f5515b8ba83c804ad871452a95565af76e19
DIFF:
https://github.com/llvm/llvm-project/commit/5679f5515b8ba83c804ad871452a95565af76e19.diff
LOG:
owenca wrote:
> > Thanks for trying it on 17.x. We can't backport it then.
>
> Any idea if there is another workaround or fix that we could do to target
> 17.x? 18 is still pretty far off and clang-format for 17 will soon be
> included in a lot of downstream tools. Happy to help out fixing it
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/72520
>From efdf321e9447e8b3f1c27ccdf6da842107deb6dd Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 16 Nov 2023 06:36:41 -0800
Subject: [PATCH 1/4] [clang-format] Fix crashes in AlignArrayOfStructures
Fixed #55493.
@@ -20709,6 +20709,18 @@ TEST_F(FormatTest, CatchExceptionReferenceBinding) {
TEST_F(FormatTest, CatchAlignArrayOfStructuresRightAlignment) {
auto Style = getLLVMStyle();
Style.AlignArrayOfStructures = FormatStyle::AIAS_Right;
+
+ verifyNoCrash("f({\n"
+"ta
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/72520
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bcardosolopes wrote:
I'm not 100% confident here but the fix makes sense and seems good (nice
testcase!).
https://github.com/llvm/llvm-project/pull/72346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
Author: Louis Dionne
Date: 2023-11-17T16:50:49-05:00
New Revision: 0133e25d99df9468ec3d9b523f14733a4b5e7180
URL:
https://github.com/llvm/llvm-project/commit/0133e25d99df9468ec3d9b523f14733a4b5e7180
DIFF:
https://github.com/llvm/llvm-project/commit/0133e25d99df9468ec3d9b523f14733a4b5e7180.diff
@@ -45,11 +47,36 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P) {
P.ConsumeToken();
std::string FirstTokSpelling = P.getPreprocessor().getSpelling(FirstTok);
- OpenACCDirectiveKind DirKind = GetOpenACCDirectiveKind(FirstTokSpelling);
+ OpenACCDirectiveKind
Author: erichkeane
Date: 2023-11-17T13:48:50-08:00
New Revision: 6168337640addcf137c780d83770bd5e6e06a8c2
URL:
https://github.com/llvm/llvm-project/commit/6168337640addcf137c780d83770bd5e6e06a8c2
DIFF:
https://github.com/llvm/llvm-project/commit/6168337640addcf137c780d83770bd5e6e06a8c2.diff
LO
https://github.com/ldionne updated
https://github.com/llvm/llvm-project/pull/68753
>From 2a5035e7b1db4b77ec30426c988478a35b077b7b Mon Sep 17 00:00:00 2001
From: Louis Dionne
Date: Tue, 10 Oct 2023 16:35:11 -0700
Subject: [PATCH 1/2] [libc++] Allow running the test suite with optimizations
This
https://github.com/erichkeane updated
https://github.com/llvm/llvm-project/pull/72692
>From 33ca88871b48fcfb16bdf7fa636a9ecfa4f38e08 Mon Sep 17 00:00:00 2001
From: erichkeane
Date: Fri, 17 Nov 2023 11:34:43 -0800
Subject: [PATCH 1/3] [OpenACC] Implement compound construct parsing
This patch im
@@ -45,11 +47,36 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P) {
P.ConsumeToken();
std::string FirstTokSpelling = P.getPreprocessor().getSpelling(FirstTok);
- OpenACCDirectiveKind DirKind = GetOpenACCDirectiveKind(FirstTokSpelling);
+ OpenACCDirectiveKind
@@ -45,11 +47,36 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P) {
P.ConsumeToken();
std::string FirstTokSpelling = P.getPreprocessor().getSpelling(FirstTok);
- OpenACCDirectiveKind DirKind = GetOpenACCDirectiveKind(FirstTokSpelling);
+ OpenACCDirectiveKind
PiotrZSL wrote:
@jcmoyer Do you want this be merged as jcmo...@users.noreply.github.com ? If
not then please disable privacy settings in GitHub or change author of commit.
https://github.com/llvm/llvm-project/pull/71385
___
cfe-commits mailing list
cf
https://github.com/ldionne closed
https://github.com/llvm/llvm-project/pull/72538
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Georgios Eleftheriou
Date: 2023-11-17T16:40:21-05:00
New Revision: 2402b14046b9628b584c07789830d7ed481f7d74
URL:
https://github.com/llvm/llvm-project/commit/2402b14046b9628b584c07789830d7ed481f7d74
DIFF:
https://github.com/llvm/llvm-project/commit/2402b14046b9628b584c07789830d7ed481f7d7
@@ -50,6 +52,35 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P) {
if (DirKind == OpenACCDirectiveKind::Invalid)
P.Diag(FirstTok, diag::err_acc_invalid_directive) << FirstTokSpelling;
+ // Combined Constructs allows parallel loop, serial loop, or kernels loo
https://github.com/alexey-bataev edited
https://github.com/llvm/llvm-project/pull/72692
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -45,11 +47,36 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P) {
P.ConsumeToken();
std::string FirstTokSpelling = P.getPreprocessor().getSpelling(FirstTok);
- OpenACCDirectiveKind DirKind = GetOpenACCDirectiveKind(FirstTokSpelling);
+ OpenACCDirectiveKind
https://github.com/ldionne updated
https://github.com/llvm/llvm-project/pull/68753
>From 2a5035e7b1db4b77ec30426c988478a35b077b7b Mon Sep 17 00:00:00 2001
From: Louis Dionne
Date: Tue, 10 Oct 2023 16:35:11 -0700
Subject: [PATCH] [libc++] Allow running the test suite with optimizations
This pat
=?utf-8?q?Björn?= Svensson
Message-ID:
In-Reply-To:
https://github.com/PiotrZSL closed
https://github.com/llvm/llvm-project/pull/72553
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Björn Svensson
Date: 2023-11-17T22:37:42+01:00
New Revision: 12bdbe2792b53ee1253c508b44f24d43735e7de9
URL:
https://github.com/llvm/llvm-project/commit/12bdbe2792b53ee1253c508b44f24d43735e7de9
DIFF:
https://github.com/llvm/llvm-project/commit/12bdbe2792b53ee1253c508b44f24d43735e7de9.diff
=?utf-8?q?Andrés?= Villegas ,
=?utf-8?q?Andrés?= Villegas ,
=?utf-8?q?Andrés?= Villegas ,
=?utf-8?q?Andrés?= Villegas
Message-ID:
In-Reply-To:
https://github.com/avillega closed
https://github.com/llvm/llvm-project/pull/66126
___
cfe-commits mailing
https://github.com/erichkeane updated
https://github.com/llvm/llvm-project/pull/72692
>From 33ca88871b48fcfb16bdf7fa636a9ecfa4f38e08 Mon Sep 17 00:00:00 2001
From: erichkeane
Date: Fri, 17 Nov 2023 11:34:43 -0800
Subject: [PATCH 1/2] [OpenACC] Implement compound construct parsing
This patch im
@@ -0,0 +1,31 @@
+//===- SPIRVToLLVMIRTranslation.cpp - Translate SPIRV to LLVM IR
--===//
+//
+// 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
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
@llvm/pr-subscribers-clang-tidy
Author: Piotr Zegar (PiotrZSL)
Changes
Replaced certain AST matchers in ExprMutationAnalyzer with a more direct
utilization of AST classes. The primary bottleneck was identified in the
canResolveT
https://github.com/PiotrZSL created
https://github.com/llvm/llvm-project/pull/72705
Replaced certain AST matchers in ExprMutationAnalyzer with a more direct
utilization of AST classes. The primary bottleneck was identified in the
canResolveToExpr AST matcher. Since this matcher was employed mu
https://github.com/alexey-bataev edited
https://github.com/llvm/llvm-project/pull/72692
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -22,7 +22,9 @@ using namespace llvm;
namespace {
-// Translate single-token string representations to the OpenACC Directive Kind.
+// This doesn't completely comprehend 'Compound Constructs' (as it just
+// identifies the first token) just the first token of each. So
+//
@@ -50,6 +52,35 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P) {
if (DirKind == OpenACCDirectiveKind::Invalid)
P.Diag(FirstTok, diag::err_acc_invalid_directive) << FirstTokSpelling;
+ // Combined Constructs allows parallel loop, serial loop, or kernels loo
https://github.com/alexey-bataev edited
https://github.com/llvm/llvm-project/pull/72692
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -22,7 +22,9 @@ using namespace llvm;
namespace {
-// Translate single-token string representations to the OpenACC Directive Kind.
+// This doesn't completely comprehend 'Compound Constructs' (as it just
+// identifies the first token) just the first token of each. So
+//
@@ -453,11 +471,94 @@ Error InstrProfSymtab::create(Module &M, bool InLTO) {
if (Error E = addFuncWithName(F, getPGOFuncName(F, InLTO)))
return E;
}
+
+ SmallVector Types;
+ for (GlobalVariable &G : M.globals()) {
+if (!G.hasName())
+ continue;
+Types
https://github.com/smanna12 edited
https://github.com/llvm/llvm-project/pull/70762
___
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: Joseph Huber (jhuber6)
Changes
Summary:
This patch provides the initial support to allow handling the new
driver's offloading entries. Normally, the ELF target can emit varibles
at C-identifier named sections and the linker will provide a p
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/72697
Summary:
This patch provides the initial support to allow handling the new
driver's offloading entries. Normally, the ELF target can emit varibles
at C-identifier named sections and the linker will provide a point
https://github.com/sr-tream updated
https://github.com/llvm/llvm-project/pull/72479
>From 225ca71650e880e9584fe2d49e03baba34690883 Mon Sep 17 00:00:00 2001
From: SR_team
Date: Thu, 16 Nov 2023 07:15:10 +0200
Subject: [PATCH] Add includes from source to non-self-contained headers
---
clang-too
rjmccall wrote:
> @efriedma-quic Cool. So it sounds like it's worth parking this for now, until
> Kuba's work #71986 is merged?
>
> @rjmccall I'm not 100% sure I understand? The existing code in AVR.cpp
> handles the standard AVR ABI, which has a few simple rules based on GCC
> behaviour. Her
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 144b2f579ef06e663cf233431d291a913b895074
76bb83ad49840ceb92be2db5bfe7849f5280d6d3 --
https://github.com/sr-tream updated
https://github.com/llvm/llvm-project/pull/72479
>From bd6a6d0bd766813c770b47115c48333ad7a992cd Mon Sep 17 00:00:00 2001
From: SR_team
Date: Thu, 16 Nov 2023 07:15:10 +0200
Subject: [PATCH] Add includes from source to non-self-contained headers
---
clang-too
@@ -0,0 +1,164 @@
+// RUN: %clang_cc1 -fsyntax-only -verify=expected,c-local -x c %s
+// RUN: %clang_cc1 -fsyntax-only -verify=expected,cpp-local -pedantic -x c++
-std=c++11 %s
+
+void foo() {
+ int i;
+ int a[10], b[10];
+
+ [[clang::code_align(8)]]
+ for (i = 0; i < 10; ++i
https://github.com/sr-tream updated
https://github.com/llvm/llvm-project/pull/72479
>From 76bb83ad49840ceb92be2db5bfe7849f5280d6d3 Mon Sep 17 00:00:00 2001
From: SR_team
Date: Thu, 16 Nov 2023 07:15:10 +0200
Subject: [PATCH] Add includes from source to non-self-contained headers
---
clang-too
@@ -0,0 +1,164 @@
+// RUN: %clang_cc1 -fsyntax-only -verify=expected,c-local -x c %s
+// RUN: %clang_cc1 -fsyntax-only -verify=expected,cpp-local -pedantic -x c++
-std=c++11 %s
+
+void foo() {
+ int i;
+ int a[10], b[10];
+
+ [[clang::code_align(8)]]
+ for (i = 0; i < 10; ++i
@@ -322,6 +322,81 @@ static Attr *handleUnlikely(Sema &S, Stmt *St, const
ParsedAttr &A,
return ::new (S.Context) UnlikelyAttr(S.Context, A);
}
+CodeAlignAttr *Sema::BuildCodeAlignAttr(const AttributeCommonInfo &CI,
+Expr *E) {
+ if
@@ -322,6 +322,77 @@ static Attr *handleUnlikely(Sema &S, Stmt *St, const
ParsedAttr &A,
return ::new (S.Context) UnlikelyAttr(S.Context, A);
}
+CodeAlignAttr *Sema::BuildCodeAlignAttr(const AttributeCommonInfo &CI,
+Expr *E) {
+ if
@@ -322,6 +322,77 @@ static Attr *handleUnlikely(Sema &S, Stmt *St, const
ParsedAttr &A,
return ::new (S.Context) UnlikelyAttr(S.Context, A);
}
+CodeAlignAttr *Sema::BuildCodeAlignAttr(const AttributeCommonInfo &CI,
+Expr *E) {
+ if
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Erich Keane (erichkeane)
Changes
This patch implements the compound construct parsing, which allows 'parallel
loop', 'serial loop', and 'kernel loop' to act as their own constructs.
Note that this doesn't end up making any changes to the
https://github.com/erichkeane created
https://github.com/llvm/llvm-project/pull/72692
This patch implements the compound construct parsing, which allows 'parallel
loop', 'serial loop', and 'kernel loop' to act as their own constructs.
Note that this doesn't end up making any changes to the tes
https://github.com/fabianmcg edited
https://github.com/llvm/llvm-project/pull/71430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fabianmcg edited
https://github.com/llvm/llvm-project/pull/71430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: erichkeane
Date: 2023-11-17T11:26:22-08:00
New Revision: 9bd5f808ccacef0acc84529a0bdd22b448d06e4a
URL:
https://github.com/llvm/llvm-project/commit/9bd5f808ccacef0acc84529a0bdd22b448d06e4a
DIFF:
https://github.com/llvm/llvm-project/commit/9bd5f808ccacef0acc84529a0bdd22b448d06e4a.diff
LO
1 - 100 of 327 matches
Mail list logo