Issue |
138123
|
Summary |
[flang][OpenMP] TODO in atomic capture for different yet compatible types
|
Labels |
flang:openmp
|
Assignees |
NimishMishra
|
Reporter |
NimishMishra
|
The PR https://github.com/llvm/llvm-project/pull/131603 introduces a TODO for atomic capture for different yet compatible types. Such scenarios require implicit type casting, and end up emitting > 3 operations in the atomic capture region:
```
program main
integer :: x
real :: y
!$omp atomic capture
y = x
x = x + 1
!$omp end atomic
end program main
```
The above test produces the following TODO: `not yet implemented: atomic capture requiring implicit type casts`
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs