Files
clang-p2996/flang/lib/Optimizer/Transforms/SimplifyFIROperations.cpp
Kareem Ergawy 2cc8734c45 [flang][fir] Basic lowering fir.do_concurrent locality specs to fir.do_loop ... unordered (#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 `local_init` specifiers, the `copy` region
is additionally inlined in the `do concurrent` loop's body.

PR stack:
- https://github.com/llvm/llvm-project/pull/137928
- https://github.com/llvm/llvm-project/pull/138505
- https://github.com/llvm/llvm-project/pull/138506
- https://github.com/llvm/llvm-project/pull/138512 (this PR)
- https://github.com/llvm/llvm-project/pull/138534
- https://github.com/llvm/llvm-project/pull/138816
2025-05-09 16:27:18 +02:00

12 KiB