[OpenMP] Add nec and nvidia as compiler vendors for OpenMP
authorSaiyedul Islam <Saiyedul.Islam@amd.com>
Mon, 3 Jan 2022 16:45:47 +0000 (16:45 +0000)
committerSaiyedul Islam <Saiyedul.Islam@amd.com>
Tue, 4 Jan 2022 12:30:43 +0000 (12:30 +0000)
commit49f23afdc3453ad6834f32f69b48aa88b5d17338
tree8e78cc591a5813481157bcb2ca91c7c6dff2b38a
parent051847cfecaea3f55fc4f822facfbf5d21bde8dd
[OpenMP] Add nec and nvidia as compiler vendors for OpenMP

OpenMP Specs 5.0[1] and 5.1[2] recognizes nec and nvidia as known
compiler vendors and their absence is causing compilation error in one
of the vendor based metadirective test of sollve_vv project[3].

[1] https://www.openmp.org/wp-content/uploads/Context-Definitions-5.0-v1.0.pdf
[2] https://www.openmp.org/wp-content/uploads/OpenMP-API-Additional-Definitions-2-0.pdf
[3] https://github.com/SOLLVE/sollve_vv/blob/master/tests/5.0/metadirective/test_metadirective_arch_nvidia_or_amd.c

Differential Revision: https://reviews.llvm.org/D116540
clang/test/OpenMP/begin_declare_variant_messages.c
clang/test/OpenMP/declare_variant_messages.c
clang/test/OpenMP/declare_variant_messages.cpp
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def