When lowering memcpys to loads and stores, make sure we don't promote alignments
authorLang Hames <lhames@gmail.com>
Thu, 31 Jan 2013 20:23:43 +0000 (20:23 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 31 Jan 2013 20:23:43 +0000 (20:23 +0000)
commit2d95e43fd877f81f419485baed3bd559de55e4c4
tree0aea61dd4d4a0ccbce7b4867827af6b1e63b3b40
parent8b15d74434dfde5ea9227b985c2c934f62bf03a7
When lowering memcpys to loads and stores, make sure we don't promote alignments
past the natural stack alignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174085 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/memcpy-2.ll