fitzgen opened PR #15329 from fitzgen:critical-edge-cold-pred to bytecodealliance:main:
They already inherited coldness from their successor, but this commit makes them also inherit it from their predecessor. If either is cold, then that implies that the critical-edge block is also cold.
This improves code quality by better falling though hot paths and better register allocation after https://github.com/bytecodealliance/regalloc2/pull/279 lands.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
fitzgen removed the review request for wasmtime-compiler-reviewers from PR #15329.
fitzgen requested wasmtime-compiler-reviewers for a review on PR #15329.
fitzgen requested alexcrichton for a review on PR #15329.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #15329.
alexcrichton added PR #15329 Cranelift: make critical-edge blocks inherit coldness from predecessors to the merge queue.
:check: alexcrichton merged PR #15329.
alexcrichton removed PR #15329 Cranelift: make critical-edge blocks inherit coldness from predecessors from the merge queue.
Last updated: Nov 19 2026 at 20:05 UTC