[clang] [HLSL] Add empty struct test cases to `__builtin_hlsl_is_typed_resource_element_compatible` test file (PR #115045)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 09:52:42 PST 2024


llvm-beanz wrote:

> Correct, I'll edit the spec to reflect this more clearly. I've removed most of the struct tests.
I don't think that solves this problem. The code as implemented doesn't match what it should be doing. You shouldn't need to build the flattened type list if only vectors and scalars are allowed so we should be able to simplify this implementation.


https://github.com/llvm/llvm-project/pull/115045


More information about the cfe-commits mailing list