Fix the scheduler's MaxObservedStall computation.
authorAndrew Trick <atrick@apple.com>
Thu, 12 Jun 2014 22:36:28 +0000 (22:36 +0000)
committerAndrew Trick <atrick@apple.com>
Thu, 12 Jun 2014 22:36:28 +0000 (22:36 +0000)
commit796f114767007e0bf39d4ad8550701808af307bb
tree64faf962d1cbd4753340ee67e91b5ed0d08b5e94
parent4ecff11794c6d57cbb240fa5ee730dd1cd0e1b65
Fix the scheduler's MaxObservedStall computation.

WenHan Gu pointed out this bug that results in an assert
not being effective in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineScheduler.cpp