<div dir="ltr">I think the expectation is that LLVM remains at the bottom of the dependency tree, with frontend-support depending on LLVM, and Clang and Flang depending on frontend-support (and LLVM).<div><br></div><div>Not everything which makes sense to share between clang and flang makes sense to be part of llvm core. E.g., implementation of a GCC-compatible command-line compiler-driver seems like it would be very much out-of-place in llvm core.<div></div><div><br></div><div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 11, 2020 at 10:28 AM Doerfert, Johannes via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 6/11/20 3:32 AM, Andrzej Warzynski wrote:<br>
><br>
><br>
> On 11/06/2020 00:49, Michael Kruse wrote:<br>
>> Am Mi., 10. Juni 2020 um 10:04 Uhr schrieb Doerfert, Johannes via<br>
>> flang-dev <<a href="mailto:flang-dev@lists.llvm.org" target="_blank">flang-dev@lists.llvm.org</a>>:<br>
>>> I'm not against a subproject *but* if we also move the existing<br>
>>> llvm/lib/Frontend stuff, that would introduce a dependence from<br>
>>> llvm-core to this project, which I think is uncommon. We could also <br>
>>> have<br>
>>> both. At the end of the day it depends on the benefit we would get from<br>
>>> an independent subproject.<br>
>><br>
>> If we have non-conditional dependencies llvm-core->frontend-support<br>
>> and frontend-support->llvm-core, what advantage is there left of<br>
>> making frontend-support a subproject? Both of them are required all<br>
>> the time.<br>
>><br>
>> Michael<br>
>><br>
><br>
> Thanks for the feedback! It sounds like we should keep <br>
> llvm/lib/Frontend in LLVM and `frontend-support` would be a new <br>
> subproject for things unrelated to LLVM IR.<br>
<br>
Sure, if we expect usage of such a subproject without llvm-core. (Maybe <br>
there are other reasons to separate it but I'm not sure I understood them.)<br>
<br>
<br>
Thanks,<br>
<br>
Johannes<br>
<br>
<br>
><br>
> -Andrzej<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>