Issue |
141089
|
Summary |
[HLSL][SPIRV] Boolean vector in a RawBuffer should be <4 x i32>
|
Labels |
new issue
|
Assignees |
|
Reporter |
spall
|
```
%18 = tail call noundef align 16 dereferenceable(16) ptr addrspace(11) @llvm.spv.resource.getpointer.p11.tspirv.VulkanBuffer_a0v4i1_12_1t(target("spirv.VulkanBuffer", [0 x <4 x i1>], 12, 1) %1, i32 1)
```
I believe the type in the target should be
```
[0 x <4 x i32>]
```
This leads to an assert failing in 'SPIRVLegalizePointerCast::loadVectorFromVector' because the Target Element type and the Source Element type are not the same, <4 x i32> versus <4 x i1>.
Looks to be the saame as: #135635
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs