Ian Wood 630b9570d1
[mlir][math] Add constant folding for math.rsqrt (#184443)
Add a fold() method to RsqrtOp, matching the pattern used by SqrtOp and
other math unary ops. The fold computes `1.0 / sqrt(x)` using APFloat
division.

---------

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
2026-03-03 15:50:10 -08:00
..