sepavloff added inline comments.
================
Comment at: test/Sema/types.c:92
+
+typedef float __attribute__((ext_vector_type(4))) float4;
+float4 test3(float4 x) {
----------------
bruno wrote:
> 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*
The test for the `vector_type` variant already exists in
`test/Sema/vector-ops.c`. I tried to made similar test file for
`ext_vector_type` by copying vector-ops.c and replacing vector types
accordingly, but there are many differences in diagnostic, so only the part
that checks the complement operation was copied.
https://reviews.llvm.org/D33732
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits