[all-commits] [llvm/llvm-project] 8650c8: [flang][OpenMP] Do not skip privatization of linea...

NimishMishra via All-commits all-commits at lists.llvm.org
Fri Jun 20 04:53:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8650c801381d5640018a2fab32932ee41ad27797
      https://github.com/llvm/llvm-project/commit/8650c801381d5640018a2fab32932ee41ad27797
  Author: NimishMishra <42909663+NimishMishra at users.noreply.github.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp

  Log Message:
  -----------
  [flang][OpenMP] Do not skip privatization of linear variable if it is OmpPreDetermined (#144315)

Current implementation of linear clause skips privatisation of all
linear variables during the FIR generation phase, since linear variables
are handled in their entirety by the OpenMP IRBuilder. However,
"implicit" linear variables (like OmpPreDetermined) cannot be skipped,
since FIR generation requires privatized symbols. This patch adds checks
to skip the same.


Fixes https://github.com/llvm/llvm-project/issues/142935



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