[all-commits] [llvm/llvm-project] 14a126: [mlir][tosa] Remove `log(exp(x))` and `exp(log(x))...

Luke Hutton via All-commits all-commits at lists.llvm.org
Wed Sep 24 11:32:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14a126b37a2a0898ad09aa00da7b276d20cb2a86
      https://github.com/llvm/llvm-project/commit/14a126b37a2a0898ad09aa00da7b276d20cb2a86
  Author: Luke Hutton <luke.hutton at arm.com>
  Date:   2025-09-24 (Wed, 24 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tosa] Remove `log(exp(x))` and `exp(log(x))` folders (#156434)

Both of the folders would reduce to `x`. These folders were vulnerable
to overflow / underflow issues, resulting in a difference in numerical
behaviour when running or not running the folders. For now they have
been removed. We can consider restoring these as part of an optional and
separate "fast-math" style of transformation in the future.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list