Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Make the new Cranelift x64 backend the default. #646

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

cfallin
Copy link
Member

@cfallin cfallin commented Mar 3, 2021

After sufficient testing, we're confident that the new x64 backend does
not have any correctness issues relative to the old backend; and because
it generates better code, we would like to switch the default. This PR
will cause lucetc to use the new backend by default. Building lucetc
with the old-x64-backend Cargo feature will swap the old backend in
again. This PR also removes the separate new-backend CI tests.

@cfallin cfallin requested a review from pchickey March 3, 2021 18:32
@pchickey
Copy link
Contributor

pchickey commented Mar 3, 2021

Can we keep the old backend testing in CI for a little while longer? Instead of deleting the new-backend CI jobs we can change them to be old-backend.

After sufficient testing, we're confident that the new x64 backend does
not have any correctness issues relative to the old backend; and because
it generates better code, we would like to switch the default. This PR
will cause `lucetc` to use the new backend by default. Building `lucetc`
with the `old-x64-backend` Cargo feature will swap the old backend in
again. This PR also modifies the new-backend CI tests to test the old
backend instead (to ensure that it keeps working as an alternative,
at least for a while).
@cfallin cfallin force-pushed the cfallin/new-backend-default branch from d39dd1e to fab6e75 Compare March 3, 2021 18:43
@cfallin
Copy link
Member Author

cfallin commented Mar 3, 2021

Can we keep the old backend testing in CI for a little while longer? Instead of deleting the new-backend CI jobs we can change them to be old-backend.

Yes, for sure, that makes sense! Updated.

Copy link
Contributor

@pchickey pchickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@cfallin cfallin merged commit fb52d58 into main Mar 3, 2021
@cfallin cfallin deleted the cfallin/new-backend-default branch March 3, 2021 20:01
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.

2 participants