Skip to content
Commit c59bb48e authored by Eli Friedman's avatar Eli Friedman
Browse files

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.

llvm-svn: 60270
parent 79ceb094
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment