Skip to content
  • Chandler Carruth's avatar
    Reuse the logic in getEdgeProbability within getHotSucc in order to · a9e71faa
    Chandler Carruth authored
    correctly handle blocks whose successor weights sum to more than
    UINT32_MAX. This is slightly less efficient, but the entire thing is
    already linear on the number of successors. Calling it within any hot
    routine is a mistake, and indeed no one is calling it. It also
    simplifies the code.
    
    llvm-svn: 144527
    a9e71faa
Loading