No need to consider hint clause kind as the main atomic clause kind at the
codegen.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D99611  
[OPENMP]Fix PR48658: [OpenMP 5.0] Compiler crash when OpenMP atomic sync hints used. ClosedPublic Authored by ABataev on Mar 30 2021, 10:38 AM. 
Details Summary No need to consider hint clause kind as the main atomic clause kind at the 
Diff Detail 
 Event Timeline
 
 This revision is now accepted and ready to land.Mar 30 2021, 5:05 PM Closed by commit rG66da4f6fc9c1: [OPENMP]Fix PR48658: [OpenMP 5.0] Compiler crash when OpenMP atomic sync hints… (authored by ABataev).  ·  Explain WhyMar 31 2021, 12:59 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 334516 clang/lib/CodeGen/CGStmtOpenMP.cpp
 
 clang/test/OpenMP/atomic_codegen.cpp
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Should this influence the IR in any way?