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

Nick Lewycky nicholas at mxc.ca
Fri Jan 20 00:17:03 PST 2012


Stepan Dyatkovskiy wrote:
> Hi all. How to force the creation of arrays with zeroes? Or this use-case is not provided?

That is impossible, LLVM will always canonicalize that to a 
ConstantAggregateZero.

Nick



More information about the llvm-dev mailing list