Kmeakin opened PR #6219 from Kmeakin:select-transpose
to bytecodealliance:main
:
Rewrites operations on
select
toselect
on 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
select
toselect
on 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 updated PR #6219.
Kmeakin updated PR #6219.
Kmeakin closed without merge PR #6219.
Last updated: Nov 22 2024 at 17:03 UTC