[LLVMdev] LLVM and OpenMP

Wojciech Matyjewicz wmatyjewicz at fastmail.fm
Thu Nov 29 15:50:17 PST 2007


Anton Korobeynikov wrote:
> I've just commited a patch to llvm-gcc 4.2, which moves openmp lowering
> stuff to be run little bit earlier, so llvm-convert will catch its
> result. It looks now gcc atomic & sync builtins should be introduced to
> llvm as a remaining ingredient.
> 
> Example program from Diego's paper now compiles to:

Thanks, Anton! The compiled code seems to be ok. IIRC, there is a
project aiming at introducing gcc atomic and sync builtins. It is
temporarily suspended, but when it is eventually finished, OpenMP will
be a nice thing to test it with:)

Kind regards,
Wojtek



More information about the llvm-dev mailing list