You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve liveness analysis by combining traversal passes
This reduces the number of basic block traversals in liveness_analysis()
from two to one by combining bb_reset_live_kill_idx and bb_solve_locals
into a single bb_reset_and_solve_locals() function.
- Eliminates one complete CFG traversal per function
- Reduces function call overhead from repeated traversals
- Improves cache locality by visiting each basic block once
It results in 10% reduction in total traversal calls during compilation.
0 commit comments