This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Allow optional __generic in __remove_address_space utility
ClosedPublic

Authored by Topotuna on Sep 21 2021, 4:51 AM.

Details

Summary

Clang builtin utility __remove_address_space now works if generic
address space is not supported in C++ for OpenCL 2021.

Diff Detail

Event Timeline

Topotuna created this revision.Sep 21 2021, 4:51 AM
Topotuna requested review of this revision.Sep 21 2021, 4:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2021, 4:51 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Anastasia accepted this revision.Sep 21 2021, 8:35 AM

LGTM! Thanks

This revision is now accepted and ready to land.Sep 21 2021, 8:35 AM
This revision was landed with ongoing or failed builds.Nov 9 2021, 12:14 AM
This revision was automatically updated to reflect the committed changes.

Hi! I believe this commit broke a number of CI jobs, would you be able to look into it?

https://lab.llvm.org/buildbot/#/builders/52/builds/12263

Hi! I believe this commit broke a number of CI jobs, would you be able to look into it?

https://lab.llvm.org/buildbot/#/builders/52/builds/12263

Hi, I am aware it broke some of the builds. However, I cannot recreate the issue locally. Planning to revert the change shortly to investigate it further

Topotuna updated this revision to Diff 386773.Nov 12 2021, 2:53 AM

Run line -triple is now set explicitly. Test moved from CodeGenOpenCLCXX directory to SemaOpenCLCXX

Topotuna reopened this revision.Nov 12 2021, 2:53 AM
This revision is now accepted and ready to land.Nov 12 2021, 2:53 AM
Topotuna requested review of this revision.Nov 12 2021, 2:54 AM
Topotuna updated this revision to Diff 390617.Nov 30 2021, 1:32 AM

Run line argument reordering

Anastasia accepted this revision.Dec 2 2021, 5:38 AM

LGTM! Thanks

This revision is now accepted and ready to land.Dec 2 2021, 5:38 AM