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

Moving the HAL module shims into iree/vm/. #5532

Merged
merged 3 commits into from
Apr 20, 2021
Merged

Conversation

benvanik
Copy link
Collaborator

These will be reused by the VMVX module. For now I moved the existing shims that emitc is using to prevent that from breaking until we can combine them.

These still need to be generated someday but for now this at least allows
us to share them with emitc, the HAL, and VMVX.
@benvanik benvanik added the runtime/vm IREE bytecode VM interpreter label Apr 20, 2021
@benvanik benvanik requested a review from marbre April 20, 2021 05:29
@google-cla google-cla bot added the cla: yes label Apr 20, 2021
@marbre
Copy link
Member

marbre commented Apr 20, 2021

Moving this is fine for me, but the pipeline tells the current state is broken. Will be glad to test if it works with EmitC enabled after the current issues (with the default build) are resolved.

Cleaning up iree/base/api.h is high on the list - it should be using
iree/base/attributes.h instead of defining its own.
@benvanik benvanik marked this pull request as ready for review April 20, 2021 15:17
@benvanik
Copy link
Collaborator Author

PTAL

Copy link
Member

@marbre marbre left a comment

Choose a reason for hiding this comment

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

All EmitC related tests pass with your changes applied :)

@benvanik benvanik merged commit 7deb25f into main Apr 20, 2021
@benvanik benvanik deleted the benvanik-swap-shims branch April 20, 2021 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runtime/vm IREE bytecode VM interpreter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants