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
Extend constant folding to support comparison operators (==, \!=, <, <=,
>, >=) in addition to existing arithmetic and bitwise operations. This
enables compile-time evaluation of constant comparisons, reducing code
size and improving optimization opportunities for control flow.
The enhancement integrates seamlessly with existing SSA optimizations
including copy propagation, redundant load elimination, and dead store
elimination. All operations with constant operands are now folded at
compile time.
0 commit comments