Fold math.fpowi using the base's own floating-point semantics via iterative square-and-multiply, matching the multiply sequence ExpandPowI builds in SelectionDAGBuilder. The prior pow/powf-based fold computed in float/double and rounded differently from the runtime expansion, disagreeing with x**n by ~1 ULP. |
||
|---|---|---|
| .. | ||
| algebraic-simplification.mlir | ||
| canonicalize.mlir | ||
| canonicalize_ipowi.mlir | ||
| depends-on-arith.mlir | ||
| expand-math.mlir | ||
| extend-to-supported-types-f16.mlir | ||
| extend-to-supported-types.mlir | ||
| ops.mlir | ||
| polynomial-approximation.mlir | ||
| sincos-fusion.mlir | ||
| uplift-to-fma.mlir | ||