[all-commits] [llvm/llvm-project] a4acb5: [flang][fir] Basci lowering `fir.do_concurrent` lo...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Tue May 6 12:11:05 PDT 2025


  Branch: refs/heads/users/ergawy/fir-dc-local-spec-2
  Home:   https://github.com/llvm/llvm-project
  Commit: a4acb56894a9e5ec95f857a671e672b126e979c5
      https://github.com/llvm/llvm-project/commit/a4acb56894a9e5ec95f857a671e672b126e979c5
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-05-06 (Tue, 06 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] Basci lowering `fir.do_concurrent` locality specs to `fir.do_loop ... unordered`

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.



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