Uh oh!
There was an error while loading. Please reload this page.
JIT: minor cleanups in RBO - #124759
Conversation
Fix comment and spelling issues, fix an incorrect jitdump arg, simplify a Boolean expression, consolidate a pair of visitors into one.
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
AndyAyersMS
commented
Feb 23, 2026
@EgorBo PTAL No diffs. I asked copilot to review the code and here are some things it found. I want it to enhance RBO to handle switches but haven't got any useful changes from it yet. |
There was a problem hiding this comment.
Pull request overview
This PR performs minor code quality improvements to the Redundant Branch Optimization (RBO) phase in the JIT compiler. The changes include fixing typos, correcting documentation, and simplifying code without affecting functionality.
Changes:
- Fixed incorrect jitdump argument reference from bbFalse to bbTrue
- Corrected spelling errors in comments ("domnating" → "dominating", "providced" → "provided", "staring" → "starting")
- Updated function header comments to accurately describe what the functions do
- Simplified a Boolean expression to be more idiomatic
- Consolidated duplicate lambda visitor code into a single implementation with conditional budget checking
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Fix comment and spelling issues, fix an incorrect jitdump arg, simplify a Boolean expression, consolidate a pair of visitors into one.
Fix comment and spelling issues, fix an incorrect jitdump arg, simplify a Boolean expression, consolidate a pair of visitors into one.