farzonl wrote:

> @llvm-beanz I've implemented your suggestions. One issue I found is that the 
> code generation will work with half types, which are not supported in the 
> current implementation. Any suggestions into how to approach this?

is there a way to know if the use of `__builtin_bit_cast` came fro `asuint`? 
like maybe by checking if the return type is already set to uint?

if so then you could disallow  `half` types in HLSLSema.

https://github.com/llvm/llvm-project/pull/107292
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to