Skip to content
Snippets Groups Projects
Commit 77ec8b8c authored by Aditya Kumar's avatar Aditya Kumar Committed by Sebastian Pop
Browse files

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.

Co-Authored-By: default avatarSebastian Pop <s.pop@samsung.com>

From-SVN: r229137
parent caf5b4df
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment