[llvm-commits] [llvm] r132409 - /llvm/trunk/test/FrontendC/struct-matching-constraint.c
Eric Christopher
echristo at apple.com
Wed Jun 1 11:23:56 PDT 2011
Author: echristo
Date: Wed Jun 1 13:23:56 2011
New Revision: 132409
URL: http://llvm.org/viewvc/llvm-project?rev=132409&view=rev
Log:
Add a testcase, enabled only on arm, for llvm-gcc r132366.
Added:
llvm/trunk/test/FrontendC/struct-matching-constraint.c
Added: llvm/trunk/test/FrontendC/struct-matching-constraint.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/struct-matching-constraint.c?rev=132409&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/struct-matching-constraint.c (added)
+++ llvm/trunk/test/FrontendC/struct-matching-constraint.c Wed Jun 1 13:23:56 2011
@@ -0,0 +1,19 @@
+// RUN: %llvmgcc -S -march=armv7a %s
+
+// XFAIL: *
+// XTARGET: arm
+
+typedef struct __simd128_uint16_t
+{
+ __neon_uint16x8_t val;
+} uint16x8_t;
+
+void b(uint16x8_t sat, uint16x8_t luma)
+{
+ __asm__("vmov.16 %1, %0 \n\t"
+ "vtrn.16 %0, %1 \n\t"
+ :"=w"(luma), "=w"(sat)
+ :"0"(luma)
+ );
+
+}
More information about the llvm-commits
mailing list