[polly] r231865 - Assert in isl expression builder if id can not be found [NFC]
Tobias Grosser
tobias at grosser.es
Tue Mar 10 15:35:44 PDT 2015
Author: grosser
Date: Tue Mar 10 17:35:43 2015
New Revision: 231865
URL: http://llvm.org/viewvc/llvm-project?rev=231865&view=rev
Log:
Assert in isl expression builder if id can not be found [NFC]
Modified:
polly/trunk/lib/CodeGen/IslExprBuilder.cpp
Modified: polly/trunk/lib/CodeGen/IslExprBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslExprBuilder.cpp?rev=231865&r1=231864&r2=231865&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslExprBuilder.cpp (original)
+++ polly/trunk/lib/CodeGen/IslExprBuilder.cpp Tue Mar 10 17:35:43 2015
@@ -587,6 +587,8 @@ Value *IslExprBuilder::createId(__isl_ta
V = IDToValue[Id];
+ assert(V && "Unknown parameter id found");
+
isl_id_free(Id);
isl_ast_expr_free(Expr);
More information about the llvm-commits
mailing list