Skip to content
  • Duncan Sands's avatar
    The memcpy optimizer was happily doing call slot forwarding when the new memory · c6ada69a
    Duncan Sands authored
    was less aligned than the old.  In the testcase this results in an overaligned
    memset: the memset alignment was correct for the original memory but is too much
    for the new memory.  Fix this by either increasing the alignment of the new
    memory or bailing out if that isn't possible.  Should fix the gcc-4.7 self-host
    buildbot failure.
    
    llvm-svn: 165220
    c6ada69a
Loading