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

Duncan Sands baldrick at free.fr
Fri May 8 10:36:33 PDT 2009


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.

Ciao,

Duncan.



More information about the llvm-commits mailing list