When extending a memset range past the front, set the alignment of the
authorDan Gohman <gohman@apple.com>
Mon, 14 Sep 2009 23:39:10 +0000 (23:39 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 14 Sep 2009 23:39:10 +0000 (23:39 +0000)
commit264d245851173bbace9281a2378a6cc51162b030
treedabb1141b0c57693d16f4653eb6c7232320cb3bb
parent46262684285cd7baf74425610228ac8b4547dab1
When extending a memset range past the front, set the alignment of the
memset region to the alignment of the new start address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81810 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MemCpyOptimizer.cpp
test/Transforms/MemCpyOpt/align.ll [new file with mode: 0644]