isl_ast_build_expr.c: mod_constraint_is_simpler: extract out is_simpler
commite222ca0e7bc33b221a792aaf0047a7f6acf7919a
authorSven Verdoolaege <sven@cerebras.net>
Thu, 1 Jun 2023 09:28:43 +0000 (1 11:28 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Sun, 6 Aug 2023 12:43:25 +0000 (6 14:43 +0200)
tree0bffaff4109d659458742c7f2ab2db624d00484d
parent947a62b2cc53166db250a9d6c628f85f0f10a526
isl_ast_build_expr.c: mod_constraint_is_simpler: extract out is_simpler

The extracted function will be reused in the next commit.
The callback function takes both an isl_extract_mod_data and
a user pointer because the next commit will use
the isl_extract_mod_data.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
isl_ast_build_expr.c