[all-commits] [llvm/llvm-project] 32faf4: [flang][OpenMP] Handle fixed length `charater`s in...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Feb 12 02:04:49 PST 2025


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

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/lib/Lower/OpenMP/PrivateReductionUtils.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Lower/OpenMP/parallel-private-clause-str.f90

  Log Message:
  -----------
  [flang][OpenMP] Handle fixed length `charater`s in delayed privatization (#126704)

We currently handle sequences of fixed-length arrays properly by **not**
emitting length parameters for `embox` ops inside the `omp.private` op.
However, we do not handle the scalar case. This PR extends
`getLengthParameters` defined in `PrivateReductionUtils.cpp` to handle
such cases.

Fixes issue reported in #125732.



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