[LLVMdev] Speculative Loop Parallelization on LLVM IR

Daniel Berlin dberlin at dberlin.org
Mon Jun 21 12:14:59 PDT 2010

>> Then the JIT can simply eliminate the branches it proves are live/dead
>> and you are left with either the parallelized or not version.
> May be he is thinking about the cases where dependencies can not be
> fully resolved until the loop is run ?

What percent of loops is this, and how often do they occur?
Also, most of these models can insert all the guards, even for things
that cannot be resolved until the loop is run, they just end up
generating a lot more guards, no?
It's like runtime alias checks.

>> As you say, this is the standard approach, why would you need to run
>> Poly at runtime?
> -
> Devang

More information about the llvm-dev mailing list