Issue 134668
Summary [HLSL] Cbuffer declaration with array typedef crashes
Labels HLSL
Assignees
Reporter spall
    This code should compile, and if you use 'uint32_t4' directly in the cbuffer instead of the typedef it does.
https://godbolt.org/z/4nx4zsMdf

The type needs to be desugared before being cast to a ConstantArrayType.

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to