[llvm-commits] CVS: llvm/test/CFrontend/2007-01-20-VectorICE.c

Chris Lattner sabre at nondot.org
Sat Jan 20 16:56:58 PST 2007



Changes in directory llvm/test/CFrontend:

2007-01-20-VectorICE.c added (r1.1)
---
Log message:

new testcase


---
Diffs of the changes:  (+11 -0)

 2007-01-20-VectorICE.c |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/test/CFrontend/2007-01-20-VectorICE.c
diff -c /dev/null llvm/test/CFrontend/2007-01-20-VectorICE.c:1.1
*** /dev/null	Sat Jan 20 18:56:52 2007
--- llvm/test/CFrontend/2007-01-20-VectorICE.c	Sat Jan 20 18:56:42 2007
***************
*** 0 ****
--- 1,11 ----
+ // RUN: %llvmgcc %s -S -o - 
+ 
+ typedef float __m128 __attribute__((__vector_size__(16)));
+ typedef long long __v2di __attribute__((__vector_size__(16)));
+ typedef int __v4si __attribute__((__vector_size__(16)));
+ 
+ __v2di  bar(void);
+ void foo(int X, __v4si *P) {
+ 	*P = X == 2 ? bar() : bar();
+ }
+ 






More information about the llvm-commits mailing list