diff options
-rw-r--r-- | llvm/lib/CodeGen/MachineSink.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineSink.cpp b/llvm/lib/CodeGen/MachineSink.cpp index 9ec5151..7b331b0 100644 --- a/llvm/lib/CodeGen/MachineSink.cpp +++ b/llvm/lib/CodeGen/MachineSink.cpp @@ -1062,10 +1062,10 @@ bool MachineSinking::isWorthBreakingCriticalEdge( } } - if (From->isSuccessor(To) && - MBPI->getEdgeProbability(From, To) <= - BranchProbability(SplitEdgeProbabilityThreshold, 100)) - return true; + // if (From->isSuccessor(To) && + // MBPI->getEdgeProbability(From, To) <= + // BranchProbability(SplitEdgeProbabilityThreshold, 100)) + // return true; // MI is cheap, we probably don't want to break the critical edge for it. // However, if this would allow some definitions of its source operands |