Skip to content
  • Chris Lattner's avatar
    Implement PR8644: forwarding a memcpy value to a byval, · 58f9f587
    Chris Lattner authored
    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
    58f9f587
Loading