diff options
author | Tobias Grosser <tobias@grosser.es> | 2014-11-30 14:33:31 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2014-11-30 14:33:31 +0000 |
commit | 683b8e44627b7c64d623e29a5dd607df8f29f512 (patch) | |
tree | ce42511e12fc059dd20cab974edeacb209de54aa /polly/lib/CodeGen/IslCodeGeneration.cpp | |
parent | 65b2b03fa4ca6b15cce8b871e40d7bc9139ab9f4 (diff) | |
download | bcm5719-llvm-683b8e44627b7c64d623e29a5dd607df8f29f512.tar.gz bcm5719-llvm-683b8e44627b7c64d623e29a5dd607df8f29f512.zip |
Remove -polly-codegen-scev option and related code
SCEV based code generation has been the default for two weeks after having
been tested for a long time. We now drop the support the non-scev-based code
generation.
llvm-svn: 222978
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/IslCodeGeneration.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp index 5308da3c921..34043782e9b 100644 --- a/polly/lib/CodeGen/IslCodeGeneration.cpp +++ b/polly/lib/CodeGen/IslCodeGeneration.cpp @@ -751,15 +751,6 @@ void IslNodeBuilder::createSubstitutions(isl_ast_expr *Expr, ScopStmt *Stmt, V = ExprBuilder.create(SubExpr); ScalarEvolution *SE = Stmt->getParent()->getSE(); LTS[Stmt->getLoopForDimension(i)] = SE->getUnknown(V); - - // CreateIntCast can introduce trunc expressions. This is correct, as the - // result will always fit into the type of the original induction variable - // (because we calculate a value of the original induction variable). - const Value *OldIV = Stmt->getInductionVariableForDimension(i); - if (OldIV) { - V = Builder.CreateIntCast(V, OldIV->getType(), true); - VMap[OldIV] = V; - } } // Add the current ValueMap to our per-statement value map. |