2017-02-16 Richard Biener <rguenther@suse.de>
commit7354e337862361825610505ec4d8e96be481b231
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2017 07:53:53 +0000 (16 07:53 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2017 07:53:53 +0000 (16 07:53 +0000)
tree36c76e273c9bed8a827d4ee9eb7843e603f726de
parentb066c8cd357ed3d09f15ac376931ad87899722db
2017-02-16  Richard Biener  <rguenther@suse.de>

* graphite.h: Do not include isl/isl_val_gmp.h, instead include
isl/isl_val.h.
* graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): Remove.
(gcc_expression_from_isl_expr_int): Use generic isl_val interface.
* graphite-sese-to-poly.c: Do not include isl/isl_val_gmp.h.
(isl_val_int_from_wi): New function.
(extract_affine_gmp): Rename to ...
(extract_affine_wi): ... this, take a widest_int.
(extract_affine_int): Just wrap extract_affine_wi.
(add_param_constraints): Use isl_val_int_from_wi.
(add_loop_constraints): Likewise, and extract_affine_wi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245501 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c
gcc/graphite-sese-to-poly.c
gcc/graphite.h