chinmaydd wrote:

Thanks Matt.

Added tests:

 - `strictfp`: There is no constrained form of `llvm.convert.from.arbitrary.fp` 
yet. As a result, the builtin emits the unconstrained intrinsic. There is a 
FIXME in 
[strictfp-elementwise-builtins.cpp](https://github.com/llvm/llvm-project/blob/main/clang/test/CodeGen/strictfp-elementwise-builtins.cpp#L4)
 which mentions the same. Nonetheless, I've added a test that shows that there 
is no compiler crash.

 - `_BitInt(8)` vectors accepted, `_BitInt(16)` vectors rejected.

 - SVE (sizeless, fixed-length) and fixed-length RVV rejected, `__mfp8` scalar 
CodeGen.

 - `f8e5m3fnu_bf16`, f16/bf16 vector results, generic bf16 vector, 
`ext_vector_type(3)/(1)`.

 - `std::byte` was already covered in 
`SemaCXX/builtins-elementwise-convert-from-arbitrary-fp.cpp`.

https://github.com/llvm/llvm-project/pull/212647
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to