Index: polly/trunk/include/polly/CodePreparation.h =================================================================== --- polly/trunk/include/polly/CodePreparation.h +++ polly/trunk/include/polly/CodePreparation.h @@ -8,6 +8,6 @@ llvm::PreservedAnalyses run(llvm::Function &F, llvm::FunctionAnalysisManager &FAM); }; -} +} // namespace polly #endif /* POLLY_CODEPREPARATION_H */ Index: polly/trunk/lib/CodeGen/BlockGenerators.cpp =================================================================== --- polly/trunk/lib/CodeGen/BlockGenerators.cpp +++ polly/trunk/lib/CodeGen/BlockGenerators.cpp @@ -234,7 +234,6 @@ NewInst->replaceUsesOfWith(OldOperand, NewOperand); } - Builder.Insert(NewInst); BBMap[Inst] = NewInst; @@ -244,7 +243,7 @@ // 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())