<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Mehdi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I can't replicate those failures at my end, could you let me know what OS, compiler and CMake flags you're using so I can try and reproduce?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
David Truby<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> llvm-dev <llvm-dev-bounces@lists.llvm.org> on behalf of Mehdi AMINI via llvm-dev <llvm-dev@lists.llvm.org><br>
<b>Sent:</b> 07 April 2020 06:44<br>
<b>To:</b> Richard Barton <Richard.Barton@arm.com><br>
<b>Cc:</b> llvm-dev@lists.llvm.org <llvm-dev@lists.llvm.org><br>
<b>Subject:</b> Re: [llvm-dev] F18 ready to be merged + preview of merge</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>This sounds reasonable to me overall. There are some CMake issue to go through (I need to dig into it a bit).</div>
<div><br>
</div>
<div>When I run `ninja check-flang` at the moment (after fixing CMake) I end up with:</div>
<div><br>
</div>
<div>
<div>Testing Time: 16.22s</div>
<div>********************</div>
<div>Failing Tests (12):</div>
<div>    Flang :: Lower/pre-fir-tree04.f90</div>
<div>    Flang :: Semantics/allocate11.f90</div>
<div>    Flang :: Semantics/allocate13.f90</div>
<div>    Flang :: Semantics/c_f_pointer.f90</div>
<div>    Flang :: Semantics/call04.f90</div>
<div>    Flang :: Semantics/canondo16.f90</div>
<div>    Flang :: Semantics/coarrays01.f90</div>
<div>    Flang :: Semantics/critical02.f90</div>
<div>    Flang :: Semantics/doconcurrent01.f90</div>
<div>    Flang :: Semantics/dosemantics11.f90</div>
<div>    Flang :: Semantics/resolve50.f90</div>
<div>    Flang :: Semantics/resolve87.f90</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Are these known issues?</div>
<div><br>
</div>
<div><br>
</div>
<div>-- </div>
<div>Mehdi</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Apr 6, 2020 at 7:27 AM Richard Barton via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; border-left-color:rgb(204,204,204); padding-left:1ex">
<div><font face="Calibri" size="2"><span style="font-size:11pt">
<div>Hi llvm-dev</div>
<div> </div>
<div>We believe we have completed enough of the agreed pre-upstreaming changes to start talking about merging F18 into LLVM. The live status is tracked at [1]. There are a few details that we have not managed to hammer out and we propose to tackle inside the
 LLVM monorepo. I have put a summary of these at the bottom of this mail.</div>
<div> </div>
<div>Does anyone have any objections to flang being merged into LLVM with these issues still in-flight? Obviously we remain committed to solving them after merging into LLVM?</div>
<div> </div>
<div>If that is all good then, as previously agreed, we want to give folks something more concrete to review and a bit of time to give feedback on it before we commit. David Truby has just now created a preview of what the LLVM project would look like with
 F18 merged in as flang. The obvious caveat is that both LLVM and F18 are continuing development so there will be additional commits on both sides of the real merge when it happens.</div>
<div> </div>
<div>Here is the merge preview: <a href="https://github.com/DavidTruby/llvm-project/" target="_blank">
<font color="blue"><u>https://github.com/DavidTruby/llvm-project/</u></font></a></div>
<div> </div>
<div>This branch shows:</div>
<ul style="margin:0px; padding-left:27pt">
<font face="DengXian">
<li>The commit history of F18 re-written as a straight line branch by Peter Waller's script.</li><li>A commit that tweaks F18's README to rename it as flang and make it more relevant inside the monorepo (being reviewed under
<a href="https://github.com/flang-compiler/f18/pull/909" target="_blank"><font color="blue"><u>https://github.com/flang-compiler/f18/pull/909</u></font></a>).</li><li>The merge commit that adds F18 to the monorepo as flang</li><li>A patch to the monorepo cmake that adds flang as an optionally built target - see also
<a href="https://reviews.llvm.org/D72416" target="_blank"><font color="blue"><u>https://reviews.llvm.org/D72416</u></font></a>
</li></font></ul>
<div> </div>
<div>I really encourage all folks maintaining buildbots or downstream builds to give this a look over to make sure it works for you. For everyone else, I hope this looks good to you too. All feedback very welcome.</div>
<div> </div>
<div>If everyone is happy with that, we'll agree on a new date in the regular F18 community call on Monday. I'll be back in touch after that.</div>
<div> </div>
<div>Thanks</div>
<div>Rich</div>
<div> </div>
<div>Remaining Details still in-progress</div>
<div> </div>
<div>[1] clang-format</div>
<div>F18's clang-format file will have a few differences to the global formatting style. These are mainly ones that control alignment of code. We have not come to an agreement as a community on the best way forward here. This
<a href="http://lists.llvm.org/pipermail/flang-dev/2020-March/000243.html" target="_blank">
<font color="blue"><u>flang-dev thread</u></font></a> summarises the debate. We would like to continue this debate after F18 becomes part of the monorepo.
</div>
<div> </div>
<div>[2] llvm_unreachable</div>
<div>Previously we stated that we would try to use llvm_unreachable in F18 whenever possible. Presently, F18 has a similar function called die, but this is used to cover multiple run-time error cases only some of which should be covered by llvm_unreachable.
 We would like to handle all cases together which also means coming up with a good system for reporting ICEs. See
<a href="https://github.com/flang-compiler/f18/issues/966" target="_blank"><font color="blue"><u>these code review comments</u></font></a> for details. We propose to start fresh on this work after F18 becomes part of the monorepo.</div>
<div> </div>
<div>[3] remove_if vs RemoveCarriageReturns</div>
<div>Whilst removing code that manipulated C-style strings we hit upon a case which seemed to show that std::remove_if was a regression on certain targets over the current algorithm using C standard memmove. This
<a href="http://lists.llvm.org/pipermail/flang-dev/2020-April/000265.html" target="_blank">
<font color="blue"><u>flang-dev thread</u></font></a> summarises the situation and we are gathering further data before deciding what to do. We propose to continue to investigate this and make any necessary changes after F18 becomes part of the monorepo.</div>
<div> </div>
<div>[4] Doxygen infrastructure</div>
<div>We are still working through the final comments on <a href="https://github.com/flang-compiler/f18/pull/1065" target="_blank">
<font color="blue"><u>this patch</u></font></a> and hope to have it merged before we become part of LLVM. As this patch simply adds the infrastructure to add doxygen comments and there are no doxygen comments in F18 source at present, we think that this should
 not block F18's inclusion in the monorepo. We commit to finishing this off once F18 becomes part of the monorepo.</div>
<div> </div>
<div><font face="Arial" size="2" color="#969696"><span style="font-size:9pt">Created with Microsoft OneNote 2016.</span></font></div>
<div><font face="Times New Roman"> </font></div>
</span></font></div>
_______________________________________________<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="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
</div>
</body>
</html>