Skip to content

Conversation

YixingZhang007
Copy link
Contributor

@YixingZhang007 YixingZhang007 commented Oct 13, 2025

This PR adds support for integers larger than 64 bits in the SPIR-V Backend to fix the current failure in the SYCL E2E test MemorySanitizer/check_large_access.cpp. This test was previously failing because 96-bit integers were unsupported in the SPIR-V Backend.

Note: The changes in this PR will not be merged. This PR was created solely to test whether the changes would cause any failures in our SYCL tests before submitting upstream llvm-project.

}

// Handle arbitrary number of 32-bit words for integer literals
if (Opcode == SPIRV::OpConstantI && NumVarOps > 2) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these changes go upstream?

Copy link
Contributor Author

@YixingZhang007 YixingZhang007 Oct 14, 2025

Choose a reason for hiding this comment

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

Hello Nick! Yes, these changes will go to the upstream llvm-project (PR link: llvm/llvm-project#161270). This PR was created to test whether the changes would cause any failures in the SYCL tests before submitting upstream. I have added this to the PR description. Thank you!

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you!

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