diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-11-30 02:11:09 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-11-30 02:11:09 +0000 |
commit | 994ffef4353056363ba5915eeecf0e1b0678f286 (patch) | |
tree | 2ba1c932955e68494db1a6a70aeb340c83a98275 /test/Analysis/array-struct.c | |
parent | 4310ff6d8b22ee223b88811ef9d51ebb0f9ea66b (diff) |
Fix for PR2969: generate a memcpy from a constant for constant
initializers. llvm-gcc appears to be more aggressive, but incorrect,
for constructs like "const int a[] = {1,2,3};"; that said, current
optimizers will do the appropriate optimizations when safe.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions