HF RL Explorer

Feature Request: Simplify IR by Removing Exponentiation Operations and Expanding in Parser

Feature Request: Simplify IR by Removing Exponentiation Operations and Expanding in Parser: a task in LegoFlow-SWE (Harbor dataset). The lowering must be optimal in the number of multiplications , using the well‑known square‑and‑multiply algorithm. This guarantees that the resulting IR will…

The task

The lowering must be **optimal in the number of multiplications**, using the well‑known square‑and‑multiply algorithm. This guarantees that the resulting IR will contain the minimal number of `Mul` nodes needed to compute the given exponent, avoiding an explosion of operations for large exponents.

Part of Lego-X/LegoFlow-SWE.