https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146028
>From 8e67de7800c02e7d93fadabc92a91618dda0d715 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:05:42 -0500
Subject: [PATCH] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s
defintion
Re
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146033
>From 40b783f0a3c558201fcefdc9f1f0e60013901a75 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:58:08 -0500
Subject: [PATCH 1/2] [flang][OpenMP] Basic mapping of `do concurrent ...
reduce` to Open
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146853
>From 9bdbb0ca514f5d13b893532c12a4480391bfbcfd Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 3 Jul 2025 05:45:40 -0500
Subject: [PATCH] [flang][do concurrent] Extned `getAllocaBlock()` and emit
yields correct
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146028
>From 53f9c0dc052075d5fedc0d22893e816ca00785c8 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:05:42 -0500
Subject: [PATCH] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s
defintion
Re
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146025
>From 062fab576aa99cae0d393dbea70bcce5d4ef8587 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 26 Jun 2025 23:30:04 -0500
Subject: [PATCH 1/2] [NFC][flang] Move `ReductionProcessor` to
`Lower/Support`.
With #1
https://github.com/ergawy created
https://github.com/llvm/llvm-project/pull/146853
Handles some loose ends in `do concurrent` reduction declarations. This PR
extends `getAllocaBlock` to handle declare ops, and also emit `fir.yield` in
all regions.
>From caabbde941c1c870a850d4ed85d1b81d5e5d075
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146033
>From ba0d0c89692622968db915fb89d70443d032cdf3 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:58:08 -0500
Subject: [PATCH 1/2] [flang][OpenMP] Basic mapping of `do concurrent ...
reduce` to Open
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146028
>From 15ed831ad72cf5d109278f01a693a8fd4a7e2793 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:05:42 -0500
Subject: [PATCH] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s
defintion
Re
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146025
>From db537f5fbb7d1f7c6c965262beef9682ccdcabf3 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 26 Jun 2025 23:30:04 -0500
Subject: [PATCH 1/2] [NFC][flang] Move `ReductionProcessor` to
`Lower/Support`.
With #1
ergawy wrote:
> LGTM but please could you add a test that covers every region.
Thanks for the review. Done.
https://github.com/llvm/llvm-project/pull/146033
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146033
>From f7837d52f95340e627852ebaa34407ac318156c5 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:58:08 -0500
Subject: [PATCH 1/2] [flang][OpenMP] Basic mapping of `do concurrent ...
reduce` to Open
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146025
>From 6a7c71ecaebccf4d8dddc7373384b4df918973c2 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 26 Jun 2025 23:30:04 -0500
Subject: [PATCH 1/2] [NFC][flang] Move `ReductionProcessor` to
`Lower/Support`.
With #1
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146028
>From 3e2bdf5a8d346f6817f86e98f098e3f6cc47e0b0 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:05:42 -0500
Subject: [PATCH] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s
defintion
Re
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146028
>From 105ac7ade82ccfdfd0b33d30dc46c84a94df884b Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:05:42 -0500
Subject: [PATCH] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s
defintion
Re
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146033
>From 34a5df1725f185ba91d9a41ab6286635537502dc Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:58:08 -0500
Subject: [PATCH] [flang][OpenMP] Basic mapping of `do concurrent ... reduce`
to OpenMP
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146025
>From 6a7c71ecaebccf4d8dddc7373384b4df918973c2 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 26 Jun 2025 23:30:04 -0500
Subject: [PATCH] [NFC][flang] Move `ReductionProcessor` to `Lower/Support`.
With #145837
https://github.com/ergawy edited
https://github.com/llvm/llvm-project/pull/146033
___
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/ergawy edited
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/ergawy updated
https://github.com/llvm/llvm-project/pull/146033
>From c99a5025813a43c6984ad267d38d4d4b6b508ac7 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:58:08 -0500
Subject: [PATCH] [flang][OpenMP] Basic mapping of `do concurrent ... reduce`
to OpenMP
https://github.com/ergawy edited
https://github.com/llvm/llvm-project/pull/146033
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/146028
___
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/ergawy edited
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/ergawy ready_for_review
https://github.com/llvm/llvm-project/pull/146033
___
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/ergawy converted_to_draft
https://github.com/llvm/llvm-project/pull/146033
___
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/ergawy created
https://github.com/llvm/llvm-project/pull/146033
Now that we have changes introduced by #145837, mapping reductions from `do
concurrent` to OpenMP is almost trivial. This PR adds such mapping.
TODO: Add tests
>From b99122bb337d80d0d7958b6763e1337b3e5d9405 Mon
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146028
>From 5f665c949781fda9406e67c74c31217dba170a4c Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2025 00:05:42 -0500
Subject: [PATCH] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s
defintion
Re
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146025
>From 9021dbcf419e189f96e2d88f6db97c9d472dc2b9 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 26 Jun 2025 23:30:04 -0500
Subject: [PATCH] [NFC][flang] Move `ReductionProcessor` to `Lower/Support`.
With #145837
https://github.com/ergawy created
https://github.com/llvm/llvm-project/pull/146028
Re-organizes the op definition a little bit and removes a method that does not
add much value to the API.
>From d9ca670ba85ea25660c2ba7a79961c73ee1de3a6 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Fri, 27 Jun 2
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/146025
>From 5073e7d31238dc441cf1a7e8f35f75d9c8b29f12 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Thu, 26 Jun 2025 23:30:04 -0500
Subject: [PATCH] [NFC][flang] Move `ReductionProcessor` to `Lower/Support`.
With #145837
https://github.com/ergawy approved this pull request.
LGTM! Thanks
https://github.com/llvm/llvm-project/pull/144898
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-comm
https://github.com/ergawy approved this pull request.
LGTM! Thanks Sergio and sorry for the very late review. Just 2 questions.
https://github.com/llvm/llvm-project/pull/137201
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
htt
@@ -3173,19 +3173,14 @@ convertOmpThreadprivate(Operation &opInst,
llvm::IRBuilderBase &builder,
LLVM::GlobalOp global =
addressOfOp.getGlobal(moduleTranslation.symbolTable());
llvm::GlobalValue *globalValue = moduleTranslation.lookupGlobal(global);
-
- if (!ompBuil
https://github.com/ergawy edited
https://github.com/llvm/llvm-project/pull/137201
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -5488,40 +5483,172 @@ convertDeclareTargetAttr(Operation *op,
mlir::omp::DeclareTargetAttr attribute,
return success();
}
-// Returns true if the operation is inside a TargetOp or
-// is part of a declare target function.
-static bool isTargetDeviceOp(Operation *op) {
+n
ergawy wrote:
I have no idea how I closed this! Sorry @tblah, can you please reopen it?
https://github.com/llvm/llvm-project/pull/144087
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
ergawy wrote:
Reopening since I closed it by mistake somehow.
https://github.com/llvm/llvm-project/pull/144087
___
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/ergawy closed
https://github.com/llvm/llvm-project/pull/144087
___
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/ergawy created
https://github.com/llvm/llvm-project/pull/144015
Adds symbol map scopes for standalone `teams` and `parallel` constructs. This
is required to properly bind the privatized symbols in both constructs so that
nested constructs can find them.
Resolves https://git
ergawy wrote:
I don't know why these 9 commits were added! Weird.
https://github.com/llvm/llvm-project/pull/142735
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi
https://github.com/ergawy created
https://github.com/llvm/llvm-project/pull/142795
Extends support for locality specifier to OpenMP translation by adding supprot
for transling localizers that have `init` and `dealloc` regions.
>From 7b331963134cafc47290a45a321e7a62ef8cfce7 Mon Sep 17 00:00:00
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/142735
>From 62596cdddcbda71b2a1b306cedd8de238510b105 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Wed, 4 Jun 2025 00:54:37 -0500
Subject: [PATCH] [flang][OpenMP] Map basic `local` specifiers to `private`
clauses
Start
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/142567
>From fd943c277c419105055caf92180f641550b747f3 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Tue, 3 Jun 2025 04:22:20 -0500
Subject: [PATCH] [flang] Enable delayed localization by default for `do
concurrent`
---
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/142567
>From 345406e6f8eaf63ed312011e60d0d0200a1d72de Mon Sep 17 00:00:00 2001
From: ergawy
Date: Tue, 3 Jun 2025 04:22:20 -0500
Subject: [PATCH] [flang] Enable delayed localization by default for `do
concurrent`
---
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/142567
>From 5647d02ea8ff66ac7be0a8752abd40c60f719f2c Mon Sep 17 00:00:00 2001
From: ergawy
Date: Tue, 3 Jun 2025 04:22:20 -0500
Subject: [PATCH] [flang] Enable delayed localization by default for `do
concurrent`
---
https://github.com/ergawy edited
https://github.com/llvm/llvm-project/pull/142567
___
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/ergawy created
https://github.com/llvm/llvm-project/pull/142567
None
>From 47ad6ccdc66e22552650bfa965caa16acbdf2bc4 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Tue, 3 Jun 2025 04:22:20 -0500
Subject: [PATCH] [flang] Enable delayed localization by default for `do
concurrent`
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/141767
>From cfee9fea07cefc99c5b6b978eeb1755ad8cbfeed Mon Sep 17 00:00:00 2001
From: ergawy
Date: Wed, 28 May 2025 06:18:33 -0500
Subject: [PATCH] [flang][fir][OpenMP] Refactor privtization code into shared
location
R
https://github.com/ergawy created
https://github.com/llvm/llvm-project/pull/141767
Refactors the utils needed to create privtization/locatization ops for both the
fir and OpenMP dialects into a shared location isolating OpenMP stuff out of it
as much as possible.
>From 2524b27d5f8ab6c6df2c3a8
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138816
>From e0eb1611a67579562edefe1c66263c2cc562c5d7 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Wed, 7 May 2025 02:41:14 -0500
Subject: [PATCH] [flang] Generlize names of delayed privatization CLI flags
Remove the `o
@@ -2029,9 +2031,33 @@ class FirConverter : public
Fortran::lower::AbstractConverter {
void handleLocalitySpecs(const IncrementLoopInfo &info) {
Fortran::semantics::SemanticsContext &semanticsContext =
bridge.getSemanticsContext();
-for (const Fortran::semant
@@ -2029,9 +2031,30 @@ class FirConverter : public
Fortran::lower::AbstractConverter {
void handleLocalitySpecs(const IncrementLoopInfo &info) {
Fortran::semantics::SemanticsContext &semanticsContext =
bridge.getSemanticsContext();
-for (const Fortran::semant
@@ -2029,9 +2031,33 @@ class FirConverter : public
Fortran::lower::AbstractConverter {
void handleLocalitySpecs(const IncrementLoopInfo &info) {
Fortran::semantics::SemanticsContext &semanticsContext =
bridge.getSemanticsContext();
-for (const Fortran::semant
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138534
>From b6893b6bd8444508867a91b9d28e5cc725fab191 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 07:15:52 -0500
Subject: [PATCH 1/2] [flang][fir] Basic PFT to MLIR lowering for do concurrent
locality s
@@ -162,7 +173,52 @@ class DoConcurrentConversion
assert(loop.getRegion().hasOneBlock());
mlir::Block &loopBlock = loop.getRegion().getBlocks().front();
-// Collect iteration variable(s) allocations do that we can move them
+// Handle localization
+if (!loo
https://github.com/ergawy edited
https://github.com/llvm/llvm-project/pull/138489
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138816
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138505
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138506
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138512
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138534
___
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/ergawy created
https://github.com/llvm/llvm-project/pull/138816
Remove the `openmp` prefix from delayed privatization/localization flags since
they are now used for `do concurrent` as well.
Rate limit · GitHub
body {
background
@@ -162,7 +173,52 @@ class DoConcurrentConversion
assert(loop.getRegion().hasOneBlock());
mlir::Block &loopBlock = loop.getRegion().getBlocks().front();
-// Collect iteration variable(s) allocations do that we can move them
+// Handle localization
+if (!loo
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138534
>From 0d309682fa886e3481f95ed0b0ba9a6ca9a5c9f1 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 07:15:52 -0500
Subject: [PATCH 1/2] [flang][fir] Basic PFT to MLIR lowering for do concurrent
locality s
@@ -2029,9 +2031,30 @@ class FirConverter : public
Fortran::lower::AbstractConverter {
void handleLocalitySpecs(const IncrementLoopInfo &info) {
Fortran::semantics::SemanticsContext &semanticsContext =
bridge.getSemanticsContext();
-for (const Fortran::semant
ergawy wrote:
> This needs a TODO message for locality specifiers which are not yet supported
> (as I understand it this means ones with init or dealloc regions)
Done. I think we might end up not supporting `init` and `dealloc` regions for
`fir.local` ops since this is the case for early local
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138512
>From a4acb56894a9e5ec95f857a671e672b126e979c5 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 06:50:49 -0500
Subject: [PATCH 1/2] [flang][fir] Basci lowering `fir.do_concurrent` locality
specs to `f
@@ -3485,6 +3485,137 @@ def fir_BoxTotalElementsOp
let hasCanonicalizer = 1;
}
+def YieldOp : fir_Op<"yield",
+[Pure, ReturnLike, Terminator,
+ ParentOneOf<["LocalitySpecifierOp"]>]> {
+ let summary = "loop yield and termination operation";
+ let description = [{
+
ergawy wrote:
> Please could you add a test for the verifier failures.
Done.
https://github.com/llvm/llvm-project/pull/138505
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-
@@ -3485,6 +3485,137 @@ def fir_BoxTotalElementsOp
let hasCanonicalizer = 1;
}
+def YieldOp : fir_Op<"yield",
+[Pure, ReturnLike, Terminator,
+ ParentOneOf<["LocalitySpecifierOp"]>]> {
+ let summary = "loop yield and termination operation";
+ let description = [{
+
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138505
>From 09f3a12a25be35d119c02164ef6a4d21a024a940 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 04:20:40 -0500
Subject: [PATCH 1/3] [flang][fir] Add `fir.local` op for locality specifiers
Adds a new `
@@ -3485,6 +3485,137 @@ def fir_BoxTotalElementsOp
let hasCanonicalizer = 1;
}
+def YieldOp : fir_Op<"yield",
+[Pure, ReturnLike, Terminator,
+ ParentOneOf<["LocalitySpecifierOp"]>]> {
+ let summary = "loop yield and termination operation";
+ let description = [{
+
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138512
>From a4acb56894a9e5ec95f857a671e672b126e979c5 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 06:50:49 -0500
Subject: [PATCH] [flang][fir] Basci lowering `fir.do_concurrent` locality
specs to `fir.d
ergawy wrote:
> Please could you add a test for the verifier failures.
On it
https://github.com/llvm/llvm-project/pull/138505
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
@@ -3485,6 +3485,137 @@ def fir_BoxTotalElementsOp
let hasCanonicalizer = 1;
}
+def YieldOp : fir_Op<"yield",
+[Pure, ReturnLike, Terminator,
+ ParentOneOf<["LocalitySpecifierOp"]>]> {
+ let summary = "loop yield and termination operation";
+ let description = [{
+
@@ -3485,6 +3485,137 @@ def fir_BoxTotalElementsOp
let hasCanonicalizer = 1;
}
+def YieldOp : fir_Op<"yield",
+[Pure, ReturnLike, Terminator,
+ ParentOneOf<["LocalitySpecifierOp"]>]> {
+ let summary = "loop yield and termination operation";
+ let description = [{
+
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138534
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138506
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138505
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
@@ -3485,6 +3485,137 @@ def fir_BoxTotalElementsOp
let hasCanonicalizer = 1;
}
+def YieldOp : fir_Op<"yield",
ergawy wrote:
`fir.result` requires its parent op to have the same number of results
(https://github.com/llvm/llvm-project/blob/main/flang/lib/Opt
@@ -548,19 +357,16 @@ class DoConcurrentConversionPass
return;
}
-llvm::DenseSet concurrentLoopsToSkip;
+llvm::DenseSet concurrentLoopsToSkip;
ergawy wrote:
> I'm not certain that is guaranteed.
ops are walked [in
pre-order](https://github
https://github.com/ergawy closed
https://github.com/llvm/llvm-project/pull/137929
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
ergawy wrote:
Abandoning since we have a PR stack to implement locality specs:
- https://github.com/llvm/llvm-project/pull/138505
- https://github.com/llvm/llvm-project/pull/138506
- https://github.com/llvm/llvm-project/pull/138512
- https://github.com/llvm/llvm-project/pull/138534
https://githu
https://github.com/ergawy edited
https://github.com/llvm/llvm-project/pull/138512
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138512
___
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/ergawy updated
https://github.com/llvm/llvm-project/pull/138534
>From 41a340107729c3cfdf124aa398f270ad2ec013e1 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 07:15:52 -0500
Subject: [PATCH] [flang][fir] Basic PFT to MLIR lowering for do concurrent
locality speci
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138534
>From 098df5a40cae3f7d514bcdb6579c7107ef74c18e Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 07:15:52 -0500
Subject: [PATCH] [flang][fir] Basic PFT to MLIR lowering for do concurrent
locality speci
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138512
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138506
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
https://github.com/ergawy edited
https://github.com/llvm/llvm-project/pull/138534
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138512
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138506
___
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/ergawy edited
https://github.com/llvm/llvm-project/pull/138505
___
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/ergawy created
https://github.com/llvm/llvm-project/pull/138534
Extends support for `fir.do_concurrent` locality specifiers to the PFT to MLIR
level. This adds code-gen for generating the newly added `fir.local` ops and
referencing these ops from `fir.do_concurrent.loop` ops
https://github.com/ergawy created
https://github.com/llvm/llvm-project/pull/138512
Extends lowering `fir.do_concurrent` to `fir.do_loop ... unordered` by adding
support for locality specifiers.
In particular, for `local` specifiers, a `fir.alloca` op is created using the
localizer type. For `
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138506
>From 33312c3ed87c5d299673be5e4831ea1583d536c6 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 03:25:19 -0500
Subject: [PATCH] [flang][fir] Add locality specifiers modeling to
`fir.do_concurrent.loop
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138505
>From 09f3a12a25be35d119c02164ef6a4d21a024a940 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 04:20:40 -0500
Subject: [PATCH] [flang][fir] Add `fir.local` op for locality specifiers
Adds a new `fir.
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138489
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-se
https://github.com/ergawy created
https://github.com/llvm/llvm-project/pull/138506
Extends `fir.do_concurrent.loop` ops to model locality specifiers. This follows
the same pattern used in OpenMP where an op of type `fir.local` (in OpenMP it
is `omp.private`) is referenced from the `do concurre
https://github.com/ergawy created
https://github.com/llvm/llvm-project/pull/138505
Adds a new `fir.local` op to model `local` and `local_init` locality
specifiers. This op is a clone of `omp.private`. In particular, this new op
also models the privatization/localization logic of an SSA value i
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/138489
>From ac0cde7576c49a00e3591254d6891879b52bee81 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Mon, 5 May 2025 02:23:04 -0500
Subject: [PATCH] [flang][OpenMP] Update `do concurrent` mapping pass to use
`fir.do_concu
1 - 100 of 295 matches
Mail list logo