<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 15, 2019 at 5:03 AM 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<br><div><br></div><div>(bcc: <a href="mailto:mlir@tensorflow.org" target="_blank">mlir@tensorflow.org</a> FYI)</div><div><br></div><div>I am following-up on the integration of MLIR in LLVM as a subproject (Re: <a href="http://lists.llvm.org/pipermail/llvm-dev/2019-October/135687.html" target="_blank">http://lists.llvm.org/pipermail/llvm-dev/2019-October/135687.html</a> ).</div><div><br></div><div>We're aiming to integrate into the monorepo next month. Right now our intent is for MLIR to live in a top-level directory in parallel to clang, lldb, lld, etc. </div><div></div></div></div></div></div></blockquote><div><br></div><div>Sounds right.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Our top option for the integration is to perform a git subtree merge to bring the MLIR history into the monorepo, here is a prototype: <a href="https://github.com/joker-eph/llvm-project-with-mlir" target="_blank">https://github.com/joker-eph/llvm-project-with-mlir</a></div></div></div></div></div></blockquote><div><br></div><div>I'll note that this would be the very-first merge commit on master. I'm not opposed to this, but others may be. (To allow this, we'd temporarily reconfigure github to allow pushing merge-commits, for this one commit, and then disable it again.)</div><div><br>However, another issue is that subtree merges have really weird artifacts when trying to look through history, with e.g. git log <filename>. I think I'd really prefer to avoid utilizing a subtree-merge for this.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>