[all-commits] [llvm/llvm-project] c42ecc: [mlir][sparse] optimizing permutation validity che...

wren romano via All-commits all-commits at lists.llvm.org
Thu Sep 29 15:09:06 PDT 2022


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

  Changed paths:
    M mlir/lib/ExecutionEngine/SparseTensorUtils.cpp

  Log Message:
  -----------
  [mlir][sparse] optimizing permutation validity check in toMLIRSparseTensor

The previous sorting-based check was O(n*log n). The new implementation is O(n).

This is a followup to the refactoring of D133462, D133830, D133831, and D133833.

Depends On D133833

Reviewed By: aartbik

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




More information about the All-commits mailing list