doit-man
doit-man
Sorry, I fix wasm code. If first argument (%cond) is 1, second argument is 0 , %cond is zero-extended to still 1 and result is 0 - 1 = -1...
Thank you for your answer. I have reviewed some past issues and gained an understanding of the current situation. https://github.com/AssemblyScript/assemblyscript/issues/38 https://github.com/rustwasm/team/issues/88 My problem is as follows. When trying to import...
I think this is a miscompiled bug. ``` define i32 @foo(i1 signext noundef %cond, i32 noundef %y) { %e = zext i1 %cond to i32 %r = sub i32 %y,...
We are discussing this issue in https://discourse.llvm.org/t/there-seems-to-be-a-issue-with-optimization-to-wasm/71697 now.
Thx a lot! Fix pushed: 7388b7422f9307dd5ae3fe3876a676d83d702daf