[llvm-commits] CVS: llvm/test/Regression/CFrontend/2004-02-12-LargeAggregateCopy.c.tr

Chris Lattner lattner at cs.uiuc.edu
Thu Feb 12 15:08:03 PST 2004


Changes in directory llvm/test/Regression/CFrontend:

2004-02-12-LargeAggregateCopy.c.tr added (r1.1)

---
Log message:

New testcase for PR233: [llvmgcc] Structure copies result in a LOT of code


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

Index: llvm/test/Regression/CFrontend/2004-02-12-LargeAggregateCopy.c.tr
diff -c /dev/null llvm/test/Regression/CFrontend/2004-02-12-LargeAggregateCopy.c.tr:1.1
*** /dev/null	Thu Feb 12 15:07:02 2004
--- llvm/test/Regression/CFrontend/2004-02-12-LargeAggregateCopy.c.tr	Thu Feb 12 15:06:52 2004
***************
*** 0 ****
--- 1,8 ----
+ // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memcpy
+ 
+ struct X { int V[10000]; };
+ struct X Global1, Global2;
+ void test() {
+   Global2 = Global1;
+ }
+ 





More information about the llvm-commits mailing list