[PATCH] D33732: Catch invalid bitwise operation on vector of floats

Bruno Cardoso Lopes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 2 13:35:20 PDT 2017


bruno added a comment.

Hi,



================
Comment at: test/Sema/types.c:92
+
+typedef float __attribute__((ext_vector_type(4)))  float4;
+float4 test3(float4 x) {
----------------
Can you also add a test for the `vector_type` variant? It might be more appropriate to put this at test/Sema/ext_vector* and test/Sema/vector*


https://reviews.llvm.org/D33732





More information about the cfe-commits mailing list