Issue 142430
Summary [HLSL] Attribute vectors have different cast behavior
Labels HLSL
Assignees
Reporter V-FEXrt
    https://godbolt.org/z/j1WPxaGKG

`uint32_t4` can be implicitly casted to `uint64_t4` but `__attribute__((__vector_size__(4 * sizeof(unsigned int)))) unsigned int` raises an error instead.

This causes issues with intrinsics such as `firstbitlow` which use the attribute type


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

Reply via email to