diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-06-08 22:08:31 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-06-08 22:08:31 +0000 |
commit | 0398d6135daef709f80837e457a75dc2e1c2aab7 (patch) | |
tree | bc9103f763c7e3acc771c832187030d59ee66f12 /lib/CodeGen/CallingConvLower.cpp | |
parent | 69b9044c668dfb92038385a96c030778de64edfd (diff) |
Fix an assymmetry between ConvertScalar_ExtractValue and ConvertScalar_InsertValue. The
former was using the size of the entire alloca, whereas the latter was correctly using
the allocated size of the immediate type being converted (which may differ from the size
of the alloca). This fixes PR10082.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CallingConvLower.cpp')
0 files changed, 0 insertions, 0 deletions