Hi all,<br><br>Unfortunately, all my Hunks are failed when I apply : patch -p1 < da.patch command.<br><br>The problem might be due to the fact that da.patch file was created against revision 167549, but I am on revision 167719 (I believe the most recent one). <br>
I am not sure if this cause the problem ? But Preston may I ask you to generate the patch file against revison 167719  ?<br><br>Thanks in advance.<br><br><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 9:41 AM, Arnaldo <span dir="ltr"><<a href="mailto:arnaldo.cruz@upr.edu" target="_blank">arnaldo.cruz@upr.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Preston, thanks for the explanation and patch.  Now it's printing the direction and distance values.<div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 12:22 PM, Preston Briggs <span dir="ltr"><<a href="mailto:preston.briggs@gmail.com" target="_blank">preston.briggs@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Erkan, you're right. Sorry about that.</div><div>Attached is the most recent version.</div><div><br></div><div>

Preston</div><div><br></div><div><br></div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<span style="font-family:arial,sans-serif;font-size:13px">Hi Preston,</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I am trying to use DA as well. I used your example and commands that you wrote in order to get DA information. </span><br style="font-family:arial,sans-serif;font-size:13px">




<span style="font-family:arial,sans-serif;font-size:13px">However, it does not report any dependence info. </span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I am wondering whether your local copy differs from the one on the repository ?</span><br style="font-family:arial,sans-serif;font-size:13px">




<span style="font-family:arial,sans-serif;font-size:13px">Thanks.<br></span><span style="font-family:arial,sans-serif;font-size:13px">Erkan.</span></blockquote><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>




From: <b class="gmail_sendername">Preston Briggs</b> <span dir="ltr"><<a href="mailto:preston.briggs@gmail.com" target="_blank">preston.briggs@gmail.com</a>></span><br>
Date: Wed, Nov 7, 2012 at 12:51 PM<br>Subject: DependenceAnalysis patch<br>To: "<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a>" <<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a>>, Chandler Carruth <<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>>, Hal Finkel <<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>>, Benjamin Kramer <<a href="mailto:benny.kra@gmail.com" target="_blank">benny.kra@gmail.com</a>><br>





<br><br>Here's a patch that covers the problems reported by Chandler last week.<div>It checks the base pointer of each GEP to be sure they are loop invariant. The patch also updates the -analyze functionality so that all pairs of memory references are tested. Finally, all the test cases have been updated.</div>






<div><br></div><div>I haven't yet updated DA to analyze pairs of pointer dereferences. I wanted to get the initial correction in place first. I also expect that analyzer pointer derefs will benefit from delinearization and am hoping it gets incorporated soon.</div>






<div><br></div><div>If someone could review this change and check it in, if appropriate, I'd be obliged.</div><div><br></div><div>Thanks,</div><div>Preston</div><div><br></div>
</div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Erkan Diken<br>------------------<br><br>