[polly] r309845 - Fix code format on r309826

Singapuram Sanjay Srivallabh via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 10:56:39 PDT 2017


Author: singam-sanjay
Date: Wed Aug  2 10:56:39 2017
New Revision: 309845

URL: http://llvm.org/viewvc/llvm-project?rev=309845&view=rev
Log:
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

Modified:
    polly/trunk/include/polly/CodePreparation.h
    polly/trunk/lib/CodeGen/BlockGenerators.cpp

Modified: polly/trunk/include/polly/CodePreparation.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodePreparation.h?rev=309845&r1=309844&r2=309845&view=diff
==============================================================================
--- polly/trunk/include/polly/CodePreparation.h (original)
+++ polly/trunk/include/polly/CodePreparation.h Wed Aug  2 10:56:39 2017
@@ -8,6 +8,6 @@ struct CodePreparationPass : public llvm
   llvm::PreservedAnalyses run(llvm::Function &F,
                               llvm::FunctionAnalysisManager &FAM);
 };
-}
+} // namespace polly
 
 #endif /* POLLY_CODEPREPARATION_H */

Modified: polly/trunk/lib/CodeGen/BlockGenerators.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/BlockGenerators.cpp?rev=309845&r1=309844&r2=309845&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/BlockGenerators.cpp (original)
+++ polly/trunk/lib/CodeGen/BlockGenerators.cpp Wed Aug  2 10:56:39 2017
@@ -234,7 +234,6 @@ void BlockGenerator::copyInstScalar(Scop
     NewInst->replaceUsesOfWith(OldOperand, NewOperand);
   }
 
-
   Builder.Insert(NewInst);
   BBMap[Inst] = NewInst;
 
@@ -244,7 +243,7 @@ void BlockGenerator::copyInstScalar(Scop
   // 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())




More information about the llvm-commits mailing list