[all-commits] [llvm/llvm-project] 2cc873: [flang][fir] Basic lowering `fir.do_concurrent` lo...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Fri May 9 07:27:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cc8734c4505a0c8ce1f8d6a915ce0fc57cb6ea4
      https://github.com/llvm/llvm-project/commit/2cc8734c4505a0c8ce1f8d6a915ce0fc57cb6ea4
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyFIROperations.cpp
    M flang/test/Transforms/do_concurrent-to-do_loop-unodered.fir

  Log Message:
  -----------
  [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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list