[all-commits] [llvm/llvm-project] f80c05: [flang][openacc] Only generate acc.terminator in c...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Aug 26 15:05:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f80c05cc7e4bf4ea906afcab0077db714ae9e76c
      https://github.com/llvm/llvm-project/commit/f80c05cc7e4bf4ea906afcab0077db714ae9e76c
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M flang/lib/Lower/Runtime.cpp
    A flang/test/Lower/OpenACC/acc-terminator.f90

  Log Message:
  -----------
  [flang][openacc] Only generate acc.terminator in compute construct (#155504)

When the end of a block is inside a data region (not a compute region),
generating an `acc.terminator` will lead to a missing terminator when
translating to LLVM.

Only generate acc.terminator instead of fir.unreachable when nested in
acc compute region.



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