[cfe-dev] OpenMP support

Ben Gaster Ben.Gaster at clearspeed.com
Fri Mar 14 04:13:29 PDT 2008



I was wondering if there are any plans for support OpenMP within Clang
and more generally within LLVM? As I understand that the LLVM GCC 4.2
frontend supports OpenMP but this is done via a lowing phase to the GOMP
library before LLVM code generation and LLVM does not explicitly support
OpenMP. The problem with this approach is that it difficult to develop
specific optimizations for OpenMP, although not impossible, with the
LLVM framework, and more over many standard optimizations are not valid
with the OpenMP memory model. For example, an important optimization for
OpenMP is barrier removal but one would need to reconstruct this from
the GOMP library rather than optimizing for a general OpenMP
representation and then code generating for GOMP or alternative OpenMP






Benedict R. Gaster

S/W Architecture Team Lead

ClearSpeed Technology Plc

3110 Great Western Court 

Hunts Ground Road

Stoke Gifford 


BS34 8HP


Phone: + 44 117 3172016

Fax: + 44 117 3172002

brg at clearspeed.com



The contents of this email and any attachments are confidential and may be legally privileged.  If you have received this email in error please notify the sender immediately and refrain from copying or disclosing the contents of the email to any third party.  ClearSpeed accepts no liability for any viruses which may be transmitted by this email or its attachments.

ClearSpeed Technology PLC is a company registered in England under company number 05159262 whose registered office is at 3110 Great Western Court, Hunts Ground Road, Bristol BS34 8HP, UK. 
ClearSpeed Technology INC is a wholly owned subsidiary of ClearSpeed Technology PLC and is incorporated in the United States of America, with its principal place of business at 3031 Tisch Way, Suite 200, San Jose, CA 95128, USA. 

Additional Company information can be found at the following: http://www.clearspeed.com/aboutus/company/index.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080314/ba37e578/attachment.html>

More information about the cfe-dev mailing list