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 copy propagation within basic blocks to track constant
assignments that can be propagated to their uses, marking destination
variables with constant values when they receive assignments from
constants.
When processing OP_assign instructions with constant sources:
- Check that destination is non-global to avoid unsafe optimizations
- Mark destination variable as constant with is_const=true
- Copy the constant value to destination's init_val field
0 commit comments