[LLVMdev] About implementing new intrinsic

Chris Lattner sabre at nondot.org
Mon Apr 2 15:09:59 PDT 2007


On Mon, 2 Apr 2007, Ferad Zyulkyarov wrote:
>>> I want to implement a new intrinsic in llvm that will denote a
>>> parallel section within a function.
>> Can you explain what you mean by a parallel section within a function?
> I want to see how OpenMP's parallel fit in the LLVM architecture, is
> it easy to implement or not. GCC is too heavy platform to work on..

When implemented in LLVM, OpenMP will be supported in a very similiar way 
to what GCC does: it will extract out the parallel region (the part that 
runs on multiple threads) into a self-contained function.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list