[LLVMdev] multi-threading in llvm

Sebastian Pop sebpop at gmail.com
Mon Sep 12 08:56:34 PDT 2011


On Mon, Sep 12, 2011 at 10:44, Tobias Grosser <tobias at grosser.es> wrote:
>> You can have the parallel code generation part of Polly working as
>> a LoopPass.
>
> Are you sure about this? In CodeGeneration we basically translate a CLooG
> AST into LLVM-IR. Without a CLooG AST this does not work.

I mean you could rewrite that code to work on a per loop basis, like
graphite does: flag the parallel loops in the code generation of polly
and then independently of polly, as a LoopPass, iterate over all the
loops and code generate the parallel ones.

Sebastian



More information about the llvm-dev mailing list