forked from OSchip/llvm-project
New testcase for PR233: [llvmgcc] Structure copies result in a LOT of code
llvm-svn: 11359
This commit is contained in:
parent
96871385e8
commit
a200310b32
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue