[all-commits] [llvm/llvm-project] 746bf2: [Flang][OpenMP] Add checks for EXIT from associate...

Kiran Chandramohan via All-commits all-commits at lists.llvm.org
Wed May 8 02:00:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 746bf297e2f0f637d2e1c197bf04a32ab04b669a
      https://github.com/llvm/llvm-project/commit/746bf297e2f0f637d2e1c197bf04a32ab04b669a
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/test/Semantics/OpenMP/do08.f90

  Log Message:
  -----------
  [Flang][OpenMP] Add checks for EXIT from associated loops (#91315)

Extend the checker that deals with CYCLE to handle EXIT also. The
difference for EXIT is that it is not allowed to EXIT from the innermost
associated loops while it is OK to CYCLE in the innermost associated
loop. Also add an incrementer on leaving the DO loop for EXIT checks.



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