Kmeakin opened PR #6219 from Kmeakin:select-transpose to bytecodealliance:main:
Rewrites operations on
selecttoselecton operations (egineg(select(cond, x, y)) => select(cond, ineg(x), ineg(y)). This transform is not obviously beneficial by itself, but it may expose more opportunities for other rewrite rules to trigger.I'm not sure I put the extractor/constructor definitions for
unop/binop/ternop` in the correct places. Let me know if I should move them somewhere else.
Kmeakin requested abrown for a review on PR #6219.
Kmeakin requested wasmtime-compiler-reviewers for a review on PR #6219.
Kmeakin edited PR #6219:
Rewrites operations on
selecttoselecton operations (egineg(select(cond, x, y)) => select(cond, ineg(x), ineg(y)). This transform is not obviously beneficial by itself, but it may expose more opportunities for other rewrite rules to trigger.I'm not sure I put the extractor/constructor definitions for
unop/binop/ternopin the correct places. Let me know if I should move them somewhere else.
Kmeakin updated PR #6219.
Kmeakin updated PR #6219.
Kmeakin closed without merge PR #6219.
Last updated: Dec 06 2025 at 06:05 UTC