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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Sun Mar 9 21:53:53 PDT 2025


  Branch: refs/heads/users/ergawy/upstream_do_concurrent_3_basic_host_support
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e6bf4c394db115bd4a369473742b7411a03334c
      https://github.com/llvm/llvm-project/commit/2e6bf4c394db115bd4a369473742b7411a03334c
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-03-09 (Sun, 09 Mar 2025)

  Changed paths:
    M flang/docs/DoConcurrentConversionToOpenMP.md
    M flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
    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

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.


  Commit: b50be985f7d09bc5916480155b2e364bb60b9511
      https://github.com/llvm/llvm-project/commit/b50be985f7d09bc5916480155b2e364bb60b9511
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-03-09 (Sun, 09 Mar 2025)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
    A flang/test/Transforms/DoConcurrent/basic_device.mlir

  Log Message:
  -----------
  Handle review comments


Compare: https://github.com/llvm/llvm-project/compare/66ce01994e1c...b50be985f7d0

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