Skip to content
Commit c3b1cc9a authored by Cameron Zwarich's avatar Cameron Zwarich
Browse files

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.

llvm-svn: 132759
parent 4e9af454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment