xref: /llvm-project/clang/test/CodeGen/struct-matching-constraint.c (revision 9c8dece1b64fc89b8e71e33147b5541b51d7f32c)
1 // RUN: %clang -S -emit-llvm -arch arm -march=armv7a %s
2 typedef unsigned short uint16_t;
3 typedef __attribute__((neon_vector_type(8))) uint16_t uint16x8_t;
4 
5 void b(uint16x8_t sat, uint16x8_t luma)
6 {
7   __asm__("vmov.16 %1, %0   \n\t"
8                                            "vtrn.16 %0, %1   \n\t"
9    :"=w"(luma), "=w"(sat)
10    :"0"(luma)
11    );
12 
13 }
14