From 5e50e114c684f882275cd33856ee374c7d44e562 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Mon, 13 Jan 2014 21:24:13 +0000 Subject: [PATCH] CodeGen: Remove some unnecessary braces git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199136 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGStmt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 83b5fa9228..cbdd2fb6f3 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -637,10 +637,9 @@ void CodeGenFunction::EmitDoStmt(const DoStmt &S) { 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()); -- 2.40.0