[PATCH] D36243: [GPGPU] Make sure that all parameter dimensions are set in schedule
Tobias Grosser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 2 14:42:36 PDT 2017
grosser created this revision.
grosser added a project: Polly.
Herald added subscribers: kbarton, nemanjai.
In case the option -polly-ignore-parameter-bounds is set, not all parameters
will be added to context and domains. This is useful to keep the size of the
sets and maps we work with small. Unfortunately, for AST generation it is
necessary to ensure all parameters are part of the schedule tree. Hence,
we modify the GPGPU code generation to make sure this is the case.
To obtain the necessary information we expose a new function
Scop::getFullParamSpace(). We also make a couple of functions const to be
able to make SCoP::getFullParamSpace() const.
https://reviews.llvm.org/D36243
Files:
include/polly/ScopInfo.h
lib/Analysis/ScopInfo.cpp
lib/CodeGen/PPCGCodeGeneration.cpp
test/GPGPU/align-params-in-schedule.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36243.109435.patch
Type: text/x-patch
Size: 8215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170802/c0537558/attachment.bin>
More information about the llvm-commits
mailing list