Skip to content

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