julia
e77a08f8 - interpreter: Skip the phi-node scan after most statements

Commit
2 hours ago
interpreter: Skip the phi-node scan after most statements After every statement the interpreter called eval_phi, which scans the statements from the next one onwards for a phi block. A statement that is an expression, a branch, a return, a PhiC, an Upsilon or an SSA value ends that scan before it finds anything, and almost every statement in lowered code is one of these. Checking for them inline before calling eval_phi saves the call. On simple interpreted loops this cuts the instructions per iteration by 3.6-5.1% and the cycles by 3.1-5.2%. Assisted-by: Claude Code (Opus 5.5)
Committer
Parents
Loading