Skip to content

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

Merged
benvanik merged 3 commits into
mainfrom
benvanik-swap-shims
Apr 20, 2021
Merged

benvanik merged 3 commits into
mainfrom
benvanik-swap-shims

Conversation

@benvanik

Copy link
Copy Markdown
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

marbre commented Apr 20, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
Collaborator Author

PTAL

@marbre marbre left a comment

Copy link
Copy Markdown
Member

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