mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
CodeGen: Remove some unnecessary braces
llvm-svn: 199136
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user