This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Prevent adding vendor extensions for all targets
ClosedPublic

Authored by Anastasia on Nov 27 2020, 12:30 PM.

Details

Summary

Some extensions were defined in the headers without guarding by the target. This commit fixes this and also removed redundant use of extension pragma.

Diff Detail

Event Timeline

Anastasia created this revision.Nov 27 2020, 12:30 PM
Anastasia requested review of this revision.Nov 27 2020, 12:30 PM
AlexeySotkin accepted this revision.Feb 25 2021, 12:24 AM

LGTM, Thanks.

This revision is now accepted and ready to land.Feb 25 2021, 12:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 30 2021, 6:43 AM
Herald added a subscriber: ldrumm. · View Herald Transcript