Issue 140564
Summary [HLSL] Boolean vector not being converted to in memory representation <n x i32> from <n x i1>
Labels new issue
Assignees spall
Reporter spall
    Boolean vector not being properly converted to in memory type <n x i32> from <n x i1> in the case:
```
bool4 b = true.xxxx;
b.xyz = false.xxx;
```
A bad shufflevector is generated:
```
%13 = shufflevector <4 x i32> %11, <4 x i1> %12, <4 x i32> <i32 4, i32 5, i32 6, i32 3>, !dbg !30
```
https://godbolt.org/z/jc9G8Ezd3
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to