[PATCH] D48883: [Polly-ACC] Add isl_space.h to gpu_tree.c

Alain Denzler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 3 08:00:49 PDT 2018


alaindenzler created this revision.
alaindenzler added reviewers: grosser, bollu, philip.pfaffe.
Herald added subscribers: llvm-commits, kbarton, nemanjai.

This patch adds <isl_space.h> to gpu_tree.c. This prevents codegen-ppcg from segfaulting.

Inspired by Tobias Grosser & Siddhart, initially discovered by Philip Pfaffe.


Repository:
  rPLO Polly

https://reviews.llvm.org/D48883

Files:
  lib/External/ppcg/gpu_tree.c


Index: lib/External/ppcg/gpu_tree.c
===================================================================
--- lib/External/ppcg/gpu_tree.c
+++ lib/External/ppcg/gpu_tree.c
@@ -11,6 +11,7 @@
 
 #include <isl/set.h>
 #include <isl/union_set.h>
+#include <isl/space.h>
 
 #include "gpu_tree.h"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48883.153916.patch
Type: text/x-patch
Size: 291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180703/84caefc7/attachment.bin>


More information about the llvm-commits mailing list