[LLVMdev] How to force the creation of arrays with zeroes?

Chris Lattner clattner at apple.com
Sun Feb 5 11:26:59 PST 2012

On Jan 22, 2012, at 12:50 AM, Chris Lattner wrote:
> On Jan 21, 2012, at 11:50 PM, Stepan Dyatkovskiy <STPWORLD at narod.ru> wrote:

>> Hi Chris. The main question is how to implement ConstantAggregateXXXXX::getOperand? Should it be empty collection, or it must return the item aggregated? 

> I've been thinking about this a bit and have some more specific ideas, I'll write up a design and maybe implement it over the next few days.

Hi Stepan,

FYI, this is now implemented in mainline with the ConstantData* classes.


More information about the llvm-dev mailing list