[Polly-ACC] Add isl_space.h to gpu_tree.c
authorSiddharth Bhat <siddu.druid@gmail.com>
Wed, 4 Jul 2018 09:40:55 +0000 (09:40 +0000)
committerSiddharth Bhat <siddu.druid@gmail.com>
Wed, 4 Jul 2018 09:40:55 +0000 (09:40 +0000)
commit98a7a31d1ee21a2e9c2e07aeb836938336f86c79
tree183e017385ad5201a6a6d474ed269c13476fdaef
parentc3e1617bf95a83e51efeade79788eea9472d9377
[Polly-ACC] Add isl_space.h to gpu_tree.c

Summary:
This patch adds <isl_space.h> to gpu_tree.c. This prevents a segfault
when allocating a new isl_space in the function create_sync_domain(), as
the compiler now knows that the return type is a pointer instead of
assuming the function returns an int.

This has been updated in upstream PPCG, so we should bump up our PPCG
version.

Initially discovered by Philip Pfaffe in Polly.

Reviewers: grosser, bollu, philip.pfaffe

Reviewed By: bollu

Subscribers: nemanjai, kbarton, llvm-commits

Differential Revision: https://reviews.llvm.org/D48883

Contributed-by: Alain Denzler <alaindenzler@gmail.com>
llvm-svn: 336251
polly/lib/External/ppcg/gpu_tree.c