[all-commits] [llvm/llvm-project] 3f8bfc: [flang][OpenMP] Map simple `do concurrent` loops t...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Apr 2 02:27:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f8bfc9f7fc788af63e52b5e804a2d6ab92321ac
      https://github.com/llvm/llvm-project/commit/3f8bfc9f7fc788af63e52b5e804a2d6ab92321ac
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M flang/docs/DoConcurrentConversionToOpenMP.md
    M flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
    A flang/test/Transforms/DoConcurrent/basic_device.mlir
    M flang/test/Transforms/DoConcurrent/basic_host.f90
    A flang/test/Transforms/DoConcurrent/basic_host.mlir
    A flang/test/Transforms/DoConcurrent/non_const_bounds.f90
    A flang/test/Transforms/DoConcurrent/not_perfectly_nested.f90

  Log Message:
  -----------
  [flang][OpenMP] Map simple `do concurrent` loops to OpenMP host constructs (#127633)

Upstreams one more part of the ROCm `do concurrent` to OpenMP mapping
pass. This PR add support for converting simple loops to the equivalent
OpenMP constructs on the host: `omp parallel do`. Towards that end, we
have to collect more information about loop nests for which we add new
utils in the `looputils` name space.

PR stack:
- https://github.com/llvm/llvm-project/pull/126026
- https://github.com/llvm/llvm-project/pull/127595
- https://github.com/llvm/llvm-project/pull/127633 (this PR)
- https://github.com/llvm/llvm-project/pull/127634
- https://github.com/llvm/llvm-project/pull/127635



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