[all-commits] [llvm/llvm-project] 45d83a: [mlir] [math] Fix the precision issue of expand ma...

donald chen via All-commits all-commits at lists.llvm.org
Thu Jan 23 22:47:03 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45d83ae7df65a3c9843270d970119bc97957d830
      https://github.com/llvm/llvm-project/commit/45d83ae7df65a3c9843270d970119bc97957d830
  Author: donald chen <chenxunyu1993 at gmail.com>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Math/Transforms/Passes.h
    M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
    M mlir/test/Dialect/Math/expand-math.mlir
    M mlir/test/lib/Dialect/Math/TestExpandMath.cpp

  Log Message:
  -----------
  [mlir] [math] Fix the precision issue of expand math (#120865)

The convertFloorOp pattern incurs precision loss when floating-point
numbers exceed the representable range of int64. This pattern should be
removed.

Fixes https://github.com/llvm/llvm-project/issues/119836



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