[LLVMdev] How to set value for a vectortype?
Shining
shining.llvm at gmail.com
Wed Aug 7 23:35:07 PDT 2013
I have resolved the problem.
It must create a ConstantVector, then use the setInitializer() api of the
vectortype to set the value.
Thanks.
2013/8/6 Shining <shining.llvm at gmail.com>
> I want to set value for a vectortype.
> It is a global variable, it contains several basic type, like float.
> If can set value element by element, it is better.
>
> --
> Shining(史宁)
> Changchun, Jilin, China
>
>
--
Shining(史宁)
Changchun, Jilin, China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130808/40db2bd0/attachment.html>
More information about the llvm-dev
mailing list