[all-commits] [llvm/llvm-project] 5c9315: Fix complex log1p accuracy with large abs values. ...

Johannes Reifferscheid via All-commits all-commits at lists.llvm.org
Thu Apr 11 01:55:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c9315f575370393ccc89ef0229743c05f6fe703
      https://github.com/llvm/llvm-project/commit/5c9315f575370393ccc89ef0229743c05f6fe703
  Author: Johannes Reifferscheid <jreiffers at google.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

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

  Log Message:
  -----------
  Fix complex log1p accuracy with large abs values. (#88364)

This ports openxla/xla#10503 by @pearu. In addition to the filecheck
test here, the accuracy was tested with XLA's complex_unary_op_test and
its MLIR emitters.

This is a fixed version of
https://github.com/llvm/llvm-project/pull/88260. The previous version
relied on implementation-specific behavior in the order of evaluation of
maxAbsOfRealPlusOneAndImagMinusOne's operands.



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