Remove the successor probabilities normalization in tail duplication pass.
[oota-llvm.git] / lib / CodeGen / TailDuplication.cpp
index 9bd15dd..1f5b548 100644 (file)
@@ -751,7 +751,6 @@ TailDuplicatePass::duplicateSimpleBB(MachineBasicBlock *TailBB,
     assert(NumSuccessors <= 1);
     if (NumSuccessors == 0 || *PredBB->succ_begin() != NewTarget)
       PredBB->addSuccessor(NewTarget, Prob);
-    PredBB->normalizeSuccProbs();
 
     TDBBs.push_back(PredBB);
   }