projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1515cee
)
isl_basic_set_solve_ilp: handle obviously empty sets
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 21 Oct 2009 12:41:31 +0000
(14:41 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 21 Oct 2009 20:58:47 +0000
(22:58 +0200)
isl_ilp.c
patch
|
blob
|
history
diff --git
a/isl_ilp.c
b/isl_ilp.c
index
15110c1
..
0d57d6e
100644
(file)
--- a/
isl_ilp.c
+++ b/
isl_ilp.c
@@
-298,6
+298,9
@@
enum isl_lp_result isl_basic_set_solve_ilp(struct isl_basic_set *bset, int max,
isl_assert(bset->ctx, isl_basic_set_n_param(bset) == 0, goto error);
+ if (isl_basic_set_fast_is_empty(bset))
+ return isl_lp_empty;
+
if (bset->n_eq)
return solve_ilp_with_eq(bset, max, f, opt, sol_p);