Skip to content

[AMDGPU] Erase ShaderFunctions in AMDGPUPALMetadata::reset() #65247

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

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

tywuAMD
Copy link
Contributor

@tywuAMD tywuAMD commented Sep 4, 2023

Issue
Before this pull request, ShaderFunctions was never get erased when the pal metadata were reset. As a result, when the same ELF streamer was reused for another compilation, the ShaderFunctions was dirty so that the .Shader_Function section could not be generated properly.

Fix
Erase ShaderFunctions in AMDGPUPALMetadata::reset()

@ruiling ruiling requested a review from arsenm September 4, 2023 08:06
@arsenm arsenm merged commit b1b6c06 into llvm:main Sep 4, 2023
avillega pushed a commit to avillega/llvm-project that referenced this pull request Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants