<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><br><br></div><div><br>On Jul 25, 2016, at 5:54 PM, Chandler Carruth via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Jul 25, 2016 at 5:47 PM Mehdi Amini via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Jul 25, 2016, at 4:18 PM, Renato Golin via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> 6. The target's code must have been adapted to the developers policy as well as<br>
>  the coding standards. This can take a while and it should be fine to<br>
> accept external code into LLVM as experimental, but not officially.<br>
<br>
FWIW I’m not fond of not having this as the experimental part in the first place.<br>
It is harder to have things moving after being upstreamed.<br>
I’d expect the upstreaming of a backend (into experimental state) to be piece by piece with proper code review according to the current project standard.<br></blockquote><div><br></div><div>I'm not sure it makes sense to insist on backends being incrementally developed in the open. While I rather prefer that (WebAssembly has been fun to watch here), it doesn't seem realistic.</div><div><br>Every backend I can think of other than WebAssembly and the original AArch64 port has come into existence out of tree, and only after proving useful to some folks decided to move into the tree. I'd personally advocate for keeping that door open.</div></div></div></div></blockquote><div><br></div><div>I strongly agree with Chandler here.</div><div><br></div><div>I *also* feel that gating the move from experimental to non-experimental would be a reasonable place to draw a line in the sand on this topic if desired.  I am not arguing for actually drawing that strong a line mind you, just saying that would be a better place if we had to have one.  </div><div><br></div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div><br></div><div>All that said,I completely agree regarding coding conventions and other basic stuff. I don't think we need to wait for the official point in time to insist on all of the fundamental coding standards and such being followed.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
><br>
> A soft(-er?) requirement:<br>
><br>
> 7. The test coverage is broad and well written (small tests, documented). Where<br>
>  applicable, both the ``check-all`` and  ``test-suite`` must pass in at least<br>
>  one configuration (publicly demonstrated, ex.  via buildbots).<br>
<br>
Same as before: this is a no-brainer should be applicable with any patch, even in experimental state: small and documented lit tests.<br></blockquote><div><br></div><div>Yep, this seems like it should always be true regardless of the experimental nature.</div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>LLVM Developers mailing list</span><br><span><a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a></span><br><span><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></span><br></div></blockquote></body></html>