Rewrite "select" operand #5973
Unanswered
alexsokolsky
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Here is code that does the opposite ( binaryen/src/passes/RemoveUnusedBrs.cpp Line 1247 in 4f1295a And here is code that turns an binaryen/src/passes/OptimizeInstructions.cpp Line 3082 in 4f1295a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found a bug in one of the webassembly implementations. As a workaround I need to replace certain "select" operands with "if" operands.
Is there a snippet somewhere that does this (assuming the branches contain side effects) ?
Beta Was this translation helpful? Give feedback.
All reactions