Files
clang-p2996/mlir/lib/Dialect/Math
Asher Mancinelli 9ab2dea61e [mlir][math] powi with negative exponent should invert at the end (#135735)
Previously, an FPowI operation would invert the base *before* performing
a sequence of multiplications, but this led to discrepancies between
LLVM pow intrinsic folding and that coming from the math dialect.

See compiler-rt's version, which does the inverse at the end of the
calculation: compiler-rt/lib/builtins/powidf2.c
2025-04-15 08:02:11 -07:00
..