Saw division optimisations were added in #11129 - remember previously these were blocked as division wasn’t rewritten I believe due to possible side effects - interested in learning how this was now achieved !
Guess PR#10524 is a starting point?
Yes, Initial support was added in https://github.com/bytecodealliance/wasmtime/pull/10524 and there have been one or two follow up PRs adding rules since then. Don’t have those links handy but you should be able to just git log the cranelift/src/opts subdirectory since there hasn’t been too much other stuff in there recently
https://github.com/bytecodealliance/wasmtime/pull/11129 Was the PR for division specifically
Last updated: Dec 06 2025 at 07:03 UTC