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 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/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 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/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
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/6] [clang][OpenMP] Pass OpenMP version to
getOpenMPDirec
@@ -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 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
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 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
>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
@@ -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 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
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/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 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
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
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-
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/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 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 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
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/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 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
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/7] [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/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
@@ -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
@@ -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
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
__
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 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
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
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
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
4. https://github.com/llvm/llvm-project/pull/141765
5. https://github.com/llvm/llvm-project/pull/141766 (this PR)
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
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
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 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
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 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 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 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 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 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
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 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
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 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
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 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
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
@@ -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 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
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/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:
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
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
__
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
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
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
__
301 - 372 of 372 matches
Mail list logo