[flang][OpenMP] Check for occurrence of multiple list items in nontemporal clause...
authorArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>
Mon, 30 May 2022 14:10:54 +0000 (10:10 -0400)
committerArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>
Mon, 30 May 2022 14:59:23 +0000 (10:59 -0400)
commit314abe3922c1dc5050b3eefc09ff794ba4dd807c
treeb2e39c3986e5859784b6d0ebb6c1db5d2ddede29
parent2d7bab666f5a71a70da0ed7925fda5ce634d21e5
[flang][OpenMP] Check for occurrence of multiple list items in nontemporal clause for simd directive

This patch implements the following semantic check:

A list-item cannot appear in more than one nontemporal clause.

Reviewed By: kiranchandramohan, shraiysh

Differential Revision: https://reviews.llvm.org/D110270
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/check-omp-structure.h
flang/test/Semantics/omp-simd-nontemporal.f90 [new file with mode: 0644]