From f92c76138b4a5f5b129481808960a7b89c68d2e5 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 24 Apr 2014 14:50:05 +0200 Subject: [PATCH] scop.c: restrict_skip: update documentation to change in pet_scop_restrict Commit 1bcd2f8 (pet_scop_from_pet_tree: extract pet_scop from the root down to the leaves, Wed Jan 1 14:32:37 2014 +0100) changed the way pet_scop_restrict operates, but the comment on restrict_skip still referred to the original operation. Signed-off-by: Sven Verdoolaege --- scop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scop.c b/scop.c index 5fc4d2a..56cf5d9 100644 --- a/scop.c +++ b/scop.c @@ -935,7 +935,8 @@ error: * That is, make sure "scop" is not executed when the condition holds. * * If "skip" is an affine expression, we add the conditions under - * which the expression is zero to the iteration domains. + * which the expression is zero to the context and the skip conditions + * of "scop". * Otherwise, we add a filter on the variable attaining the value zero. */ static struct pet_scop *restrict_skip(struct pet_scop *scop, -- 2.11.4.GIT