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 | 2f5f90ad3e9b00cf21ae8e3f55b93f0be1d504c3 (patch) | |
tree | 0368003df16ef9b625afc9cdca10357bf6f22268 /lib/MC/ELFObjectWriter.cpp | |
parent | a6fd81dd7f6039fbc1a55f6f4d45659fffdd81fb (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions