Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove heaps from core Cranelift, push them into cranelift-wasm #5386

Merged
merged 42 commits into from
Dec 15, 2022

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Dec 6, 2022

Still need to port filetests that use heaps over to a new thing, which I need to build and will land as a PR before this one.

Fixes #5283

@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:aarch64 Issues related to AArch64 backend. cranelift:area:x64 Issues related to x64 codegen cranelift:docs cranelift:meta Everything related to the meta-language. labels Dec 6, 2022
@fitzgen fitzgen marked this pull request as ready for review December 13, 2022 20:10
@fitzgen fitzgen requested a review from cfallin December 13, 2022 20:10
@fitzgen
Copy link
Member Author

fitzgen commented Dec 13, 2022

@cfallin I think this is ready for review! Sorry it got a bit big, probably best to go through commit by commit.

Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

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

This is great -- thanks for the careful and methodical work here and especially the attention to the testing! A few thoughts below but no showstoppers. r=me with comments addressed

cranelift/docs/ir.md Show resolved Hide resolved
cranelift/wasm/src/code_translator.rs Show resolved Hide resolved
cranelift/wasm/src/code_translator.rs Outdated Show resolved Hide resolved
cranelift/wasm/src/environ/spec.rs Show resolved Hide resolved
@fitzgen fitzgen merged commit c0b587a into bytecodealliance:main Dec 15, 2022
@fitzgen fitzgen deleted the no-heaps-in-clif branch December 15, 2022 03:42
afonso360 added a commit to afonso360/wasmtime that referenced this pull request Jun 28, 2023
This is a leftover from bytecodealliance#3302 where we used to inject a special `vmctx`
struct if the test requested it. We've removed that capability in bytecodealliance#5386
but accidentally left this in, which caused some weird handling of these
test invocations.
github-merge-queue bot pushed a commit that referenced this pull request Jun 28, 2023
This is a leftover from #3302 where we used to inject a special `vmctx`
struct if the test requested it. We've removed that capability in #5386
but accidentally left this in, which caused some weird handling of these
test invocations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:aarch64 Issues related to AArch64 backend. cranelift:area:x64 Issues related to x64 codegen cranelift:docs cranelift:meta Everything related to the meta-language. cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cranelift: reconsider the heap_addr instruction
5 participants