[LLVMdev] Speculative paralellisation in LLVM compiler infrastructure!!!!!

Nick Lewycky nlewycky at google.com
Tue Oct 11 10:07:27 PDT 2011


On 11 October 2011 07:59, Muthu Raj <sameer.muthu9 at gmail.com> wrote:

>
> Hi,
>
>    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.
>

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!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111011/c24a99db/attachment.html>


More information about the llvm-dev mailing list