[LLVMdev] Union type, is it really used or necessary?

Renato Golin rengolin at systemcall.org
Tue Sep 7 07:55:11 PDT 2010


On 7 September 2010 15:36, Anton Korobeynikov <anton at korobeynikov.info> wrote:
> Otherwise the feature being unused will quickly became broken.

It was already broken for ages... :/

Even if you're not using the backends (or MC), having it in front-end
only will only confuse new users that will try to use it and hope it
just works (my case, a few months ago).

If there is nothing, you just work around it (by adding new features
to structs, if necessary) or re-create unions, depending on your
commitment to the union problem. Although having an union type would
be quite an improvement to IR readability, I really don't need it that
badly to write the whole back-end for it.

It's just a matter of priorities, unfortunately... :(

-- 
cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm



More information about the llvm-dev mailing list