[all-commits] [llvm/llvm-project] 21f9e4: Avoid infinity arithmetics when computing exp appr...

Ahmed S. Taei via All-commits all-commits at lists.llvm.org
Thu Oct 21 10:09:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21f9e4a1ed91adc9aac0ba209ad4c264cad3b6ff
      https://github.com/llvm/llvm-project/commit/21f9e4a1ed91adc9aac0ba209ad4c264cad3b6ff
  Author: Ahmed Taei <ataei at google.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
    M mlir/test/Dialect/Math/polynomial-approximation.mlir
    M mlir/test/mlir-cpu-runner/math_polynomial_approx.mlir

  Log Message:
  -----------
  Avoid infinity arithmetics when computing exp approximations

Otherwise this can result a poison value on some platforms see https://bugs.llvm.org/show_bug.cgi?id=51204

Reviewed By: ezhulenev

Differential Revision: https://reviews.llvm.org/D112115




More information about the All-commits mailing list