[all-commits] [llvm/llvm-project] 375a5c: Don't lower log1p(x) to log(1 + x).

Johannes Reifferscheid via All-commits all-commits at lists.llvm.org
Mon Aug 15 21:58:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 375a5cb648835db0b1eacfc921cbb04844b8b3b4
      https://github.com/llvm/llvm-project/commit/375a5cb648835db0b1eacfc921cbb04844b8b3b4
  Author: Johannes Reifferscheid <jreiffers at google.com>
  Date:   2022-08-16 (Tue, 16 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Conversion/MathToLibm/MathToLibm.h
    M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
    M mlir/lib/Conversion/MathToLibm/MathToLibm.cpp
    M mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
    M mlir/test/Conversion/MathToLibm/convert-to-libm.mlir

  Log Message:
  -----------
  Don't lower log1p(x) to log(1 + x).

The latter has accuracy issues around 0. The lowering in MathToLLVM is kept for now.

Reviewed By: bkramer

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




More information about the All-commits mailing list