This is an archive of the discontinued LLVM Phabricator instance.

[SPIR-V] Disable opaque pointers in relese 15
AcceptedPublic

Authored by Anastasia on Jul 29 2022, 5:49 AM.

Details

Reviewers
svenvh
iliya-diyachkov
nikic
jcranmer-intel
Group Reviewers
Restricted Project
Summary

As discussed on RFC mapping into SPIR-V requires pointer being preserved in some cases: https://discourse.llvm.org/t/rfc-better-support-for-typed-pointers-in-an-opaque-pointer-world/63339/23?u=anastasiastulova

As the work is still unfinished the best approach is to continue using pointer types.

Note that this change is only planned to be committed in release 15 branch.

This fixing PR56660.

Diff Detail

Event Timeline

Anastasia created this revision.Jul 29 2022, 5:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 5:49 AM
Herald added a subscriber: ebevhan. · View Herald Transcript
Anastasia requested review of this revision.Jul 29 2022, 5:49 AM
Anastasia added a subscriber: linjamaki.

CC to @linjamaki in case there is anything else/different needed for HIP.

nikic added reviewers: jcranmer-intel, Restricted Project.Jul 29 2022, 6:01 AM

LG from my side, as a temporary workaround.

linjamaki added a comment.EditedJul 31 2022, 11:01 PM

CC to @linjamaki in case there is anything else/different needed for HIP.

LGTM.

Looks good to me.

jcranmer-intel accepted this revision.Aug 1 2022, 7:18 AM
This revision is now accepted and ready to land.Aug 1 2022, 7:18 AM