In my recent change to avoid use of underaligned memory I didn't notice that
authorDuncan Sands <baldrick@free.fr>
Thu, 4 Oct 2012 13:53:21 +0000 (13:53 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 4 Oct 2012 13:53:21 +0000 (13:53 +0000)
commita6d20010feea96ea5265af03b764f206f6440aa6
treea05d6d3d4f8a781afa98caed466324fdf7858e3e
parentd2f6b974175fefbb6df8cd9f1ee26525c0f9e607
In my recent change to avoid use of underaligned memory I didn't notice that
cpyDest can be mutated in some cases, which would then cause a crash later if
indeed the memory was underaligned.  This brought down several buildbots, so
I guess the underaligned case is much more common than I thought!

llvm-svn: 165228
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll