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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Mon May 5 11:17:29 PDT 2025


  Branch: refs/heads/users/ergawy/fir-dc-local-spec-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 18d42fc3a65c1aa9f77f4f88408505499acff146
      https://github.com/llvm/llvm-project/commit/18d42fc3a65c1aa9f77f4f88408505499acff146
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-05-05 (Mon, 05 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