[OPENMP]Fix PR48658: [OpenMP 5.0] Compiler crash when OpenMP atomic sync hints used.
authorAlexey Bataev <a.bataev@outlook.com>
Tue, 30 Mar 2021 17:36:23 +0000 (10:36 -0700)
committerAlexey Bataev <a.bataev@outlook.com>
Wed, 31 Mar 2021 19:58:24 +0000 (12:58 -0700)
commit66da4f6fc9c1cd2a63f089b9888729292f0709f8
tree0a1f60eaf1b1dd90b58f10bba692f1b42a790601
parent98f08e7d8132daba7f9723e7977f0f073b0302ad
[OPENMP]Fix PR48658: [OpenMP 5.0] Compiler crash when OpenMP atomic sync hints used.

No need to consider hint clause kind as the main atomic clause kind at the
codegen.

Differential Revision: https://reviews.llvm.org/D99611
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/atomic_codegen.cpp