[all-commits] [llvm/llvm-project] e970f5: [flang][OpenMP] Reintroduce TODO for FIR lowering ...

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


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

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    R flang/test/Lower/OpenMP/wsloop-linear.f90

  Log Message:
  -----------
  [flang][OpenMP] Reintroduce TODO for FIR lowering of linear clause (#144883)

Current design of the linear clause lowering and translation shifts all
responsibility for handling the clause (like privatisation, linear
stepping, finalisation, and emission of synchronisation barriers) to the
IRBuilder. However in certain corner cases (like associated loops in or
before OpenMP version 4.5), variables are are implicitly linear. This
currently causes a problem with the existing linear clause
implementation. Hence, re-introduce TODO on the linear clause until the
linear clause lowering/translation are robust enough to handle such
cases as well.

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