<div dir="ltr">Except that it shows you a *bad* way to use the APIs, since it doesn't use IRBuilder which is by far the better way to build IR in the C++ API.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 3:18 PM, Stanislav Manilov via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><br>There is another benefit to keeping the CppBackend: it's great for learning how to use the IR and the C++ API in particular, as can be seen from this SO Q&A: <a href="http://stackoverflow.com/questions/16656855/llvm-ir-string-initialization" target="_blank">http://stackoverflow.com/questions/16656855/llvm-ir-string-initialization</a><div><br></div><div>But I'll understand if it's considered too much of a burden to keep. I can send a patch for the part that I was trying to use, but there's probably a lot to fix for it to fully work.</div><div><br></div><div>Cheers,</div><div> - Stan</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 4:21 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">+1</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 3:10 AM, Filipe Cabecinhas via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span><br>
On Wed, May 4, 2016 at 9:35 AM, Ronan KERYELL via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
>>>>>> On Tue, 3 May 2016 16:36:01 -0400, Rafael Espíndola via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> said:<br>
><br>
>     Rafael> Care to send a patch deleting it? :-)<br>
><br>
> On the other hand these requests come back from time to time on the<br>
> mailing list and it is still used in many attics of various projects as<br>
> a de-facto internal representation to interface with other tools for<br>
> technical/marketing/political/... reasons.<br>
</span>Doesn't seem like it is, if it seems to be broken since some 2013 changes.<br>
It might be in use for projects using older llvm releases, of course.<br>
But those haven't updated their llvm library for a long time, so this<br>
wouldn't be their major problem.<br>
<span><br>
> So sending a patch to resurrect it in a more modern new life might be<br>
> also considered instead of many people crafting some half-working<br>
> ashamed kludges far from the sight... :-)<br>
</span>Not really. There's no reason to spend the effort just because "in the<br>
future someone might use it".<br>
If you're saying "I have some half-working things and CppBackend would<br>
be awesome for me", then I guess no one would object to you working on<br>
it, and people would actually help if you needed advice/patch review,<br>
etc.<br>
<br>
But if we have no one actively interested, and there has been no<br>
active development to the point where it's plain broken since a long<br>
time ago, then we probably want to start proposing its deletion.<br>
There's no point in having people who aren't interested in maintaining<br>
it do all this work if the backend can be so out of date and no one<br>
notices.<br>
If it's not usable now and almost no one complains about it being<br>
broken (outside the occasional "Is this working? No.", will those<br>
people notice if it's gone? :-)<br>
<br>
Thank you,<br>
<br>
  Filipe<br>
<div><div><br>
> --<br>
>   Ronan KERYELL<br>
>   Xilinx Research Labs, Dublin, Ireland<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>