This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r229137 - in /trunk/gcc: ChangeLog graphite-isl...
- From: spop at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 21 Oct 2015 18:53:35 -0000
- Subject: r229137 - in /trunk/gcc: ChangeLog graphite-isl...
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