[PATCH] [Polly] [IslCodeGenerator] Add OpenMP support

Tobias Grosser tobias at grosser.es
Mon Sep 29 00:53:11 PDT 2014


Hi jdoerfert,

This hooks the existing OpenMP support, as it was already available in
the CLooG backend, to our isl code generator backend.

This is the last feature, that was only available in the CLooG backend and that
blocked the by-default use of the isl backend. As the isl backend is with this
commit not only at feature parity, but has several advantages (run-time
alias checks, delinerization, ...), we aim to switch the default code generation
backend to isl. This switch will take place after a brief in-tree testing period
for the new OpenMP support in our isl backend.

TODO:  - Still needs to be documented/style-checked
       - We do not use -enable-polly-openmp yet
       - We may want to reduce the use of OpenMP specific variable names

Comments are already appreciated.

http://reviews.llvm.org/D5517

Files:
  include/polly/CodeGen/IslExprBuilder.h
  lib/CodeGen/IslCodeGeneration.cpp
  test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll
  test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
  test/Isl/CodeGen/OpenMP/single_loop.ll
  test/Isl/CodeGen/OpenMP/single_parallel_loop___%for.i---%exit.jscop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5517.14153.patch
Type: text/x-patch
Size: 20229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140929/527b3362/attachment.bin>


More information about the llvm-commits mailing list