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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Apr 2 01:14:38 PDT 2025


  Branch: refs/heads/users/ergawy/upstream_do_concurrent_3_basic_host_support
  Home:   https://github.com/llvm/llvm-project
  Commit: 20619fdbef2d6b1a607059d8e9d2017eea9e6ad6
      https://github.com/llvm/llvm-project/commit/20619fdbef2d6b1a607059d8e9d2017eea9e6ad6
  Author: 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
    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: 2720590e255be27ab58a3e52f69fc5f1fba8d048
      https://github.com/llvm/llvm-project/commit/2720590e255be27ab58a3e52f69fc5f1fba8d048
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

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

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


  Commit: 0243c4f32d3a863d1989c2c84f17b086ef562fcf
      https://github.com/llvm/llvm-project/commit/0243c4f32d3a863d1989c2c84f17b086ef562fcf
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-04-02 (Wed, 02 Apr 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/25b36c6fff85...0243c4f32d3a

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