From: Chris Lattner Date: Thu, 12 Feb 2004 21:06:52 +0000 (+0000) Subject: New testcase for PR233: [llvmgcc] Structure copies result in a LOT of code X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7266f41e56fb3e228b165a798c60027510b80d5e;p=oota-llvm.git New testcase for PR233: [llvmgcc] Structure copies result in a LOT of code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11359 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr b/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr new file mode 100644 index 00000000000..b3c9bcf3810 --- /dev/null +++ b/test/CFrontend/2004-02-12-LargeAggregateCopy.c.tr @@ -0,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; +} +