XLA add rewrite pass merges add into multiply
The author walks through building XLA from source and implementing a custom HLO compiler pass to rewrite integer additions into multiplications. The process highlights the mechanics of XLA's pass architecture, the shift to protected non-virtual interface patterns using RunImpl, and the challenges of fixed-point iteration loops and side-by-side pass registries. Open article →