[llvm-commits] [llvm] r71224 - in /llvm/trunk: lib/Transforms/Scalar/ScalarReplAggregates.cpp test/Transforms/ScalarRepl/2009-05-08-I1Crash.ll

Chris Lattner clattner at apple.com
Fri May 8 10:40:00 PDT 2009


On May 8, 2009, at 10:36 AM, Duncan Sands wrote:

> Hi Chris,
>
>> fix RewriteStoreUserOfWholeAlloca to use the correct type size
>> method, fixing a crash on PR4146.  While the store will
>> ultimately overwrite the "padded size" number of bits in memory,
>> the stored value may be a subset of this size.  This function
>> only wants to handle the case where all bits are stored.
>
> I think you mean StoreSize, not PaddedSize.  StoreSize is the
> number of bits overwritten, PaddedSize is what gets allocated
> by alloca etc.

Now it doesn't use either of them :)

-Chris



More information about the llvm-commits mailing list