Skip to content

[SPIR-V] Remove FuncParamKindINTEL and FuncParamDescINTEL #3462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

MrSidims
Copy link
Contributor

@MrSidims MrSidims commented Apr 1, 2021

These decorations doesn't present in https://github.com/KhronosGroup/SPIRV-LLVM-Translator

Signed-off-by: Dmitry Sidorov [email protected]

@MrSidims MrSidims force-pushed the private/MrSidims/SPVInternal branch from 8e32615 to 98292f1 Compare April 1, 2021 10:21
Copy link
Contributor

@NikitaRudenkoIntel NikitaRudenkoIntel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch with DecorationFuncParamKindINTEL and DecorationFuncParamDescINTEL is not needed anymore and could be reverted.

@MrSidims MrSidims force-pushed the private/MrSidims/SPVInternal branch from 98292f1 to 4f86ed2 Compare April 1, 2021 11:43
Copy link
Contributor

@NikitaRudenkoIntel NikitaRudenkoIntel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging, make sure that this repo uses GenXSPIRVWriterAdaptor from vc-intrinsics with RewriteTypes parameter set to true.

@MrSidims MrSidims changed the title [NFC] Move FuncParamKindINTEL and FuncParamDescINTEL to spirv_interna… [SPIR-V] Remove FuncParamKindINTEL and FuncParamDescINTEL Apr 1, 2021
@MrSidims
Copy link
Contributor Author

MrSidims commented Apr 1, 2021

Before merging, make sure that this repo uses GenXSPIRVWriterAdaptor from vc-intrinsics with RewriteTypes parameter set to true.

Looks like it doesn't.
llvm$ grep -rn GenXSPIRVWriterAdaptor --color
llvm/tools/sycl-post-link/sycl-post-link.cpp:23:#include "llvm/GenXIntrinsics/GenXSPIRVWriterAdaptor.h"
llvm/tools/sycl-post-link/sycl-post-link.cpp:517: MPM.add(createGenXSPIRVWriterAdaptorPass());
llvm$ grep -rn RewriteTypes
llvm$

@NikitaRudenkoIntel
Copy link
Contributor

Well, you probably should create a PR with enabling this option. See also:
https://github.com/intel/vc-intrinsics/blob/master/GenXIntrinsics/include/llvm/GenXIntrinsics/GenXSPIRVWriterAdaptor.h

@bader
Copy link
Contributor

bader commented Apr 29, 2021

@MrSidims, @AlexeySotkin, @AlexeySachkov, ping.

@NikitaRudenkoIntel
Copy link
Contributor

BTW I created a corresponding issue and PR:
#3607
It is awaiting driver update in Jenkins, which fixes a problem causing failure after enabling RewriteTypes

@MrSidims
Copy link
Contributor Author

I guess this PR is no longer needed

@MrSidims MrSidims closed this Aug 18, 2021
@AlexeySachkov
Copy link
Contributor

@MrSidims, why so? Have we removed those decorations already in some other PR?

@MrSidims
Copy link
Contributor Author

@MrSidims, why so? Have we removed those decorations already in some other PR?

I though so, because otherwise we couldn't move to external SPIR-V Headers. But I see now, that FuncParamKindINTEL and FuncParamDescINTEL were just moved into spirv_internal.hpp .

@MrSidims MrSidims reopened this Aug 18, 2021
@github-actions github-actions bot added the Stale label Feb 18, 2022
@github-actions github-actions bot closed this Mar 21, 2022
MrSidims added a commit to MrSidims/llvm that referenced this pull request Oct 27, 2024
These decorations doesn't present in
https://github.com/KhronosGroup/SPIRV-LLVM-Translator nor in the spec.

Per ESIMD team these decorations are no longer needed.

Precious PR: intel#3462

Signed-off-by: Sidorov, Dmitry <[email protected]>
sarnex pushed a commit that referenced this pull request Oct 28, 2024
These decorations doesn't present in
https://github.com/KhronosGroup/SPIRV-LLVM-Translator nor in the spec.

Per ESIMD team these decorations are no longer needed.

Precious PR: #3462

Signed-off-by: Sidorov, Dmitry <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants