From bcf6129d65913d4f707839ca4e1146cc8b627a6e Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 22 Sep 2015 16:08:14 +0200 Subject: [PATCH] iscc: turn on --pet-encapsulate-dynamic-control by default If there is any dynamic control and this option is turned off, then the instance set returned by parse_file has all the "filters" projected out. This instance set is therefore not really useful. At least with the option turned on, it is possible to perform some meaningful computations. Signed-off-by: Sven Verdoolaege --- iscc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iscc.c b/iscc.c index 1a6d028..89c0609 100644 --- a/iscc.c +++ b/iscc.c @@ -71,6 +71,10 @@ int pet_options_set_autodetect(isl_ctx *ctx, int val) { return -1; } +int pet_options_set_encapsulate_dynamic_control(isl_ctx *ctx, int val) +{ + return -1; +} #endif static int iscc_bool_false = 0; @@ -2760,6 +2764,7 @@ int main(int argc, char **argv) ctx = isl_ctx_alloc_with_options(&iscc_options_args, options); pet_options_set_autodetect(ctx, 1); + pet_options_set_encapsulate_dynamic_control(ctx, 1); argc = isl_ctx_parse_options(ctx, argc, argv, ISL_ARG_ALL); s = isl_stream_new_file(ctx, stdin); assert(s); -- 2.11.4.GIT