Stream: git-wasmtime

Topic: wasmtime / PR #5706 Generalize u/sextend constant folding...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 03 2023 at 23:53):

jameysharp requested cfallin for a review on PR #5706.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 03 2023 at 23:53):

jameysharp opened PR #5706 from cprop-extend to main:

Also move these optimization rules to cprop.isle; it's where all the other similar rules are.

Like the other cprop rules, these can subsume any other rules. We can't do better than reducing an expression to a constant.

The new i64_sextend_imm64 and u64_uextend_imm64 constructors are useful helpers to clean up other code. I applied them to imm64_icmp while I was here, as well as using the existing ty_mask helper to clean up imm64_masked.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2023 at 01:01):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2023 at 01:29):

jameysharp merged PR #5706.


Last updated: Nov 22 2024 at 16:03 UTC