Muthu Raj
2011-Oct-11 14:59 UTC
[LLVMdev] Speculative paralellisation in LLVM compiler infrastructure!!!!!
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. Thanks , Raj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111011/e086c149/attachment.html>
Muthu Raj
2011-Oct-11 15:07 UTC
[LLVMdev] Fwd: Speculative paralellisation in LLVM compiler infrastructure!!!!!
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. Thanks , Raj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111011/8e69996a/attachment.html>
Nick Lewycky
2011-Oct-11 17:07 UTC
[LLVMdev] Speculative paralellisation in LLVM compiler infrastructure!!!!!
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>