summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/IslCodeGeneration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/IslCodeGeneration.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp
index 6190ac11a7e..a1defab536f 100644
--- a/polly/lib/CodeGen/IslCodeGeneration.cpp
+++ b/polly/lib/CodeGen/IslCodeGeneration.cpp
@@ -840,7 +840,9 @@ void IslNodeBuilder::createBlock(__isl_take isl_ast_node *Block) {
void IslNodeBuilder::create(__isl_take isl_ast_node *Node) {
switch (isl_ast_node_get_type(Node)) {
case isl_ast_node_error:
- llvm_unreachable("code generation error");
+ llvm_unreachable("code generation error");
+ case isl_ast_node_mark:
+ llvm_unreachable("Mark node unexpected");
case isl_ast_node_for:
createFor(Node);
return;
OpenPOWER on IntegriCloud