Skip to content

memory.copy: use nop reductions only for ignoreImplicitTraps - #3074

Merged
kripken merged 2 commits into
WebAssembly:masterfrom
MaxGraey:remove-fold-to-nop-memcopy
Aug 24, 2020
Merged

kripken merged 2 commits into
WebAssembly:masterfrom
MaxGraey:remove-fold-to-nop-memcopy

Conversation

@MaxGraey

@MaxGraey MaxGraey commented Aug 24, 2020 •

Copy link
Copy Markdown
Contributor

According to changes in spec:
WebAssembly/bulk-memory-operations#124
WebAssembly/bulk-memory-operations#145

we unfortunately can't fold to nop even for memory.copy(x, y, 0).

So this PR revert all reductions to nop but do this only under ignoreImplicitTraps flag

@MaxGraey MaxGraey changed the title memory.copy: remove folding to nop when size is zero memory.copy: use nop reductions only for ignoreImplicitTraps Aug 24, 2020
@kripken
kripken merged commit d2e2521 into WebAssembly:master Aug 24, 2020
@MaxGraey
MaxGraey deleted the remove-fold-to-nop-memcopy branch August 24, 2020 15:50
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