Anastasia added a comment.

> The spec is ambiguous on whether vector types are allowed to be
>  implicitly converted. The only legal context I think this can
>  be used for OpenCL is printf, where it seems necessary.

s6.2.1, seems to say "Implicit conversions between built-in vector data types 
are disallowed." though. But considering that we disallow functions without a 
prototype. It should be fine.

However, is there any way to construct a test for this? Could it be tested 
similarly to https://reviews.llvm.org/D55023?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55022/new/

https://reviews.llvm.org/D55022



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to