HomeFreeBSD

Pull in r219512 from upstream llvm trunk (by Hal Finkel):

Description

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

Details

Provenance
dimAuthored on
Parents
rS296800: Pull in r219512 from upstream llvm trunk (by Hal Finkel):
Branches
Unknown
Tags
Unknown