r229137 - in /trunk/gcc: ChangeLog graphite-isl...

spop@gcc.gnu.org spop@gcc.gnu.org
Wed Oct 21 18:53:00 GMT 2015


Author: spop
Date: Wed Oct 21 18:53:35 2015
New Revision: 229137

URL: https://gcc.gnu.org/viewcvs?rev=229137&root=gcc&view=rev
Log:
avoid generation of empty guards in trivial cases

We used to insert a trivial integer_onep condition around loops we know have
more than an iteration.  This patch avoids generating those conditions.

	* graphite-isl-ast-to-gimple.c (graphite_create_new_loop_guard): Do not call
	create_empty_if_region_on_edge when cond_expr is true.
	(translate_isl_ast_node_for): Check whether a guard has been generated.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-isl-ast-to-gimple.c



More information about the Gcc-cvs mailing list