Displaying 2 results from an estimated 2 matches for "e09e159d".
2008 Apr 20
0
[LLVMdev] Global variable-length array
...oncrete
storage type is known, use ConstantExpr::getBitCast,
replaceAllUsesWith, and takeName to do the same thing the linker did
above.
— Gordon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080420/e09e159d/attachment.html>
2008 Apr 20
4
[LLVMdev] Global variable-length array
Question about "Pascal-style" arrays as mentioned in the reference guide.
Suppose I have a global variable which points to a constant, variable
length array.
The question is, how can I assign an array of type "{ i32, [5 x float]}"
to a global of type "{ i32, [0 x float]}"? From my experimentation, it
appears you can't bitcast or call GEP on a constant