[all-commits] [llvm/llvm-project] 7eb8b7: [Flang][OpenMP][taskloop] Adding missing semantic ...

sharang.12492 via All-commits all-commits at lists.llvm.org
Mon Mar 17 00:05:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7eb8b731784722669106267764c74997e9a63cbe
      https://github.com/llvm/llvm-project/commit/7eb8b731784722669106267764c74997e9a63cbe
  Author: sharang.12492 <sharang.12492 at gmail.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    A flang/test/Semantics/OpenMP/test_taskloop_lastprivate_semantic_restrictions.f90
    A flang/test/Semantics/OpenMP/test_taskloop_reduction_semantic_restrictions.f90

  Log Message:
  -----------
  [Flang][OpenMP][taskloop] Adding missing semantic checks in Taskloop (#128431)

Below semantic checks for Taskloop clause mentioned in OpenMP [5.2]
specification were missing, this patch contains the semantic checks,
corresponding error messages and test cases:
OpenMP standard [5.2]:
[12.6] Taskloop Construct
[Restrictions]
Restrictions to the taskloop construct are as follows: 
• The reduction-modifier must be default.
• The conditional lastprivate-modifier must not be specified.

Authored-by: shkaushi <sharang.kaushik at amd.com>



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