Skip to content

[LLVM-14] Use sret attribute syntax in IAddCarry/ISubBorrow tests#3657

Merged
vmaksimo merged 1 commit intoKhronosGroup:llvm_release_140from
vmaksimo:14-fix-iaddcarry-isubborrow
Mar 17, 2026
Merged

[LLVM-14] Use sret attribute syntax in IAddCarry/ISubBorrow tests#3657
vmaksimo merged 1 commit intoKhronosGroup:llvm_release_140from
vmaksimo:14-fix-iaddcarry-isubborrow

Conversation

@vmaksimo
Copy link
Contributor

Align the tests to its LLVM-15 and higher release versions. Otherwise, they fail with null pointer cast assertion in https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/llvm_release_140/lib/SPIRV/SPIRVWriter.cpp#L5790

Align the tests to its LLVM-15 and higher release versions.
Otherwise, they fail with null pointer cast assertion in
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/llvm_release_140/lib/SPIRV/SPIRVWriter.cpp#L5790
@vmaksimo
Copy link
Contributor Author

I'm not sure why the failure was not triggered earlier (no recent changes merged regarding these builtins), but now they fail in CI (e.g. in #3655, failing job example https://github.com/KhronosGroup/SPIRV-LLVM-Translator/actions/runs/23050854950/job/66951409354?pr=3655)

@vmaksimo vmaksimo requested a review from svenvh March 16, 2026 13:55
@vmaksimo vmaksimo merged commit 4ecde1b into KhronosGroup:llvm_release_140 Mar 17, 2026
8 checks passed
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