Fixed problem in EmitStackConvert where the source and target type
authorMon P Wang <wangmp@apple.com>
Wed, 2 Jul 2008 17:07:12 +0000 (17:07 +0000)
committerMon P Wang <wangmp@apple.com>
Wed, 2 Jul 2008 17:07:12 +0000 (17:07 +0000)
commitbee98c66c0c3d1f43244cdf237e572a9df031e40
tree60b7a784e42ba0fb9c700f9710d6e8baed919b52
parent349db1738d58d52cae2ab1e06cbd128dd9f0aab6
Fixed problem 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@53031 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp