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

Eric Christopher echristo at gmail.com
Tue Oct 2 10:56:47 PDT 2012

On Mon, Oct 1, 2012 at 9:26 PM, Chris Lattner <clattner at apple.com> wrote:
> On Oct 1, 2012, at 6:16 PM, greened at obbligato.org wrote:
>> Sanjoy Das <sanjoy at playingwithpointers.com> writes:
>>> In short, I propose a intrinsic based approach which hinges on the
>>> concept of a "parallel map".  The immediate effect of using intrinsics
>>> is that we no longer have to worry about missing metadata.  Moreover,
>>> we are still free to lower the intrinsics in a variety of ways --
>>> including vectorizing them or lowering them to calls to an actual
>>> openmp backend.
>> I'll re-ask here since this is in its own thread.
>> Why can't we just make ordinary function calls to runtime routines?
> I agree.  I can't imagine any practical way that a metadata-based approach could be preserved by optimizers.

Yes, this. Absolutely.


More information about the llvm-dev mailing list