Skip to content

Conversation

@wenju-he
Copy link
Contributor

Some GPU backends materialize non-generic nulls via addrspacecast from generic null, see https://github.com/llvm/llvm-project/blob/14ed67411ce1/clang/lib/CodeGen/Targets/SPIR.cpp#L257

llvm-spirv should preserve the addrspacecast.

…cCastToPtr

Some GPU backends materialize non-generic nulls via addrspacecast from generic null, see
https://github.com/llvm/llvm-project/blob/14ed67411ce1/clang/lib/CodeGen/Targets/SPIR.cpp#L257

llvm-spirv should preserve the addrspacecast.
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.

1 participant