[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)
Thirumalai Shaktivel via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 4 02:37:54 PDT 2024
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) = x(i) * 2
!$omp end workshare
end subroutine test_workshare_02
```
The same crash happens for the where statement as well.
https://github.com/llvm/llvm-project/pull/104748
More information about the llvm-branch-commits
mailing list