From: Tobias Grosser Date: Mon, 8 Aug 2016 17:35:52 +0000 (+0000) Subject: Fix compilation in 'asserts' mode X-Git-Tag: llvmorg-4.0.0-rc1~13047 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa9abd1f03c74e172c3de5899b4d889228588225;p=platform%2Fupstream%2Fllvm.git Fix compilation in 'asserts' mode llvm-svn: 278025 --- diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp index 3c926fe..cfd7b53 100644 --- a/polly/lib/CodeGen/IslNodeBuilder.cpp +++ b/polly/lib/CodeGen/IslNodeBuilder.cpp @@ -1233,7 +1233,7 @@ Value *IslNodeBuilder::generateSCEV(const SCEV *Expr) { /// We also do not need to update the Builder here, as new instructions are /// always inserted _before_ the given InsertLocation. As a result, the /// insert location remains valid. - assert(Builder.GetInsertBlock()->end() != Builder.getInsertPoint() && + assert(Builder.GetInsertBlock()->end() != Builder.GetInsertPoint() && "Insert location points after last valid instruction"); Instruction *InsertLocation = &*Builder.GetInsertPoint(); return expandCodeFor(S, SE, DL, "polly", Expr, Expr->getType(),