diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-31 22:33:42 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-31 22:33:42 +0000 |
commit | e668bdaa52c0e172afd6b4f0b06abf27119005c5 (patch) | |
tree | 337a75dd4f249912f57e9de50b113bd636c45dee /lib/Transforms/Utils/ValueMapper.cpp | |
parent | f1d0c623c6d9ce3e5d1b30ba3e76e122adc6720e (diff) |
TargetData.cpp::getTypeInfo() was returning alignment of element type as the
alignment of a packed type. This is obviously wrong. Added a workaround that
returns the size of the packed type as its alignment. The correct fix would
be to return a target dependent alignment value provided via TargetLowering
(or some other interface).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions