Closed dylanmckay closed 7 years ago
I want to have this upstreamed and go through the normal LLVM review process. This PR is mostly for visibility.
This passes all tests in the LLVM suite. I will upstream now.
I think that this is okay to merge. It causes no regressions in our code or LLVMs test suite. Even if it didn't get upstreamed, it's still a better fix than the one we currently have.
Previously, when allocating unspillable live ranges, we would never attempt to split. We would always bail out and try last ditch graph recoloring.
This patch changes this by attempting to split all live intervals before performing recoloring.
This fixes issue #1