<div class="gmail_quote">On 11 October 2011 07:59, Muthu Raj <span dir="ltr"><<a href="mailto:sameer.muthu9@gmail.com">sameer.muthu9@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><br></div><div>Hi,</div><div><br></div><div>   I am involved in the task of achieving speculative paralellisation in llvm. I have started my work by trying to see if a simple for loop can be paralellised in llvm.. The problem is i want to know how to check if a program is automatically parallelised when compiled with llvm or if explicitly need to do it how can i go about paralellising a for loop using llvm  compiler infrsatructure.how do i check for data dependency between iterations using llvm.</div>

</blockquote><div><br></div><div>LLVM does not automatically parallelize loops. Loop dependencies are analyzed by the LoopDependenceAnalysis, which is almost entirely stubs (ie., no implementation). Patches to implement it would be a good start!</div>

<div><br></div><div>Nick</div><div><br></div></div>