<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Satya,<div><br></div><div>The following two lines scare me:</div><div><br></div><div><div>  // TODO Perform data dependence analysis for the loop nest.</div><div>  // TODO Check if there is any data dependence preventing interchange.</div><div><br></div><div>It looks like your pass is going ahead and interchanging pairs of loops, without checking for correctness concerns.  Is this the case?  Have you tested it on, say, the LLVM nightly testsuite?</div><div><br></div><div>--Owen</div><div><br></div><div><br></div><div><div>On Jul 13, 2010, at 5:14 PM, Satya Jandhayala wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;"><br><br>--- On <b>Tue, 7/13/10, Satya Jandhayala <i><<a href="mailto:satya_jandhayala@yahoo.com">satya_jandhayala@yahoo.com</a>></i></b> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><br>From: Satya Jandhayala <<a href="mailto:satya_jandhayala@yahoo.com">satya_jandhayala@yahoo.com</a>><br>Subject: LoopInterchange Pass<br>To: <a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a><br>Date: Tuesday, July 13, 2010, 12:06 PM<br><br>
<div id="yiv443055957">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<div>Hi,</div>
<div> </div>
<div>I developed a Loop Interchange pass. Please take a look.</div>
<div>I have not incorporate data dependence analysis check. I can insert it when the LoopDependenceAnalysis is available.</div>
<div> </div>
<div>Thank you</div>
<div>Satya</div></td></tr></tbody></table><br></div></blockquote></td></tr></tbody></table><br>

      <span><LoopInterchange.cpp></span>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></div></body></html>