Satya,
The following two lines scare me:
// TODO Perform data dependence analysis for the loop nest.
// TODO Check if there is any data dependence preventing interchange.
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?
--Owen
On Jul 13, 2010, at 5:14 PM, Satya Jandhayala wrote:
>
>
> --- On Tue, 7/13/10, Satya Jandhayala <satya_jandhayala at yahoo.com>
wrote:
>
> From: Satya Jandhayala <satya_jandhayala at yahoo.com>
> Subject: LoopInterchange Pass
> To: llvmdev at cs.uiuc.edu
> Date: Tuesday, July 13, 2010, 12:06 PM
>
> Hi,
>
> I developed a Loop Interchange pass. Please take a look.
> I have not incorporate data dependence analysis check. I can insert it when
the LoopDependenceAnalysis is available.
>
> Thank you
> Satya
>
>
> <LoopInterchange.cpp>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20100714/449eb813/attachment.html>