[flang-commits] [flang] [flang][OpenMP] Do not emit barrier after SECTIONS with LASTPRIVATE and NOWAIT (PR #216018)
Sairudra More via flang-commits
flang-commits at lists.llvm.org
Fri Aug 14 06:44:55 PDT 2026
================
@@ -209,7 +209,6 @@ subroutine lastprivate()
x = x + 1
!CHECK: omp.terminator
!CHECK: }
-!CHECK: omp.barrier
----------------
Saieiei wrote:
Could we add a bounded `CHECK-NOT`: omp.barrier here? With only the old positive check removed, FileCheck can still accept an unexpected barrier between this `}` and the next positive check. `different_vars_lastprivate_barrier.f90` uses the same pattern.
https://github.com/llvm/llvm-project/pull/216018
More information about the flang-commits
mailing list