forked from OSchip/llvm-project
Assert in isl expression builder if id can not be found [NFC]
llvm-svn: 231865
This commit is contained in:
parent
6846b2661d
commit
3284f1975c
|
@ -587,6 +587,8 @@ Value *IslExprBuilder::createId(__isl_take isl_ast_expr *Expr) {
|
|||
|
||||
V = IDToValue[Id];
|
||||
|
||||
assert(V && "Unknown parameter id found");
|
||||
|
||||
isl_id_free(Id);
|
||||
isl_ast_expr_free(Expr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue