https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/110013
>From c04b0c4e26240e2c1a47b9af4974981ab4535305 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 24 Sep 2024 15:14:39 -0500
Subject: [PATCH 1/2] [flang][Semantics] Add LangOptions to SemanticsContex
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/110015
>From 3c786ad2a50f146d357d882b0c1d966486f7295f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 24 Sep 2024 17:41:16 -0500
Subject: [PATCH] [flang][OpenMP] Add version checks for clauses
If there
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/110015
>From 3c786ad2a50f146d357d882b0c1d966486f7295f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 24 Sep 2024 17:41:16 -0500
Subject: [PATCH 1/3] [flang][OpenMP] Add version checks for clauses
If th
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/110015
>From 3c786ad2a50f146d357d882b0c1d966486f7295f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 24 Sep 2024 17:41:16 -0500
Subject: [PATCH 1/4] [flang][OpenMP] Add version checks for clauses
If th
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/115397
>From 4165254e8c4a7b572e741cb62d632b462537dc0f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 5 Nov 2024 12:01:43 -0600
Subject: [PATCH 1/4] [flang][OpenMP] Semantic checks for DOACROSS clause
K
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/117081
This actually simplifies the AST node for the schedule clause: the two allowed
modifiers can be easily classified as the ordering-modifier and the
chunk-modifier during parsing without the need to create addit
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/117916
The usual changes, added more references to OpenMP specs.
>From 43f008a7f8b7a6377f6cb7f3ea4cc20394c2d79d Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 27 Nov 2024 08:34:33 -0600
Subject: [PATCH
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/117917
The usual changes, added more references to OpenMP specs.
>From 43f008a7f8b7a6377f6cb7f3ea4cc20394c2d79d Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 27 Nov 2024 08:34:33 -0600
Subject: [PATCH
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/117917
>From 43f008a7f8b7a6377f6cb7f3ea4cc20394c2d79d Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 27 Nov 2024 08:34:33 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Use new modifiers in
DEPEND/GRAINSIZ
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/118128
The usual changes, added more references to OpenMP specs.
>From cfcf8d1e7ffdcec92dc0dfffccb3c620a2df804f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 27 Nov 2024 08:34:33 -0600
Subject: [PATCH
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/118128
>From cfcf8d1e7ffdcec92dc0dfffccb3c620a2df804f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Wed, 27 Nov 2024 08:34:33 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Use new modifiers in IF/LASTPRIVATE
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/116658
>From fac6a8594643811418f37ee42fc1ac35bcc2a244 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 14 Nov 2024 07:29:59 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Apply modifier representation to sema
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/116658
>From fac6a8594643811418f37ee42fc1ac35bcc2a244 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 14 Nov 2024 07:29:59 -0600
Subject: [PATCH 1/3] [flang][OpenMP] Apply modifier representation to sema
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/116656
The main issue to solve is that OpenMP modifiers can be specified in any order,
so the parser cannot expect any specific modifier at a given position. To solve
that, define modifier to be a union of all allowa
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/116658
Also, define helper macros in parse-tree.h.
Apply the new modifier representation to the DEFAULTMAP and REDUCTION clauses,
with testcases utilizing the new modifier validation.
OpenMP modifier overhaul: #3/3
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/116658
>From fac6a8594643811418f37ee42fc1ac35bcc2a244 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 14 Nov 2024 07:29:59 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Apply modifier representation to sema
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/116656
>From e8bbc26e136993758c3a3197eed6b1924c6531d0 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 18 Nov 2024 08:47:24 -0600
Subject: [PATCH] [flang][OpenMP] Change clause modifier representation in
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/116656
>From e8bbc26e136993758c3a3197eed6b1924c6531d0 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 18 Nov 2024 08:47:24 -0600
Subject: [PATCH] [flang][OpenMP] Change clause modifier representation in
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/116658
>From fac6a8594643811418f37ee42fc1ac35bcc2a244 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 14 Nov 2024 07:29:59 -0600
Subject: [PATCH 1/4] [flang][OpenMP] Apply modifier representation to sema
kparzysz wrote:
The stack:
1. https://github.com/llvm/llvm-project/pull/116655
2. https://github.com/llvm/llvm-project/pull/116656
3. https://github.com/llvm/llvm-project/pull/116658 **(this PR)**
https://github.com/llvm/llvm-project/pull/116658
___
ll
kparzysz wrote:
The stack:
1. https://github.com/llvm/llvm-project/pull/116655
2. https://github.com/llvm/llvm-project/pull/116656 **(this PR)**
3. https://github.com/llvm/llvm-project/pull/116658
https://github.com/llvm/llvm-project/pull/116656
___
ll
@@ -3440,6 +3440,16 @@ struct OmpObject {
WRAPPER_CLASS(OmpObjectList, std::list);
+#define MODIFIER_BOILERPLATE(...) \
+ struct Modifier { \
+using Variant = std::variant<__VA_ARGS__>; \
+UNION_CLASS_BOILERPLATE(Modifier); \
+CharBlock source; \
+Variant u;
@@ -33,7 +33,7 @@ program main
enddo
!$omp end target parallel
- !ERROR: The DEFAULTMAP clause requires a variable-category SCALAR in OpenMP
v1.1, try -fopenmp-version=50
+ !ERROR: A variable-category modifier is required
kparzysz wrote:
They can be im
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/115397
>From 4165254e8c4a7b572e741cb62d632b462537dc0f Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 5 Nov 2024 12:01:43 -0600
Subject: [PATCH 1/4] [flang][OpenMP] Semantic checks for DOACROSS clause
K
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/117784
>From ee00ecdc5a8b342c80ef34a8e1a1c8bb91855ab8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Tue, 26 Nov 2024 09:01:49 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Rename some `Type` members in OpenMP
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/117786
>From 09b1270faf2dc5125c36c7f4cc246b3a922d5b08 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 25 Nov 2024 14:55:37 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Use new modifiers with
AFFINITY/ALIG
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/117784
The intent is to keep names in sync with the terminology from the OpenMP spec:
```
OmpBindClause::Type -> Binding
OmpDefaultClause::Type-> DataSharingAttribute
OmpDeviceTypeClause::Type -> Device
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/117786
This is a mostly mechanical change from specific modifiers embedded directly in
a clause to the Modifier variant.
Additional comments and references to the OpenMP specs were added.
>From 09b1270faf2dc5125c36c
@@ -16,13 +16,58 @@
#include "token-parsers.h"
#include "type-parser-implementation.h"
#include "flang/Parser/parse-tree.h"
+#include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Frontend/OpenMP/OMP.h"
// OpenMP Dire
@@ -16,13 +16,58 @@
#include "token-parsers.h"
#include "type-parser-implementation.h"
#include "flang/Parser/parse-tree.h"
+#include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Frontend/OpenMP/OMP.h"
// OpenMP Dire
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/118841
Update parsing of these two clauses and add semantic checks for them. Simplify
some code in IsReductionAllowedForType and CheckReductionOperator.
>From 33903894f00ae935f957553368639f1ade51617f Mon Sep 17 00:00
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 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
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/121815
This is just adding parsers for context selectors. There are no tests because
there is no way to execute these parsers yet.
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzyszt
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/121817
Parse METADIRECTIVE as a standalone executable directive at the moment. This
will allow testing the parser code.
There is no lowering, not even clause conversion yet. There is also no
verification of the allo
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121815
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH] [flang][OpenMP] Parsing context selectors for METADIRECTI
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121815
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH] [flang][OpenMP] Parsing context selectors for METADIRECTI
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/4] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/4] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
kparzysz wrote:
The build failures are unrelated to the code. There is some flaky testcase
that causes the breakage.
https://github.com/llvm/llvm-project/pull/121817
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://list
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/5] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/7] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/6] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
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:
> Are the symbols not being resolved properly? Or did I miss a point?
I'm working on something different at the moment, but for debugging purposes I
changed the tree dumper to show symbol information too. Here's the output for
this code. It shows that the variable `my_mapper`
kparzysz wrote:
I looked at the clang code and it's not clear to me why they do it at runtime.
Mappers can refer to other mappers (for sub-objects), but all mappers and all
type layouts should be present in (or obtainable from) the AST[1]. In other
words, clang should be able to emit all the
kparzysz wrote:
1. If you want to create an MLIR op for the mapper, you can give it some name
(you can mangle it if you want). You will need to store it in the MLIR
somewhere/somehow.
2. If you want to record the use of a mapper in a clause, you can just use the
name of the mapper in the same
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/117081
>From 43bdfcdb48328fcdfe762734bd5a4c1df3987c4b Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Mon, 18 Nov 2024 13:01:30 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Use new modifier code in ORDER and
S
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/118878
This will be used to print the original directive source from the AST after
splitting compound directives.
>From 1447ec21597f752b29e367a46f06eecdf9c81dd7 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Dat
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/7] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121815
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH] [flang][OpenMP] Parsing context selectors for METADIRECTI
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 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/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 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] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses plus
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] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses plus
kparzysz wrote:
Force-pushed to change the base. There were no review comments yes, so it
shouldn't mess up anything.
https://github.com/llvm/llvm-project/pull/121817
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lis
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/121817
___
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/121817
>From fe3ec47965d5f970e26f9f729a21b61acf366053 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses plus
@@ -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
@@ -3474,6 +3477,138 @@ WRAPPER_CLASS(OmpObjectList, std::list);
#define MODIFIERS() std::optional>
+inline namespace traits {
+// trait-property-name ->
+//identifier | string-literal
+struct OmpTraitPropertyName {
+ CharBlock source;
+ WRAPPER_CLASS_BOILERPLATE(OmpTra
@@ -3474,6 +3477,138 @@ WRAPPER_CLASS(OmpObjectList, std::list);
#define MODIFIERS() std::optional>
+inline namespace traits {
+// trait-property-name ->
+//identifier | string-literal
+struct OmpTraitPropertyName {
+ CharBlock source;
+ WRAPPER_CLASS_BOILERPLATE(OmpTra
@@ -3474,6 +3477,138 @@ WRAPPER_CLASS(OmpObjectList, std::list);
#define MODIFIERS() std::optional>
+inline namespace traits {
+// trait-property-name ->
+//identifier | string-literal
+struct OmpTraitPropertyName {
+ CharBlock source;
+ WRAPPER_CLASS_BOILERPLATE(OmpTra
@@ -153,6 +153,81 @@ static TypeDeclarationStmt
makeIterSpecDecl(std::list &&names) {
makeEntityList(std::move(names)));
}
+// --- Parsers for context traits -
+
+TYPE_PARSER(sourced(construct( //
+(space >> charLiteralConstantWit
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121815
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/7] [flang][OpenMP] Parsing context selectors for
METADI
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121815
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/6] [flang][OpenMP] Parsing context selectors for
METADI
@@ -3453,6 +3453,17 @@ WRAPPER_CLASS(PauseStmt, std::optional);
// --- Common definitions
+struct OmpClause;
+struct OmpClauseList;
+
+struct OmpDirectiveSpecification {
+ TUPLE_CLASS_BOILERPLATE(OmpDirectiveSpecification);
+ std::tuple>>
+ t;
+ CharBlock source;
+};
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/121815
___
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/121815
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Parsing context selectors for
METADI
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121815
>From 215c7e6133bf07d005ac7483b8faf797e319a1fa Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/5] [flang][OpenMP] Parsing context selectors for
METADI
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/9] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121817
>From 5f534c559ca1bb7911b484264582d1a5078bdcb8 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 12 Dec 2024 15:26:26 -0600
Subject: [PATCH 1/8] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses
https://github.com/kparzysz created
https://github.com/llvm/llvm-project/pull/121509
Allow utility constructs (error and nothing) to appear in the specification
part as well as the execution part. The exception is "ERROR AT(EXECUTION)"
which should only be in the execution part.
In case of amb
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121509
>From 0e21e1df3ef8f51f34b6dabc095a9691be2619b5 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Sat, 21 Dec 2024 11:18:47 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Allow utility constructs in specifica
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/121509
>From 0e21e1df3ef8f51f34b6dabc095a9691be2619b5 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Sat, 21 Dec 2024 11:18:47 -0600
Subject: [PATCH 1/3] [flang][OpenMP] Allow utility constructs in specifica
@@ -214,6 +214,11 @@ class AssociatedLoopChecker {
};
bool OmpStructureChecker::CheckAllowedClause(llvmOmpClause clause) {
+ // Do not do clause checks while processing METADIRECTIVE.
kparzysz wrote:
Yes, I'll add a comment. The reason was that when you spe
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
@@ -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
@@ -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
__
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
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 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 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/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/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
@@ -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/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
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
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-
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
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/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-
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/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/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/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/2] [flang][OpenMP] Parse cancel-directive-name as clause
201 - 300 of 372 matches
Mail list logo