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

2024-10-04 Thread Thirumalai Shaktivel via llvm-branch-commits
Thirumalai-Shaktivel wrote: Thanks for the quick fix. Yes, it works fine. Here is another MRE that crashes: ```fortran subroutine test_workshare_02() real :: x(10) integer :: i call random_number(x) x = 2 !$omp workshare forall(i=1: 10) x(i

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

2024-10-20 Thread Thirumalai Shaktivel via llvm-branch-commits
https://github.com/Thirumalai-Shaktivel created https://github.com/llvm/llvm-project/pull/113082 Continuation from https://github.com/llvm/llvm-project/pull/104748 > From Documentation: \ Evaluation of transformational array intrinsic functions may be freely subdivided into any number of units o

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

2024-10-20 Thread Thirumalai Shaktivel via llvm-branch-commits
Thirumalai-Shaktivel wrote: Two issues to fix, 1. Initialize the target with zero 2. Fix Ivan's test failures. https://github.com/llvm/llvm-project/pull/113082 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.o

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

2024-10-20 Thread Thirumalai Shaktivel via llvm-branch-commits
Thirumalai-Shaktivel wrote: Kindly share your thoughts on this idea. 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-co

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

2024-10-20 Thread Thirumalai Shaktivel via llvm-branch-commits
https://github.com/Thirumalai-Shaktivel 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] [Flang][OMP] Replace SUM intrinsic call with SUM operations (PR #113082)

2024-10-23 Thread Thirumalai Shaktivel via llvm-branch-commits
https://github.com/Thirumalai-Shaktivel ready_for_review 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-10-03 Thread Thirumalai Shaktivel via llvm-branch-commits
Thirumalai-Shaktivel wrote: Hi @ivanradanov, thanks for the PR! I tried building and testing this PR. And came across a case where it seg faults. Can you please check it? ```fortran program test real :: arr_01(10) !$omp parallel workshare arr_01 = arr_01*2 !$

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

2024-10-24 Thread Thirumalai Shaktivel via llvm-branch-commits
Thirumalai-Shaktivel wrote: All the PRs LGTM, this works for my test cases. https://github.com/llvm/llvm-project/pull/101446 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-br