[all-commits] [llvm/llvm-project] a7bf2e: [mlir][sparse] refactoring isAdmissibleTensorExp i...

PeimingLiu via All-commits all-commits at lists.llvm.org
Fri Jan 27 11:37:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7bf2e558feb954396c93fd3fa740775944a179b
      https://github.com/llvm/llvm-project/commit/a7bf2e558feb954396c93fd3fa740775944a179b
  Author: Peiming Liu <peiming at google.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenEnv.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenEnv.h
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp

  Log Message:
  -----------
  [mlir][sparse] refactoring isAdmissibleTensorExp into codegen

This patch moves some utils into CodegenEnv class, it should make the code easier to follow and it eliminates several indirect value assignment that use `ptr**`.

Reviewed By: aartbik

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




More information about the All-commits mailing list