You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This LLVM uses add to add -4 to a symbol, but the Wasm, as I read it, has the $base as -4 and $offset as the symbol, this will not wrap whereas the semantic for LLVM add should wrap.
This LLVM uses add to add -4 to a symbol, but the Wasm, as I read it, has the $base as -4 and $offset as the symbol, this will not wrap whereas the semantic for LLVM add should wrap.
https://godbolt.org/z/6ETzMh11h
This LLVM uses
add
to add -4 to a symbol, but the Wasm, as I read it, has the $base as -4 and $offset as the symbol, this will not wrap whereas the semantic for LLVMadd
should wrap.Compiling with
O1
creates the correct Wasm:https://godbolt.org/z/5W8rEMs5q
The text was updated successfully, but these errors were encountered: