r199136 - CodeGen: Remove some unnecessary braces

Justin Bogner mail at justinbogner.com
Mon Jan 13 13:24:14 PST 2014


Author: bogner
Date: Mon Jan 13 15:24:13 2014
New Revision: 199136

URL: http://llvm.org/viewvc/llvm-project?rev=199136&view=rev
Log:
CodeGen: Remove some unnecessary braces

Modified:
    cfe/trunk/lib/CodeGen/CGStmt.cpp

Modified: cfe/trunk/lib/CodeGen/CGStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmt.cpp?rev=199136&r1=199135&r2=199136&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmt.cpp Mon Jan 13 15:24:13 2014
@@ -637,10 +637,9 @@ void CodeGenFunction::EmitDoStmt(const D
   uint64_t ExitCount = Cnt.getLoopExitCount();
 
   // As long as the condition is true, iterate the loop.
-  if (EmitBoolCondBranch) {
+  if (EmitBoolCondBranch)
     Builder.CreateCondBr(BoolCondVal, LoopBody, LoopExit.getBlock(),
                          PGO.createBranchWeights(LoopCount, ExitCount));
-  }
 
   // Emit the exit block.
   EmitBlock(LoopExit.getBlock());





More information about the cfe-commits mailing list