[llvm] [IR] Disallow ZeroInit for spirv.Image (PR #73887)
Wenju He via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 30 23:31:02 PST 2023
wenju-he wrote:
@jcranmer-intel could you please take a look?
Before this PR, there could be following ir generated:
```
store target("spirv.Image", void, 1, 0, 0, 0, 0, 0, 0) zeroinitializer, ptr addrspace(4) %MImageObj, align 8
```
llvm-spirv translator isn't able to handle it due to spec requirement.
https://github.com/llvm/llvm-project/pull/73887
More information about the llvm-commits
mailing list