jameysharp requested cfallin for a review on PR #5706.
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_icmpwhile I was here, as well as using the existingty_maskhelper to clean upimm64_masked.
cfallin submitted PR review.
jameysharp merged PR #5706.
Last updated: Dec 13 2025 at 19:03 UTC