[all-commits] [llvm/llvm-project] 7f1cb4: [mlir][sparse] simplify negi code generation with ...

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Sep 29 10:00:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f1cb43d60a517660c579ef22351bc3ca413d52d
      https://github.com/llvm/llvm-project/commit/7f1cb43d60a517660c579ef22351bc3ca413d52d
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp

  Log Message:
  -----------
  [mlir][sparse] simplify negi code generation with subi

The lack of negi details leaked from merger class into codegen part.
Also, special case for vector code was not needed, the type can be used directly!

Reviewed By: bixia

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




More information about the All-commits mailing list