Skip to content

Conversation

@zhaomaosu
Copy link
Contributor

@zhaomaosu zhaomaosu commented Dec 5, 2025

When building device code as spirv obj. The llvm IR/spirv bi-translation process will introduce extra unnecessary metadata for sanitizer globals and cause IGC compiler failed to export it as device global.

Otherwise, IGC compiler may not export the SanitizerKernelMetadata as
device globals.
Copy link
Contributor

@YuriPlyakhin YuriPlyakhin left a comment

Choose a reason for hiding this comment

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

Could you please provide more details, why this change is needed?
Also, could you please add a lit test that would demonstrate change of behavior (wondering why this change did not impact any existing lit test...)?

@zhaomaosu
Copy link
Contributor Author

Could you please provide more details, why this change is needed? Also, could you please add a lit test that would demonstrate change of behavior (wondering why this change did not impact any existing lit test...)?

updated the description and related lit test.

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