xref: /llvm-project/clang/test/CodeGen/struct-matching-constraint.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1 // RUN: %clang_cc1 -emit-llvm -march=armv7a %s
2 
3 // XFAIL: *
4 // XTARGET: arm
5 
6 typedef struct __simd128_uint16_t
7 {
8   __neon_uint16x8_t val;
9 } uint16x8_t;
10 
11 void b(uint16x8_t sat, uint16x8_t luma)
12 {
13   __asm__("vmov.16 %1, %0   \n\t"
14                                            "vtrn.16 %0, %1   \n\t"
15    :"=w"(luma), "=w"(sat)
16    :"0"(luma)
17    );
18 
19 }
20