Fixed generating incorrect aligned stores that I backout of r53031
authorMon P Wang <wangmp@apple.com>
Sat, 5 Jul 2008 20:40:31 +0000 (20:40 +0000)
committerMon P Wang <wangmp@apple.com>
Sat, 5 Jul 2008 20:40:31 +0000 (20:40 +0000)
commit364d73ddab43b699ab90240f11b7a2eb5cf69bd8
tree30eeb56942e5f8572f47c1bb8de7d590e76e10af
parent225ca9cdd70de3d12641b0aba7daf6cb568a7ebd
Fixed generating incorrect aligned stores that I backout of r53031
that fixed problems in EmitStackConvert where the source and target type
have different alignment by creating a stack slot with the max
alignment of source and target type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53150 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp