[all-commits] [llvm/llvm-project] 3c62ea: [flang][OpenACC] lower acc loops with early exits ...

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Nov 7 01:16:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c62eadffd698dc4166b73bcad5f0f79b6e133be
      https://github.com/llvm/llvm-project/commit/3c62eadffd698dc4166b73bcad5f0f79b6e133be
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/test/Lower/OpenACC/acc-unstructured.f90

  Log Message:
  -----------
  [flang][OpenACC] lower acc loops with early exits (#164992)

Lower acc loop with early exit using the newly added "unstructured"
attribute.

The core change of this patch is to refactor the loop control variable
so that for loop with early exits, the induction variables are
privatized, but no bounds operands are added to the acc.loop.

The logic of the loop is implemented by the FIR loop lowering logic by
generating explicit control flow.



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