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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Mon Mar 17 00:27:19 PDT 2025


  Branch: refs/heads/users/ergawy/upstream_do_concurrent_3_basic_host_support
  Home:   https://github.com/llvm/llvm-project
  Commit: 35dd008e971fb42d457d04f26ca7b8f69c19082d
      https://github.com/llvm/llvm-project/commit/35dd008e971fb42d457d04f26ca7b8f69c19082d
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-03-17 (Mon, 17 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: ceffb8b0d1870529316f6e74f62f453a3def4227
      https://github.com/llvm/llvm-project/commit/ceffb8b0d1870529316f6e74f62f453a3def4227
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

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

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


  Commit: 70979d815b3f882559329c9309aea1539a4b721d
      https://github.com/llvm/llvm-project/commit/70979d815b3f882559329c9309aea1539a4b721d
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
    M flang/test/Transforms/DoConcurrent/non_const_bounds.f90

  Log Message:
  -----------
  handle review comments


Compare: https://github.com/llvm/llvm-project/compare/fdf28a214b57...70979d815b3f

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