[all-commits] [llvm/llvm-project] 7f5b16: [mlir][sparse] fix bug in complex zero detection

Aart Bik via All-commits all-commits at lists.llvm.org
Thu Aug 4 13:35:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f5b16733651c658b8cb4b05f2a3075ce84c3057
      https://github.com/llvm/llvm-project/commit/7f5b16733651c658b8cb4b05f2a3075ce84c3057
  Author: Aart Bik <ajcbik at google.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
    M mlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir

  Log Message:
  -----------
  [mlir][sparse] fix bug in complex zero detection

We were checking real-part twice, not real/imag-part.
The new test only passes after the bug fix.

Reviewed By: Peiming

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




More information about the All-commits mailing list