[all-commits] [llvm/llvm-project] 9cf875: [flang][OpenMP] Handle symbols on composite simd w...

Kajetan Puchalski via All-commits all-commits at lists.llvm.org
Thu Aug 28 07:58:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cf8752ccfd194c3fa1cda641db2e3c77aa4915c
      https://github.com/llvm/llvm-project/commit/9cf8752ccfd194c3fa1cda641db2e3c77aa4915c
  Author: Kajetan Puchalski <kajetan.puchalski at arm.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M flang/include/flang/Lower/Support/Utils.h
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/Support/Utils.cpp
    M flang/test/Lower/OpenMP/wsloop-simd.f90

  Log Message:
  -----------
  [flang][OpenMP] Handle symbols on composite simd with multiple privatizers (#155640)

In some cases, a clause on a composite simd construct applied to simd
can be using a symbol that is also used by another privatizer, not
applied to simd. Correctly handle this scenario by checking which
directive the privatizer is being generated for while determining
whether to emit the copy region.

Fixes #155195.

Signed-off-by: Kajetan Puchalski <kajetan.puchalski at arm.com>



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