https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/149137
>From acc1a7d3da0d2bd5a60096a9f5dc27338342b952 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 16 Jul 2025 08:04:17 -0500
Subject: [PATCH 1/3] [flang][OpenMP] Sema checks, lowering with new format
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/148654
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -3,8 +3,9 @@
! Check that variables are not privatized twice when TASKGROUP is used.
!CHECK-LABEL: func.func @_QPsub() {
-!CHECK: omp.parallel {
-!CHECK: %[[PAR_I:.*]]:2 = hlfir.declare %{{.*}} {uniq_name =
"_QFsubEi"}
+!CHECK: omp.parallel privat
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/148647
>From 82829a6f51fd96f720a64255442d96133a09b3dc Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Fri, 11 Jul 2025 13:28:02 -0500
Subject: [PATCH 1/2] [utils][TableGen] Make some non-bitmask enums iterabl
kparzysz wrote:
Stack:
- https://github.com/llvm/llvm-project/pull/148644
- https://github.com/llvm/llvm-project/pull/148647
- https://github.com/llvm/llvm-project/pull/148653
- https://github.com/llvm/llvm-project/pull/148654 (this PR)
https://github.com/llvm/llvm-project/pull/148654
__
kparzysz wrote:
Stack:
- https://github.com/llvm/llvm-project/pull/148644
- https://github.com/llvm/llvm-project/pull/148647
- https://github.com/llvm/llvm-project/pull/148653 (this PR)
- https://github.com/llvm/llvm-project/pull/148654
https://github.com/llvm/llvm-project/pull/148653
__
kparzysz wrote:
Stack:
- https://github.com/llvm/llvm-project/pull/148644
- https://github.com/llvm/llvm-project/pull/148647 (this PR)
- https://github.com/llvm/llvm-project/pull/148653
- https://github.com/llvm/llvm-project/pull/148654
https://github.com/llvm/llvm-project/pull/148647
__
kparzysz wrote:
I have verified that 1052_0201 and 1052_0205 both pass with this change.
https://github.com/llvm/llvm-project/pull/148654
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/148654
Instead of treating all block and all loop constructs as privatizing, actually
check if the construct allows a privatizing clause.
>From 4f58a01c96812fdb8086a9c9ad35f260451af8dc Mon Sep 17 00:00:00 2001
From:
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/148653
None
>From d3ed6f948468c4d27c5ac436612e650f9460 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 14 Jul 2025 10:18:07 -0500
Subject: [PATCH] [flang][OpenMP] Move extractOmpDirective to Utils.c
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/148647
Additionally, add sentinel values ::First_ and ::Last_ to each one
of those enums.
This will allow using `enum_seq_inclusive` to generate the list of enum-typed
values of any generated scoped (non-bitmask) en
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/148008
>From 1bcd318939236190a30cfb3259bcb9ca972f1fd3 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 10 Jul 2025 10:18:32 -0500
Subject: [PATCH] [flang][OpenMP] Use OmpDirectiveSpecification in DISPATCH
kparzysz wrote:
Stack:
- https://github.com/llvm/llvm-project/pull/148005
- https://github.com/llvm/llvm-project/pull/148008 (this PR)
https://github.com/llvm/llvm-project/pull/148008
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/148008
Dispatch is the last construct (after ATOMIC and ALLOCATORS) where the
associated block requires a specific form.
Using OmpDirectiveSpecification for the begin and the optional end directives
will make the str
kparzysz wrote:
Stack:
- https://github.com/llvm/llvm-project/pull/147722
- https://github.com/llvm/llvm-project/pull/147723
- https://github.com/llvm/llvm-project/pull/147765 (this PR)
https://github.com/llvm/llvm-project/pull/147765
___
llvm-branch-c
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/147765
OpenMP 6.0 introduced alternative spelling for some directives, with the
previous spellings still allowed.
Warn the user when a new spelling is encountered with OpenMP version set to an
older value.
>From 7b
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/147723
>From 0e2c062d467d7d23ed88cdf14c2c3de740549ca6 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 7 Jul 2025 13:54:32 -0500
Subject: [PATCH 1/2] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellin
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/147723
>From 0e2c062d467d7d23ed88cdf14c2c3de740549ca6 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 7 Jul 2025 13:54:32 -0500
Subject: [PATCH] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellings i
kparzysz wrote:
Stack:
- https://github.com/llvm/llvm-project/pull/147722
- https://github.com/llvm/llvm-project/pull/147723 (this PR)
https://github.com/llvm/llvm-project/pull/147723
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/147723
Parse OpenMP 6.0 spellings for directives that don't use OmpDirectiveNameParser.
>From 0e2c062d467d7d23ed88cdf14c2c3de740549ca6 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 7 Jul 2025 13:54:32
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/146933
OpenMP 6.0 introduced alternative spelling for some directives, with the
previous spellings still allowed.
Warn the user when a new spelling is encountered with OpenMP version set to an
older value.
>From 5a
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/146779
>From ab3f0cc9d240f12e07be452effa75b5c7d010d9b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 2 Jul 2025 11:25:00 -0500
Subject: [PATCH 1/2] [clang][OpenMP] Use DirectiveNameParser to parse
dire
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/146779
>From ab3f0cc9d240f12e07be452effa75b5c7d010d9b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 2 Jul 2025 11:25:00 -0500
Subject: [PATCH] [clang][OpenMP] Use DirectiveNameParser to parse directive
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/146779
This simplifies the parsing code in clang quite a bit.
>From ab3f0cc9d240f12e07be452effa75b5c7d010d9b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 2 Jul 2025 11:25:00 -0500
Subject: [PATCH] [c
https://github.com/kparzysz approved this pull request.
https://github.com/llvm/llvm-project/pull/146025
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/kparzysz reopened
https://github.com/llvm/llvm-project/pull/141772
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/kparzysz closed
https://github.com/llvm/llvm-project/pull/141772
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
kparzysz wrote:
The build failures are bogus: "header file changed between PCH build and use".
They seem to be related to a recent change in llvm/Support/Compiler.h, but I
don't know what the exact mechanism of failure is.
https://github.com/llvm/llvm-project/pull/141766
__
@@ -172,26 +197,13 @@ class Directive : public BaseRecord {
// Clang uses a different format for names of its directives enum.
std::string getClangAccSpelling() const {
-std::string Name = Def->getValueAsString("name").str();
+StringRef Name = Def->getValueAsString
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH 1/7] [utils][TableGen] Handle versions on clause/directive
@@ -77,6 +77,19 @@ static std::string getIdentifierName(const Record *Rec,
StringRef Prefix) {
return Prefix.str() + BaseRecord(Rec).getFormattedName();
}
+using RecordWithSpelling = std::pair;
+
+static std::vector
+getSpellings(ArrayRef Records) {
kparzys
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH 1/6] [utils][TableGen] Handle versions on clause/directive
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH 1/5] [utils][TableGen] Handle versions on clause/directive
@@ -77,6 +77,19 @@ static std::string getIdentifierName(const Record *Rec,
StringRef Prefix) {
return Prefix.str() + BaseRecord(Rec).getFormattedName();
}
+using RecordWithSpelling = std::pair;
+
+static std::vector
+getSpellings(ArrayRef Records) {
kparzys
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH 1/4] [utils][TableGen] Handle versions on clause/directive
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH 1/3] [utils][TableGen] Handle versions on clause/directive
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH 1/2] [utils][TableGen] Handle versions on clause/directive
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH] [utils][TableGen] Handle versions on clause/directive
sp
kparzysz wrote:
PR stack:
1. https://github.com/llvm/llvm-project/pull/141761
2. https://github.com/llvm/llvm-project/pull/141762
3. https://github.com/llvm/llvm-project/pull/141763
4. https://github.com/llvm/llvm-project/pull/141765
5. https://github.com/llvm/llvm-project/pull/141766
6. https://
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/141772
For background information see
https://discourse.llvm.org/t/rfc-alternative-spellings-of-openmp-directives/85507
>From 8385ab954aa44a6b438450be2869f6d4614e2e2f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/141766
>From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 27 May 2025 07:55:04 -0500
Subject: [PATCH] [utils][TableGen] Handle versions on clause/directive
sp
kparzysz wrote:
PR stack:
1. https://github.com/llvm/llvm-project/pull/141761
2. https://github.com/llvm/llvm-project/pull/141762
3. https://github.com/llvm/llvm-project/pull/141763
4. https://github.com/llvm/llvm-project/pull/141765
5. https://github.com/llvm/llvm-project/pull/141766 (this PR)
kparzysz wrote:
PR stack:
1. https://github.com/llvm/llvm-project/pull/141761
2. https://github.com/llvm/llvm-project/pull/141762
3. https://github.com/llvm/llvm-project/pull/141763
4. https://github.com/llvm/llvm-project/pull/141765 (this PR)
5. https://github.com/llvm/llvm-project/pull/141766
kparzysz wrote:
PR stack:
1. https://github.com/llvm/llvm-project/pull/141761
2. https://github.com/llvm/llvm-project/pull/141762
3. https://github.com/llvm/llvm-project/pull/141763 (this PR)
4. https://github.com/llvm/llvm-project/pull/141765
5. https://github.com/llvm/llvm-project/pull/141766
kparzysz wrote:
PR stack:
1. https://github.com/llvm/llvm-project/pull/141761
2. https://github.com/llvm/llvm-project/pull/141762 (this PR)
3. https://github.com/llvm/llvm-project/pull/141763
4. https://github.com/llvm/llvm-project/pull/141765
5. https://github.com/llvm/llvm-project/pull/141766
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/141766
In "getDirectiveName(Kind, Version)", return the spelling that
corresponds to Version, and in "getDirectiveKindAndVersions(Name)" return
the pair {Kind, VersionRange}, where VersionRange contains the minimum a
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/141763
The code in DirectiveEmitter that generates clause parsers sorted clause names
to ensure that longer names were tried before shorter ones, in cases where a
shorter name may be a prefix of a longer one. This ma
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/141762
There were 3 different functions in DirectiveEmitter.cpp doing essentially the
same thing: taking a name separated with _ or whitepace, and converting it to
the upper-camel case. Extract that into a single fun
kparzysz wrote:
Previous PR: https://github.com/llvm/llvm-project/pull/140605
https://github.com/llvm/llvm-project/pull/140606
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/140606
Remove extraneous qualifications from names when
- the name is explicitly enclosed by corresponding namespaces, and
- the name is in a body of a function defined in corresponding namespaces.
Otherwise add missi
kparzysz wrote:
Previous PR: https://github.com/llvm/llvm-project/pull/139960
https://github.com/llvm/llvm-project/pull/139961
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-
kparzysz wrote:
Previous PR: https://github.com/llvm/llvm-project/pull/139958
Next PR: https://github.com/llvm/llvm-project/pull/139961
https://github.com/llvm/llvm-project/pull/139960
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/139961
The PR139793 added handling of the Fortran-only "workshare" directive, however
there are more such directives, e.g. "allocators". Use the
genDirectiveLanguages function to detect non-C/C++ directives instead o
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/139960
The official languages that OpenMP recognizes are C/C++ and Fortran. Some
OpenMP directives are language-specific, some are C/C++-only, some are
Fortran-only.
Add a property to the TableGen definition of Dire
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139115
>From fa6e19481f448db273f84d270891e737ff021749 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 7 May 2025 15:32:08 -0500
Subject: [PATCH 1/5] [clang][OpenMP] Pass OpenMP version to
getOpenMPDirec
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/139131
The OpenMP version is stored in LangOptions in SemanticsContext. Use the
fallback version where SemanticsContext is unavailable (mostly in case of debug
dumps).
RFC:
https://discourse.llvm.org/t/rfc-alternat
@@ -94,6 +94,10 @@ struct PrintingPolicy {
/// The number of spaces to use to indent each line.
unsigned Indentation : 8;
+ /// Version of the effective OpenMP spec (used to select directive name
+ /// spelling).
+ unsigned OpenMP : 8;
+
kparzysz wrote:
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139131
>From 9566bf6fd60d2b4f1dac86f6646002b2541e6736 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 7 May 2025 15:32:28 -0500
Subject: [PATCH 1/2] [flang][OpenMP] Pass OpenMP version to
getOpenMPDirec
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139131
>From 9566bf6fd60d2b4f1dac86f6646002b2541e6736 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 7 May 2025 15:32:28 -0500
Subject: [PATCH 1/4] [flang][OpenMP] Pass OpenMP version to
getOpenMPDirec
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139131
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/139115
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -73,13 +73,16 @@ namespace {
PrintingPolicy Policy;
std::string NL;
const ASTContext *Context;
+unsigned Version;
kparzysz wrote:
Oops, you're right. Removed.
https://github.com/llvm/llvm-project/pull/139115
___
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139115
>From fa6e19481f448db273f84d270891e737ff021749 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 7 May 2025 15:32:08 -0500
Subject: [PATCH 1/6] [clang][OpenMP] Pass OpenMP version to
getOpenMPDirec
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139115
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-
@@ -965,13 +965,13 @@ void
StmtPrinter::VisitOMPTeamsDirective(OMPTeamsDirective *Node) {
void StmtPrinter::VisitOMPCancellationPointDirective(
OMPCancellationPointDirective *Node) {
Indent() << "#pragma omp cancellation point "
- << getOpenMPDirectiveName(Node
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139115
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/139115
>From fa6e19481f448db273f84d270891e737ff021749 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 7 May 2025 15:32:08 -0500
Subject: [PATCH 1/2] [clang][OpenMP] Pass OpenMP version to
getOpenMPDirec
kparzysz wrote:
Previous PR: https://github.com/llvm/llvm-project/pull/137521
https://github.com/llvm/llvm-project/pull/137852
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-
kparzysz wrote:
Yes, it started as a copy, then I removed templates, and replaced type
parameters with concrete types, and removed the "OmpAcc" from function names.
https://github.com/llvm/llvm-project/pull/137517
___
llvm-branch-commits mailing list
kparzysz wrote:
Previous PR: https://github.com/llvm/llvm-project/pull/137517
https://github.com/llvm/llvm-project/pull/137521
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-
kparzysz wrote:
Previous PR: https://github.com/llvm/llvm-project/pull/137460
Next PR: https://github.com/llvm/llvm-project/pull/137521
https://github.com/llvm/llvm-project/pull/137517
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/137521
The UPDATE clause can be specified on both ATOMIC and DEPOBJ directives.
Currently, the ATOMIC directive has its own handling of it, and the definition
of the UPDATE clause only supports its use in the DEPOBJ
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/137517
The OpenMP implementation of the ATOMIC construct will change in the near
future to accommodate OpenMP 6.0. This patch separates the shared
implementations to avoid interfering with OpenACC.
>From 69869a7673c
@@ -4242,9 +4242,8 @@ struct OmpDeviceTypeClause {
// OMP 5.2 15.8.3 extended-atomic, fail-clause ->
//FAIL(memory-order)
struct OmpFailClause {
- WRAPPER_CLASS_BOILERPLATE(
- OmpFailClause, common::Indirection);
- CharBlock source;
kparzysz wrote:
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/136313
Make the FAIL clause contain OmpMemoryOrderType enumeration instead of
OmpClause. This simplifies the semantic checks of the FAIL clause.
>From 8e9aeab1f66342575d56a7c676995e4b16c7ebdf Mon Sep 17 00:00:00 2001
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/136312
>From 8df469018b0a1c09f45636364f96226b7c82d2c3 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Fri, 18 Apr 2025 09:06:37 -0500
Subject: [PATCH] [flang][OpenMP] Extend common::AtomicDefaultMemOrderType
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/136312
Add "Acquire" and "Release", and rename it to OmpMemoryOrderType, since memory
order type is a concept extending beyond the ATOMIC_DEFAULT_MEM_ORDER clause.
When processing a REQUIRES directive (in rewrite-dir
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/118878
>From 1447ec21597f752b29e367a46f06eecdf9c81dd7 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 30 Oct 2024 13:34:21 -0500
Subject: [PATCH 1/2] [clang][OpenMP] Add AST node for root of compound
di
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/131163
>From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 10 Mar 2025 15:42:42 -0500
Subject: [PATCH 1/4] [flang][OpenMP] Use OmpDirectiveSpecification in
sta
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/131163
>From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 10 Mar 2025 15:42:42 -0500
Subject: [PATCH 1/3] [flang][OpenMP] Use OmpDirectiveSpecification in
sta
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/131163
>From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 10 Mar 2025 15:42:42 -0500
Subject: [PATCH 1/3] [flang][OpenMP] Use OmpDirectiveSpecification in
sta
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/131163
>From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 10 Mar 2025 15:42:42 -0500
Subject: [PATCH 1/2] [flang][OpenMP] Use OmpDirectiveSpecification in
sta
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/131163
This uses OmpDirectiveSpecification in the rest of the standalone directives.
>From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 10 Mar 2025 15:42:42 -
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/130146
>From 98df18461bb06afa06b8968b157a3c5a5cf50324 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 6 Mar 2025 08:51:34 -0600
Subject: [PATCH 1/4] [flang][OpenMP] Parse cancel-directive-name as clause
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/130146
>From 98df18461bb06afa06b8968b157a3c5a5cf50324 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 6 Mar 2025 08:51:34 -0600
Subject: [PATCH 1/3] [flang][OpenMP] Parse cancel-directive-name as clause
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/130146
>From 98df18461bb06afa06b8968b157a3c5a5cf50324 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 6 Mar 2025 08:51:34 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Parse cancel-directive-name as clause
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/130122
>From bf56b8c80a0f1a7e06dcd3e898172c27e5afabf5 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 5 Mar 2025 08:24:30 -0600
Subject: [PATCH 1/3] [flang][OpenMP] Accept old FLUSH syntax in METADIRECTI
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/130122
>From bf56b8c80a0f1a7e06dcd3e898172c27e5afabf5 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 5 Mar 2025 08:24:30 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Accept old FLUSH syntax in METADIRECTI
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/130146
>From 98df18461bb06afa06b8968b157a3c5a5cf50324 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 6 Mar 2025 08:51:34 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Parse cancel-directive-name as clause
kparzysz wrote:
Ping... This is a part of METADIRECTIVE support.
https://github.com/llvm/llvm-project/pull/123243
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi
kparzysz wrote:
Summary of code changes:
- Remove the indirection from
`std::optional>>` inside
OmpDirectiveSpecifier. The type with indirection was not convertible to
`std::optional`, which is a relatively useful abstraction. The
consequence of that was that the definition of `OmpDirectiveS
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/124278
Implement parsing and symbol resolution for directives that take arguments.
There are a few, and most of them take objects. Special handling is needed for
two that take more specialized arguments: DECLARE MAPP
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/123397
>From 7fa026c6561020669f42b94fb474648f59fb1e7a Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Fri, 17 Jan 2025 15:04:52 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Parse METADIRECTIVE in specification
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/123397
Add METADIRECTIVE to the OpenMP declarative constructs as well. Emit a TODO
error for both declarative and executable cases.
>From 7fa026c6561020669f42b94fb474648f59fb1e7a Mon Sep 17 00:00:00 2001
From: Krzysz
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/123243
>From 109df33fd4528dd1049544516949b46e214b72d3 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 7 Jan 2025 13:03:18 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Semantic checks for context selectors
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/123243
This implements checks of the validity of context set selectors and trait
selectors, plus the types of trait properties. Clause properties are also
validated, but not name or extension properties.
>From 109df
@@ -214,6 +214,11 @@ class AssociatedLoopChecker {
};
bool OmpStructureChecker::CheckAllowedClause(llvmOmpClause clause) {
+ // Do not do clause checks while processing METADIRECTIVE.
kparzysz wrote:
Done.
https://github.com/llvm/llvm-project/pull/121817
__
@@ -845,7 +851,8 @@ def OMP_Metadirective : Directive<"metadirective"> {
VersionedClause,
];
let allowedOnceClauses = [
-VersionedClause,
+VersionedClause,
+VersionedClause,
kparzysz wrote:
I added a parser test for DEFAULT.
https://github
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From fe3ec47965d5f970e26f9f729a21b61acf366053 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/3] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
@@ -265,6 +265,7 @@ def OMPC_Map : Clause<"map"> {
let flangClass = "OmpMapClause";
}
def OMPC_Match : Clause<"match"> {
+ let flangClass = "OmpMatchClause";
kparzysz wrote:
No, we don't have DECLARE VARIANT yet.
https://github.com/llvm/llvm-project/pull/1
1 - 100 of 372 matches
Mail list logo