forked from OSchip/llvm-project
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:
parent
a2e9d1716f
commit
1f9ab16c4e
|
@ -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 */
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue