tree.def (POLYNOMIAL_CHREC): Remove CHREC_VARIABLE tree operand.
authorRichard Biener <rguenther@suse.de>
Wed, 11 Oct 2017 13:18:46 +0000 (13:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 Oct 2017 13:18:46 +0000 (13:18 +0000)
commitd2ec027749d7fcce502b2edf6667999efb4e05e6
tree1f7df19f00d7907c8969115d87abfaa9bf8a929f
parent6358a676c3eb4c6df013ce8319bcf429cd14232b
tree.def (POLYNOMIAL_CHREC): Remove CHREC_VARIABLE tree operand.

2017-10-11  Richard Biener  <rguenther@suse.de>

* tree.def (POLYNOMIAL_CHREC): Remove CHREC_VARIABLE tree operand.
* tree-core.h (tree_base): Add chrec_var union member.
* tree.h (CHREC_VAR): Remove.
(CHREC_LEFT, CHREC_RIGHT, CHREC_VARIABLE): Adjust.
* tree-chrec.h (build_polynomial_chrec): Adjust.
* tree-chrec.c (reset_evolution_in_loop): Use build_polynomial_chrec.
* tree-pretty-print.c (dump_generic_node): Use CHREC_VARIABLE.

From-SVN: r253643
gcc/ChangeLog
gcc/tree-chrec.c
gcc/tree-chrec.h
gcc/tree-core.h
gcc/tree-pretty-print.c
gcc/tree.def
gcc/tree.h