etherzhhb added inline comments. ================ Comment at: lib/External/isl/include/isl/ctx.h:164 @@ -163,2 +163,3 @@ void isl_ctx_free(isl_ctx *ctx); +void isl_ctx_free_if_no_ref(isl_ctx *ctx); ---------------- feel free to suggest a better name http://reviews.llvm.org/D17241