[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-10-03 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From 4c207b5c8e44d83eea08d283b8e3811585137744 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Fri, 4 Oct 2024 15:28:07 +0900 Subject: [PATCH 1/6] Different warning --- flang/lib/Optimizer/OpenMP/

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-10-04 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From b11ddd76c7fa12b071e0e6b0afd4c3ebbc9ee363 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sat, 5 Oct 2024 12:57:48 +0900 Subject: [PATCH 1/6] Fix tests --- flang/lib/Optimizer/OpenMP/LowerWor

[llvm-branch-commits] [flang] [flang] Introduce custom loop nest generation for loops in workshare construct (PR #101445)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101445 >From 6f114e0501f1759eab34dc8ddfc3030c03037cd4 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Thu, 22 Aug 2024 18:07:05 +0900 Subject: [PATCH 1/2] [flang] Introduce ws loop nest generation for HLFI

[llvm-branch-commits] [flang] [flang][omp] Emit omp.workshare in frontend (PR #101444)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101444 >From bf363883787e9b4989dd858f8573579688f7044b Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Wed, 31 Jul 2024 14:11:47 +0900 Subject: [PATCH 1/2] [flang][omp] Emit omp.workshare in frontend Fix l

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From cc9096e80fc62ba9c5a7d511ee7b8fd18750cb44 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 01/14] [flang] Lower omp.workshare to other omp construc

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From 5aca24559fc6f64a06f66a6d7e35f1edc82995a5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 17:33:52 +0900 Subject: [PATCH 1/8] Add workshare loop wrapper lowerings Bufferize tes

[llvm-branch-commits] [flang] [flang] Introduce custom loop nest generation for loops in workshare construct (PR #101445)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101445 >From 159a2f46bf3a01322cb24539ede289ea089e62c6 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Thu, 22 Aug 2024 18:07:05 +0900 Subject: [PATCH 1/2] [flang] Introduce ws loop nest generation for HLFI

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov ready_for_review https://github.com/llvm/llvm-project/pull/104748 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][omp] Emit omp.workshare in frontend (PR #101444)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101444 >From 31ddd5c8bf59c4f6b386415c89bd87f80bb83409 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Wed, 31 Jul 2024 14:11:47 +0900 Subject: [PATCH 1/2] [flang][omp] Emit omp.workshare in frontend Fix l

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From e56dbd6a0625890fd9a3d6a62675e864ca94a8f5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 01/13] [flang] Lower omp.workshare to other omp construc

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From 4257950e7df8d7eaf92a1a7b02f89422007ffe6a Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sat, 19 Oct 2024 23:32:27 +0900 Subject: [PATCH 1/7] Do not emit empty omp.single's --- flang/lib/Opt

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-10-19 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: I have rebased this on the latest main and also marked the follow up https://github.com/llvm/llvm-project/pull/104748 as ready for review. This follow up PR contains code and tests which are needed to fully check this implementation as well. I think this stack is currently

[llvm-branch-commits] [flang] [Flang][OMP] Replace SUM intrinsic call with SUM operations (PR #113082)

2024-10-20 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: I think there are two main approaches: ### Have alternative intrinsic implementations in their own runtime library e.g. the version of assignment for the workshare construct will be something like this ``` workshare_Assign(a, b) { #pragma omp for for i from 0 to size

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-10-04 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From e56dbd6a0625890fd9a3d6a62675e864ca94a8f5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 01/12] [flang] Lower omp.workshare to other omp construc

[llvm-branch-commits] [flang] [Flang][OMP] Replace SUM intrinsic call with SUM operations (PR #113082)

2024-10-23 Thread Ivan R. Ivanov via llvm-branch-commits
@@ -227,11 +227,11 @@ void createHLFIRToFIRPassPipeline(mlir::PassManager &pm, bool enableOpenMP, hlfir::createOptimizedBufferization); } pm.addPass(hlfir::createLowerHLFIROrderedAssignments()); + if (enableOpenMP) +pm.addPass(

[llvm-branch-commits] [flang] [Flang][OMP] Replace SUM intrinsic call with SUM operations (PR #113082)

2024-10-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov edited https://github.com/llvm/llvm-project/pull/113082 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-09-22 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From e0ef194ecf8bf0e9c450ee11c244eb4450548aef Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 17:33:52 +0900 Subject: [PATCH 1/2] Add workshare loop wrapper lowerings Bufferize tes

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: I have added a comment explaining the limitation of not allowing CFG in workshare for now and an appropriate TODO message for that. Regarding documenting the current supported statements in workshare - this specific commit will still result in the trivial omp.single lowering

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From e56dbd6a0625890fd9a3d6a62675e864ca94a8f5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 1/4] [flang] Lower omp.workshare to other omp constructs

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From b710a580ab1732b3b41f0e3fb0684b45108d2c09 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Mon, 23 Sep 2024 16:04:07 +0900 Subject: [PATCH 1/3] clang-format --- flang/include/flang/Tools/CLOpt

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-09-22 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From 975a0d74c5ae81c69844b8bd089832ed53278477 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Mon, 23 Sep 2024 15:07:48 +0900 Subject: [PATCH 1/4] Emit a proper error message for CFG in workshare

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-22 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From e56dbd6a0625890fd9a3d6a62675e864ca94a8f5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 1/3] [flang] Lower omp.workshare to other omp constructs

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From e56dbd6a0625890fd9a3d6a62675e864ca94a8f5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 1/5] [flang] Lower omp.workshare to other omp constructs

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From df6bd4282f21590b9d086608cd2cc136b18d54df Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Mon, 23 Sep 2024 16:25:55 +0900 Subject: [PATCH 1/3] Fix todo tests --- flang/test/Transforms/OpenMP/

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-10-03 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: Thank you very much - it seems to only happen with `-O0`, I am trying to find the root cause now... https://github.com/llvm/llvm-project/pull/104748 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lis

[llvm-branch-commits] [flang] [flang] Introduce custom loop nest generation for loops in workshare construct (PR #101445)

2024-11-18 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101445 >From 382728a26f57d403b9566fa57a13de84fe3d6979 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Thu, 22 Aug 2024 18:07:05 +0900 Subject: [PATCH] [flang] Introduce ws loop nest generation for HLFIR lo

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-11-18 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 error: too big or took too long to generate ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[llvm-branch-commits] [flang] [flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-11-18 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From a0f2307ce374355449877178cea70049b9e861d5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 17:33:52 +0900 Subject: [PATCH] Add workshare loop wrapper lowerings Bufferize test B

[llvm-branch-commits] [flang] [flang][omp] Emit omp.workshare in frontend (PR #101444)

2024-11-18 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101444 >From 291b4259578a2790094743c8301be29adade7a11 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Wed, 31 Jul 2024 14:11:47 +0900 Subject: [PATCH] [flang][omp] Emit omp.workshare in frontend Fix lower

[llvm-branch-commits] [flang] [mlir] [Flang][OMP] Replace SUM intrinsic call with SUM operations (PR #113082)

2024-11-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov closed https://github.com/llvm/llvm-project/pull/113082 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-11-13 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov edited https://github.com/llvm/llvm-project/pull/104748 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-11-13 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: @tblah It is ready for review, I had just forgotten to take the [WIP] in the title away, sorry for that. https://github.com/llvm/llvm-project/pull/104748 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https:

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-11-13 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: @tblah I think they are in a good state - I just need a review on this one - the other ones are approved. https://github.com/llvm/llvm-project/pull/101446 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https

<    1   2