diff options
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/CodeGeneration.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index d1b1709cafe..91da58c2fec 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -412,16 +412,6 @@ void ClastStmtCodeGen::codegen(const clast_assignment *A, ScopStmt *Stmt, if (VLTS) (*VLTS)[VectorDim][Stmt->getLoopForDimension(Dim)] = URHS; LoopToScev[Stmt->getLoopForDimension(Dim)] = URHS; - - const PHINode *PN = Stmt->getInductionVariableForDimension(Dim); - if (PN) { - RHS = Builder.CreateTruncOrBitCast(RHS, PN->getType()); - - if (VectorVMap) - (*VectorVMap)[VectorDim][PN] = RHS; - - ValueMap[PN] = RHS; - } } void ClastStmtCodeGen::codegenSubstitutions(const clast_stmt *Assignment, |