OSDN Git Service

Add InEdges (edges from header to the loop) in Loop Branch Heuristics, so
authorJakub Staszak <jstaszak@apple.com>
Thu, 28 Jul 2011 21:33:46 +0000 (21:33 +0000)
committerJakub Staszak <jstaszak@apple.com>
Thu, 28 Jul 2011 21:33:46 +0000 (21:33 +0000)
commitfa44725233aa622b61942ec099b1c46806140b72
tree2b665c0361336a5f0262a8eab30d3a4d434aa645
parent1ddaa9c1c684bd46102300e5c680dfa767a88214
Add InEdges (edges from header to the loop) in Loop Branch Heuristics, so
there is no frequency difference whether condition is in the header or in
the latch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136398 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BranchProbabilityInfo.cpp