Issue 126568
Summary [HLSL] Array return types
Labels HLSL
Assignees
Reporter llvm-beanz
    HLSL supports returning values of array type. For example:

```hlsl
typedef uint32_t4 uint32_t8[2];

export uint32_t8 bleh(uint32_t4 A, uint32_t4 B) {
    uint32_t8 output = {A, B};
    return output;
}
```
[Compiler Explorer](https://godbolt.org/z/G9efxjbv3)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to