Fix code format on r309826

Summary:
Fix code format on r309826 / D35458

Reviewers: grosser, bollu

Reviewed By: grosser

Subscribers: pollydev

Tags: #polly

Differential Revision: https://reviews.llvm.org/D36232

llvm-svn: 309845
This commit is contained in:
Singapuram Sanjay Srivallabh 2017-08-02 17:56:39 +00:00
parent a2e9d1716f
commit 1f9ab16c4e
2 changed files with 2 additions and 3 deletions

View File

@ -8,6 +8,6 @@ struct CodePreparationPass : public llvm::PassInfoMixin<CodePreparationPass> {
llvm::PreservedAnalyses run(llvm::Function &F,
llvm::FunctionAnalysisManager &FAM);
};
}
} // namespace polly
#endif /* POLLY_CODEPREPARATION_H */

View File

@ -234,7 +234,6 @@ void BlockGenerator::copyInstScalar(ScopStmt &Stmt, Instruction *Inst,
NewInst->replaceUsesOfWith(OldOperand, NewOperand);
}
Builder.Insert(NewInst);
BBMap[Inst] = NewInst;
@ -244,7 +243,7 @@ void BlockGenerator::copyInstScalar(ScopStmt &Stmt, Instruction *Inst,
// which will not be listed in llvm.dbg.cu of the Module since the Module
// doesn't contain one. This fails the verification of the Module and the
// subsequent generation of the ASM string.
if( NewInst->getModule() != Inst->getModule() )
if (NewInst->getModule() != Inst->getModule())
NewInst->setDebugLoc(llvm::DebugLoc());
if (!NewInst->getType()->isVoidTy())