[PATCH] D22036: Add accelerator code generation pass sceleton

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 00:49:19 PDT 2016


grosser created this revision.
grosser added reviewers: jdoerfert, Meinersbur, sebpop, etherzhhb, zinob, hiraditya, gareevroman.
grosser added subscribers: llvm-commits, pollydev.
Herald added subscribers: nemanjai, sanjoy.

Add a new pass to serve as basis for automatic accelerator mapping in Polly.
The pass structure and the analyses preserved are copied from
CodeGeneration.cpp, as we will rely on IslNodeBuilder and IslExprBuilder for
LLVM-IR code generation.

Polly's accelerator code generation is enabled with -polly-acc.

I would like to use this commit as opportunity to thank Yabin Hu for his work in
the context of two Google summer of code projects during which he implemented
initial prototypes of the Polly accelerator code generation -- in parts this
code is already available in todays Polly (e.g., tools/GPURuntime). More will
come as part of the upcoming Polly ACC changes.

http://reviews.llvm.org/D22036

Files:
  include/polly/LinkAllPasses.h
  lib/CMakeLists.txt
  lib/CodeGen/PPCGCodeGeneration.cpp
  lib/Support/RegisterPasses.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22036.62829.patch
Type: text/x-patch
Size: 6794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160706/4f78cf89/attachment.bin>


More information about the llvm-commits mailing list