[cfe-dev] [LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)

Mehdi AMINI joker.eph at gmail.com
Fri Sep 28 21:07:32 PDT 2012


Hi,

> Also, one user of this metadata could be the alias analysis: it should
> be easy to write an AA that can exploit the parallelism
> information. Parallel regions by definition do not have (defined)
> dependencies between each other (between synchronization points) which
> should be useful information for optimization purposes even if
> parallel hardware was not targeted.

I'm a bit "off-topic" : this assumption seems strong to me : I don't 
think it is forbidden to have dependencies between two iterations of a 
parallel loop for instance. I agree it will not be deterministic but it 
is not necessarily an issue.

Best,

Mehdi Amini




More information about the cfe-dev mailing list