Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

WIP: [RegAllocGreedy] Attempt to split unspillable live intervals #224

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

dylanmckay
Copy link
Member

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

@dylanmckay dylanmckay changed the title [RegAllocGreedy] Attempt to split unspillable live intervals WIP: [RegAllocGreedy] Attempt to split unspillable live intervals Sep 29, 2016
@dylanmckay
Copy link
Member Author

I want to have this upstreamed and go through the normal LLVM review process. This PR is mostly for visibility.

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.
@dylanmckay
Copy link
Member Author

This passes all tests in the LLVM suite. I will upstream now.

@dylanmckay
Copy link
Member Author

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.

@dylanmckay dylanmckay merged commit e9d48fc into avr-support Sep 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant