commit | 0398d6135daef709f80837e457a75dc2e1c2aab7 | [log] [tgz] |
---|---|---|
author | Cameron Zwarich <zwarich@apple.com> | Wed Jun 08 22:08:31 2011 +0000 |
committer | Cameron Zwarich <zwarich@apple.com> | Wed Jun 08 22:08:31 2011 +0000 |
tree | bc9103f763c7e3acc771c832187030d59ee66f12 | |
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