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
Implement trivial phi node elimination:
- Remove phi nodes where all operands are the same variable
- Replace with simple assignment (phi(x,x,x) = x)
- Fold phi nodes with all same constant values
- Convert to load_constant for compile-time evaluation
This optimization reduces unnecessary phi operations in
SSA form, improving both compile time and generated code
quality by eliminating redundant merge points.
0 commit comments