[LLVMdev] questions about the type system rewrite

Garrison Venn gvenn.cfe.dev at gmail.com
Wed Jul 20 06:49:51 PDT 2011


I know this is obvious, but one way to achieve a somewhat equivalent incremental
update mechanism, is to instead incrementally update a container. Once the
container is "finished", the structure type is manifested by setBody("ArrayRef ver. of 
container").

I was surprised how effortless my port from use of opaque to name struct types
was, although I guess this depends on one's milage.

Garrison

On Jul 18, 2011, at 12:00, Nicolas Ojeda Bar wrote:

> Hi,
> 
> Question 1: Will the new type system allow to incrementally build structs (instead
> of filling all the fields in one go, as in the example given in
> <http://nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt>?
> 
> Question 2: Will the ocaml bindings to be updated to work with the new type system
> once the merging of the rewrite to the main branch is done?
> 
> Thanks very much,
> N
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list