diff options
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/IslCodeGeneration.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp index 34043782e9b..9fc101db6e3 100644 --- a/polly/lib/CodeGen/IslCodeGeneration.cpp +++ b/polly/lib/CodeGen/IslCodeGeneration.cpp @@ -871,8 +871,7 @@ void IslNodeBuilder::addParameters(__isl_take isl_set *Context) { Value *IslNodeBuilder::generateSCEV(const SCEV *Expr) { Instruction *InsertLocation = --(Builder.GetInsertBlock()->end()); - return Rewriter->expandCodeFor(Expr, cast<IntegerType>(Expr->getType()), - InsertLocation); + return Rewriter->expandCodeFor(Expr, Expr->getType(), InsertLocation); } namespace { |