diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-05 08:22:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-05 08:22:11 +0000 |
commit | e99c110d06545a8051c5fe47b844ed7fc1bfb96f (patch) | |
tree | 687ff93fbb8a00168a55facbacd8d2a18dfa9cb3 /clang/test/CodeGen/string-init.c | |
parent | e08ea7874a5ee932d874596e51f84d9c8d9046fe (diff) | |
download | bcm5719-llvm-e99c110d06545a8051c5fe47b844ed7fc1bfb96f.tar.gz bcm5719-llvm-e99c110d06545a8051c5fe47b844ed7fc1bfb96f.zip |
implement rdar://7346691 by codegen'ing struct/array initializers
to a memset or a memcpy from a global when possible.
llvm-svn: 90658
Diffstat (limited to 'clang/test/CodeGen/string-init.c')
-rw-r--r-- | clang/test/CodeGen/string-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/string-init.c b/clang/test/CodeGen/string-init.c index 0cb6afff611..410a4072825 100644 --- a/clang/test/CodeGen/string-init.c +++ b/clang/test/CodeGen/string-init.c @@ -1,5 +1,5 @@ // RUN: clang-cc -emit-llvm %s -o %t -// RUN: grep 'private constant \[10 x i8\]' %t +// RUN: grep 'internal constant \[10 x i8\]' %t // RUN: not grep -F "[5 x i8]" %t // RUN: not grep "store " %t |