diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp --- a/polly/lib/CodeGen/IslNodeBuilder.cpp +++ b/polly/lib/CodeGen/IslNodeBuilder.cpp @@ -476,7 +476,7 @@ IVS[i] = Builder.CreateAdd(IVS[i - 1], ValueInc, "p_vector_iv"); isl::union_map Schedule = getScheduleForAstNode(isl::manage_copy(For)); - assert(!Schedule.is_null() && + assert(Schedule.get() && "For statement annotation does not contain its schedule"); IDToValue[IteratorID] = ValueLB;