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

Do not precompute SIMDLoad #2409

Merged
merged 2 commits into from
Oct 30, 2019
Merged

Conversation

tlively
Copy link
Member

@tlively tlively commented Oct 30, 2019

This fixes a crash when programs containing load_splats are optimized.

This fixes a crash when programs containing load_splats are optimized.
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

This makes me wonder, we could simplify all this (separately from this PR) by calculating the Effects, and if it touches memory, not precompute it etc.

@tlively
Copy link
Member Author

tlively commented Oct 30, 2019

That's a good idea, but it wouldn't be a complete replacement. You would still need to add other non-precomputable things like function arguments. I'll add the precompute pass to the documentation for adding new instructions for now.

@tlively tlively merged commit 2a787cd into WebAssembly:master Oct 30, 2019
@tlively tlively deleted the precompute-simd-load branch November 6, 2019 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants