diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-11-21 00:28:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-11-21 00:28:59 +0000 |
| commit | 58f9f5871657b1b050ea8360fc93148ee2fe53b8 (patch) | |
| tree | 0e314fd3d2b2d1a644905be7d2d3973179e5d228 /clang/lib/Basic/FileManager.cpp | |
| parent | d470fef01da978a9695b0f442747a2d87e2fe24a (diff) | |
| download | llvm-58f9f5871657b1b050ea8360fc93148ee2fe53b8.zip llvm-58f9f5871657b1b050ea8360fc93148ee2fe53b8.tar.gz llvm-58f9f5871657b1b050ea8360fc93148ee2fe53b8.tar.bz2 | |
Implement PR8644: forwarding a memcpy value to a byval,
allowing the memcpy to be eliminated.
Unfortunately, the requirements on byval's without explicit
alignment are really weak and impossible to predict in the
mid-level optimizer, so this doesn't kick in much with current
frontends. The fix is to change clang to set alignment on all
byval arguments.
llvm-svn: 119916
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions
