[all-commits] [llvm/llvm-project] 221856: [mlir][sparse] Moved a conditional from the RT lib...

wren romano via All-commits all-commits at lists.llvm.org
Thu Sep 23 12:44:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 221856f5cd13a877543ea6c5418330c1ee7fd715
      https://github.com/llvm/llvm-project/commit/221856f5cd13a877543ea6c5418330c1ee7fd715
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    M mlir/lib/ExecutionEngine/SparseUtils.cpp

  Log Message:
  -----------
  [mlir][sparse] Moved a conditional from the RT library to the generated MLIR.

When generating code to add an element to SparseTensorCOO (e.g., when doing dense=>sparse conversion), we used to check for nonzero values on the runtime side, whereas now we generate MLIR code to do that check.

Reviewed By: aartbik

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




More information about the All-commits mailing list