[all-commits] [llvm/llvm-project] 754d3d: Reland "[flang][OpenMP] Fix lowering of LINEAR ite...

Leandro Lupori via All-commits all-commits at lists.llvm.org
Mon Jun 1 10:24:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 754d3d0d966423f9d308c6823deed55b02bac9f2
      https://github.com/llvm/llvm-project/commit/754d3d0d966423f9d308c6823deed55b02bac9f2
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/composite_simd_linear.f90
    M flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
    M flang/test/Lower/OpenMP/distribute-simd.f90
    M flang/test/Lower/OpenMP/linear_modifier.f90
    M flang/test/Lower/OpenMP/loop-pointer-variable.f90
    M flang/test/Lower/OpenMP/ordered-simd.f90
    M flang/test/Lower/OpenMP/wsloop-simd.f90
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    A mlir/test/Target/LLVMIR/openmp-simd-linear.mlir

  Log Message:
  -----------
  Reland "[flang][OpenMP] Fix lowering of LINEAR iteration variables (#188851)" (#194623)

Linear iteration variables were being treated as private. This fixes
one of the issues reported in #170784.

The regressions in the OpenMP V&V and Fujitsu testsuites happened
because the users iterator was apparently becoming invalid, after one of
its uses was replaced. This was fixed by making a copy of the list of
users.



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