This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Introduce the `disable_selector_propagation` variant selector trait
ClosedPublic

Authored by jdoerfert on Jan 31 2021, 10:12 AM.

Details

Summary

Nested omp [begin|end] declare variant inherit the selectors from
surrounding omp (begin|end) declare variant constructs. To stop such
propagation the user can add the disable_selector_propagation to the
extension set in the implementation selector.

Diff Detail

Event Timeline

jdoerfert created this revision.Jan 31 2021, 10:12 AM
jdoerfert requested review of this revision.Jan 31 2021, 10:12 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 31 2021, 10:12 AM

Yes, OK. I'm a little nervous that variant is evolving into a turing complete sublanguage, but I see the use of opting out of the implicit inheritance.

This revision is now accepted and ready to land.Feb 17 2021, 3:51 PM
This revision was landed with ongoing or failed builds.Mar 11 2021, 9:31 PM
This revision was automatically updated to reflect the committed changes.