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 | 761acc19d966a67f2175783d09412d6ac9463400 (patch) | |
tree | 393991d45df03fd98ab66808e63b08ffbc672a17 /test/CodeGen/string-init.c | |
parent | 10976d99e4e129dfc66c19fd425408cdd9a90268 (diff) |
implement rdar://7346691 by codegen'ing struct/array initializers
to a memset or a memcpy from a global when possible.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/string-init.c')
-rw-r--r-- | test/CodeGen/string-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/string-init.c b/test/CodeGen/string-init.c index 0cb6afff61..410a407282 100644 --- a/test/CodeGen/string-init.c +++ b/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 |