]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Pull in r219512 from upstream llvm trunk (by Hal Finkel):
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 13 Mar 2016 18:32:18 +0000 (18:32 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 13 Mar 2016 18:32:18 +0000 (18:32 +0000)
commit4dbf6c45a8dd1b29fa7f8f8505ad05eb5f9c0585
tree34f4d3457caf35c75223e0d24baed659e5c99f4a
parent01d48f538eee4b986387f71360b0de72993eaac5
Pull in r219512 from upstream llvm trunk (by Hal Finkel):

  [MiSched] Fix a logic error in tryPressure()

  Fixes a logic error in the MachineScheduler found by Steve Montgomery
  (and confirmed by Andy). This has gone unfixed for months because the
  fix has been found to introduce some small performance regressions.
  However, Andy has recommended that, at this point, we fix this to
  avoid further dependence on the incorrect behavior (and then
  follow-up separately on any regressions), and I agree.

  Fixes PR18883.

This fixes a possible "ran out of registers" error when compiling
www/firefox 45.0 on i386.

Direct commit to stable/9, because head already has this fix since the
llvm/clang 3.6.0 import.

PR: 207837

git-svn-id: svn://svn.freebsd.org/base/stable/9@296801 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/lib/CodeGen/MachineScheduler.cpp