[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer

Chandler Carruth chandlerc at google.com
Thu May 22 21:27:16 PDT 2014


On Thu, May 22, 2014 at 10:23 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> Ah, okay. Then what do you mean by, "fold homogeneous struct type layers
> into arrays."? Do you mean refactor to make them look like arrays at the
> API level?


No, to change the types used to access this data to actually use an array
(rather than a homogeneous struct) at the layer where it is possible to
dynamically index without issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140522/8e3efe86/attachment.html>


More information about the llvm-dev mailing list