Fix a memcpy lowering bug. Even though the memcpy alignment is smaller than the desir...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 4 Jun 2008 23:37:54 +0000 (23:37 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 4 Jun 2008 23:37:54 +0000 (23:37 +0000)
commitfb4db316d835fa9774d608ac58336a24c7867192
treedd84e845d53ad6928fbf8c01beef6adf3d22869a
parent10a05bfff08deb739abe11d05e794440c3ab543f
Fix a memcpy lowering bug. Even though the memcpy alignment is smaller than the desired alignment, the frame destination alignment may still be larger than the desired alignment. Don't change its alignment to something smaller.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51970 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/2008-06-04-MemCpyLoweringBug.ll [new file with mode: 0644]