Fix compilation in 'asserts' mode

llvm-svn: 278025
This commit is contained in:
Tobias Grosser 2016-08-08 17:35:52 +00:00
parent 84df6be883
commit fa9abd1f03
1 changed files with 1 additions and 1 deletions

View File

@ -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(),