[PATCH] D11556: Make OpenMP codegen work in the presence of scalar dependences

Tobias Grosser tobias at grosser.es
Tue Jul 28 00:19:09 PDT 2015


grosser created this revision.
grosser added a reviewer: jdoerfert.
grosser added subscribers: llvm-commits, pollydev.

This change requires D11536 and D11554. It is still a proof-of-concept for the
following two reasons:

- We did not yet instrument the calls in the RegionGenerator that can possibly
  introduce stack allocated memory

- It would be nice to find a less intrusive solution, e.g. by just looking
  at the memory locations in the polyhedral model. With our recent change
  to distinguish PHI and normal scalar memory, this may be possible.

http://reviews.llvm.org/D11556

Files:
  include/polly/CodeGen/BlockGenerators.h
  include/polly/CodeGen/IslNodeBuilder.h
  lib/CodeGen/BlockGenerators.cpp
  lib/CodeGen/IslNodeBuilder.cpp
  test/Isl/CodeGen/OpenMP/scalars-in-offloaded-section.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11556.30792.patch
Type: text/x-patch
Size: 22405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150728/4d81518d/attachment.bin>


More information about the llvm-commits mailing list