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)
commit491e34a13936940df420e6d1b5308626283bd4cc
treef6fb088c030eda8bb9f5a30b4b64a698948218e3
parentf55a224920faf87507f38b5486fc74a8e8500daf
Fix the scheduler's MaxObservedStall computation.

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

llvm-svn: 210846
llvm/lib/CodeGen/MachineScheduler.cpp