<html><body><p><font size="2">Hi Min,</font><br><br><font size="2">Thanks for sharing your findings with us. </font><br><br><font size="2">Regarding loop rotation breaking the "exit block predecessor requirement", do you have specific examples of that? In the tests I've tried, I see a BB with the "crit_edge" suffix that acts as the exit block, while the loop guard branches to the successor of the "crit_edge" block. </font><br><br><font size="2">Bardia Mahjour<br><br></font><br><br><img width="16" height="16" src="cid:1__=8FBB0EACDFDF7D938f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Min-Yih Hsu ---2019/07/19 01:47:20 PM---Hi all, Sorry I can't attend the conference call on Wednesday"><font size="2" color="#424282">Min-Yih Hsu ---2019/07/19 01:47:20 PM---Hi all, Sorry I can't attend the conference call on Wednesday, so I wrapped up my</font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">Min-Yih Hsu <minyihh@uci.edu></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">Bardia Mahjour <bmahjour@ca.ibm.com></font><br><font size="2" color="#5F5F5F">Cc: </font><font size="2">llvm-dev <llvm-dev@lists.llvm.org></font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">2019/07/19 01:47 PM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">[EXTERNAL] Re: [llvm-dev] Loop Opt WG Meeting Minutes for July 17, 2019</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br>Hi all,<br><br>Sorry I can't attend the conference call on Wednesday, so I wrapped up my survey into a blog post that is easier to digest, here is the link:<br><a href="https://medium.com/@mshockwave/llvm-loop-lr-survey-6df55f8dff74"><u><font color="#0000FF">https://medium.com/@mshockwave/llvm-loop-lr-survey-6df55f8dff74</font></u></a> <br><br>Here is the take away:<br>1. I'm not sure LoopRotation will cause any problem if the user Passes require the property of exit block predecessors (i.e. predecessors of exit blocks are always in the loop)<br>2. I do a simple experiment on top of LLVM's existing regression testsuite by running LoopRotation before every Passes that use LoopSimplify loops as inputs. About 10% of the selected test cases are failed.<br>3. As the follow up of the experiment, I pick part of the failures from LoopFusion and LoopStrengthReduction to find the root cause. All of them are actually producing expecting and correct results. The failures are caused by false negatives coming from the testing infrastructure.<br><br>As a personal verdicts, I think migrating canonical loops to LoopRotation loops seem to require little of works on existing loop Passes, I’m pretty positive on this migration. But of course, we definitely need feedback from the community and real-field test results.<br><br>B.R.<br>- Min<br><br>On Wed, Jul 17, 2019 at 1:28 PM Bardia Mahjour via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org"><u><font color="#0000FF">llvm-dev@lists.llvm.org</font></u></a>> wrote:
<ul><font size="2">Hi all,</font><br><font size="2"><br>Apparently some people had trouble joining today. I also had trouble using the attendee ID provided by webex. I've canceled the meeting series and will be scheduling a new one with an updated link. Please remember to update your calendars with the new invite.</font><br><font size="2"><br>My apologies to those who couldn't join today, and to everyone for the churn. </font><br><br><font size="2"><br>Today's Meeting Minutes:</font><br><font size="2"><br>---------------------------<br>Wed, July 17th, 2019:<br>---------------------------<br>- Data Dependence Graph Presentation<br>- Minimal vs full graph: Start with the full graph implementation and <br>leave optimizations until later when we have more imperical evidence on<br>where the bottlenecks are in this implementation.<br>- Trade-offs of the current proposal discussed with no objections to the <br>overall design from the audience at this time. More feedback is welcome!<br>- The approximate sequence of patches to be posted for review will be: <br>1. DDG (basic), <br>2. DDG (with simplification)<br>3. DDG (with root node and pi-blocks)<br>4. Control Dependence Graph (CDG)<br>5. Program Dependence Graph (PDG)</font><br><font size="2"><br>- Status Updates:<br>- Directed Graph (</font><a href="https://reviews.llvm.org/D64088" target="_blank"><u><font size="2" color="#0000FF">https://reviews.llvm.org/D64088</font></u></a><font size="2">)<br>- Patch is approved and ready to land.<br>- First patch of DDG to be posted soon.<br>- Loop Cache Cost Analysis (</font><a href="https://reviews.llvm.org/D63459" target="_blank"><u><font size="2" color="#0000FF">https://reviews.llvm.org/D63459</font></u></a><font size="2">)<br>- Ready and awaiting approval.<br>- Loop Guard API (</font><a href="https://reviews.llvm.org/D63885" target="_blank"><u><font size="2" color="#0000FF">https://reviews.llvm.org/D63885</font></u></a><font size="2">)<br>- Need to clarify comments from Philip to agree on the strength of the <br>definition of a loop guard<br>- Impact of Loop Rotation on existing passes<br>- Min unable to join today, will send a follow up email and/or discuss<br>next meeting.<br>- Bugzilla bugs update<br>- Ran out of time. Postponed to next meeting.</font><br><br><font size="2"><br>------------------------------------------------------------<br>Tentative Agenda for next meeting (July 31 @ 11:00 am EST):<br>------------------------------------------------------------<br>- Status Updates<br>- Impact of Loop Rotation on existing passes (Min-Yih)<br>- Bugzilla bugs update (Vivek)<br>- Loop Cache Cost Analysis (</font><a href="https://reviews.llvm.org/D63459" target="_blank"><u><font size="2" color="#0000FF">https://reviews.llvm.org/D63459</font></u></a><font size="2">) (Ettore)<br>- Loop Guard API (</font><a href="https://reviews.llvm.org/D63885" target="_blank"><u><font size="2" color="#0000FF">https://reviews.llvm.org/D63885</font></u></a><font size="2">) (Whitney)<br>- Data Dependence Graph (Bardia)</font><br><font size="2"><br>- Delinearization (Gary Elsesser)<br>- Loop vs Function pass (Jamie Schmeiser)<br>- Loop Guard API (Whitney)</font><br><br><font size="2"><br>Bardia Mahjour<br>Compiler Optimizations<br>IBM Toronto Software Lab</font><u><font size="2" color="#0000FF"><br></font></u><a href="mailto:bmahjour@ca.ibm.com" target="_blank"><u><font size="2" color="#0000FF">bmahjour@ca.ibm.com</font></u></a><font size="2"> (905) 413-2336</font><br>_______________________________________________<br>LLVM Developers mailing list<u><font color="#0000FF"><br></font></u><a href="mailto:llvm-dev@lists.llvm.org" target="_blank"><u><font color="#0000FF">llvm-dev@lists.llvm.org</font></u></a><u><font color="#0000FF"><br></font></u><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank"><u><font color="#0000FF">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</font></u></a></ul><br><br>-- <br>Min-Yih Hsu<br>Ph.D Student in ICS Department, University of California, Irvine (UCI).<br><br><BR>
</body></html>