summaryrefslogtreecommitdiffstats
path: root/polly/lib
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-03-10 22:35:43 +0000
committerTobias Grosser <tobias@grosser.es>2015-03-10 22:35:43 +0000
commit3284f1975c489548c701ae1c91f5382c75e87153 (patch)
tree39d614d37e30d5d6ecd4945314e372a99e6ca61a /polly/lib
parent6846b2661dc0cbfd7ae9db03816edc52280dfc4c (diff)
downloadbcm5719-llvm-3284f1975c489548c701ae1c91f5382c75e87153.tar.gz
bcm5719-llvm-3284f1975c489548c701ae1c91f5382c75e87153.zip
Assert in isl expression builder if id can not be found [NFC]
llvm-svn: 231865
Diffstat (limited to 'polly/lib')
-rw-r--r--polly/lib/CodeGen/IslExprBuilder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/IslExprBuilder.cpp b/polly/lib/CodeGen/IslExprBuilder.cpp
index c749b2d8de5..089cac03245 100644
--- a/polly/lib/CodeGen/IslExprBuilder.cpp
+++ b/polly/lib/CodeGen/IslExprBuilder.cpp
@@ -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);
OpenPOWER on IntegriCloud