This is an archive of the discontinued LLVM Phabricator instance.

[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
codegen.

Diff Detail

Event Timeline

ABataev created this revision.Mar 30 2021, 10:38 AM
ABataev requested review of this revision.Mar 30 2021, 10:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2021, 10:38 AM
Herald added a subscriber: sstefan1. · View Herald Transcript
jdoerfert added inline comments.Mar 30 2021, 3:03 PM
clang/test/OpenMP/atomic_codegen.cpp
61

Should this influence the IR in any way?

ABataev added inline comments.Mar 30 2021, 3:06 PM
clang/test/OpenMP/atomic_codegen.cpp
61

Currently not, it is just ignored

jdoerfert accepted this revision.Mar 30 2021, 5:05 PM

Hm, OK.

This revision is now accepted and ready to land.Mar 30 2021, 5:05 PM