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

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

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