From 010320783fa47d3a4f9058509872998b94f7fa07 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 31 Jul 2014 09:07:35 +0200 Subject: [PATCH] isl_ast_codegen.c: remove remnants of code removed before inclusion The AST generation code has undergone many changes before it was included in the master branch in 5888ac1 (add support for generating ASTs from schedule relations, Mon Sep 17 22:11:06 2012 +0200). Some references to old code got left in by mistake. We already removed similar comments from isl_ast_build_expr.c in 19609c1 (isl_ast_build_expr.c: remove remnants of code removed before inclusion, Sat Sep 29 11:11:19 2012 +0200). Signed-off-by: Sven Verdoolaege --- isl_ast_codegen.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/isl_ast_codegen.c b/isl_ast_codegen.c index eb25c691..696cfe2f 100644 --- a/isl_ast_codegen.c +++ b/isl_ast_codegen.c @@ -642,8 +642,7 @@ static __isl_give isl_ast_graft *refine_eliminated( * value attained by the current dimension. * The increment and condition are not strictly needed as the are known * to be "1" and "iterator <= value" respectively. - * Then we set the size of the iterator and - * check if "bounds" imply any guards that need to be inserted. + * Then we check if "bounds" imply any guards that need to be inserted. */ static __isl_give isl_ast_graft *refine_degenerate( __isl_take isl_ast_graft *graft, __isl_keep isl_basic_set *bounds, @@ -978,7 +977,6 @@ static int use_upper_bound_list(isl_ctx *ctx, int n_upper, * * In particular, * - set the initialization part of the loop to the maximum of the lower bounds - * - set the size of the iterator based on the values attained by the iterator * - extract the increment from the stride of the current dimension * - construct the for condition either based on a list of upper bounds * or on a set of upper bound constraints. -- 2.11.4.GIT