Issue | 122932 |
---|---|
Summary | [HLSL] sizeof(bool) should always be 4 |
Labels | new issue |
Assignees | spall |
Reporter | spall |
Currently HLSL functions which return or take a bool, do so with bool as an i1, but bool should always be an i32. Related the i1 is extended to an i8 in the function body, which is an error. https://hlsl.godbolt.org/z/Ksqsva9q3
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs