This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Initial parsing and sema support for 'masked taskloop simd' construct
ClosedPublic

Authored by mdfazlay on Jun 27 2022, 5:35 PM.

Details

Summary

This patch gives basic parsing and semantic support for "masked taskloop simd" construct introduced in OpenMP 5.1 ( section 2.16.8)

Diff Detail

Event Timeline

mdfazlay created this revision.Jun 27 2022, 5:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2022, 5:35 PM
mdfazlay requested review of this revision.Jun 27 2022, 5:35 PM
Herald added a project: Restricted Project. · View Herald Transcript
ABataev added inline comments.Jun 28 2022, 8:55 AM
clang/lib/Sema/SemaOpenMP.cpp
6268–6270

Actually:

if (LangOpts.OpenMP >= 51) {
  AllowedNameModifiers.push_back(OMPD_taskloop);
  AllowedNameModifiers.push_back(OMPD_simd);
}
mdfazlay marked an inline comment as done.Jun 28 2022, 10:17 AM
mdfazlay added inline comments.
clang/lib/Sema/SemaOpenMP.cpp
6268–6270

Done :)

mdfazlay updated this revision to Diff 440680.Jun 28 2022, 10:20 AM
mdfazlay marked an inline comment as done.
This revision is now accepted and ready to land.Jun 28 2022, 10:21 AM
This revision was landed with ongoing or failed builds.Jun 28 2022, 3:31 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2022, 3:31 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript