Commit | Line | Data |
---|---|---|
4f6c1ba9 KS |
1 | From 114e4e9470260a839d55aad2421fb646af12697b Mon Sep 17 00:00:00 2001 |
2 | From: Paul Beeler <pbeeler80@gmail.com> | |
3 | Date: Mon, 11 May 2015 22:27:25 -0600 | |
4 | Subject: [PATCH] Graphite: Add missing isl headers | |
5 | ||
6 | Signed-off-by: Paul Beeler <pbeeler80@gmail.com> | |
7 | # Patch modified from original source | |
8 | # https://github.com/SaberMod/GCC_SaberMod/commit/114e4e9470260a839d55aad2421fb646af12697b.patch | |
9 | --- | |
10 | gcc/graphite-isl-ast-to-gimple.c | 1 + | |
11 | gcc/graphite-optimize-isl.c | 1 + | |
12 | gcc/graphite-poly.h | 6 ++++++ | |
13 | 3 files changed, 8 insertions(+), 2 deletions(-) | |
14 | ||
15 | --- a/gcc/graphite-isl-ast-to-gimple.c | |
16 | +++ b/gcc/graphite-isl-ast-to-gimple.c | |
17 | @@ -21,9 +21,10 @@ along with GCC; see the file COPYING3. If not see | |
18 | #include "config.h" | |
19 | ||
20 | #ifdef HAVE_isl | |
21 | +#include <isl/id.h> | |
22 | #include <isl/constraint.h> | |
23 | #include <isl/set.h> | |
24 | #include <isl/union_set.h> | |
25 | #include <isl/map.h> | |
26 | #include <isl/union_map.h> | |
27 | #include <isl/ast_build.h> | |
28 | ||
29 | /* Since ISL-0.13, the extern is in val_gmp.h. */ | |
30 | diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c | |
31 | index 8bdf7443018..d602e672ca8 100644 | |
32 | --- a/gcc/graphite-optimize-isl.c | |
33 | +++ b/gcc/graphite-optimize-isl.c | |
34 | @@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see | |
35 | #include <isl/band.h> | |
36 | #include <isl/aff.h> | |
37 | #include <isl/options.h> | |
38 | +#include <isl/union_set.h> | |
39 | #endif | |
40 | ||
41 | #include "system.h" | |
42 | diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h | |
43 | index afc0121f611..06d91faa1ba 100644 | |
44 | --- a/gcc/graphite-poly.h | |
45 | +++ b/gcc/graphite-poly.h | |
46 | @@ -22,6 +22,13 @@ along with GCC; see the file COPYING3. If not see | |
47 | #ifndef GCC_GRAPHITE_POLY_H | |
48 | #define GCC_GRAPHITE_POLY_H | |
49 | ||
50 | +#ifdef HAVE_isl | |
51 | +#include <isl/constraint.h> | |
52 | +#include <isl/set.h> | |
53 | +#include <isl/space.h> | |
54 | +#include <isl/map.h> | |
55 | +#endif | |
56 | + | |
57 | typedef struct poly_dr *poly_dr_p; | |
58 | ||
59 | typedef struct poly_bb *poly_bb_p; |