[all-commits] [llvm/llvm-project] 37ffbb: [mlir][tensor][sparse] don't drop encoding when in...

Peiming Liu via All-commits all-commits at lists.llvm.org
Mon May 13 09:53:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37ffbbb19576a884c5bb93b9ac0ae97f89523b6b
      https://github.com/llvm/llvm-project/commit/37ffbbb19576a884c5bb93b9ac0ae97f89523b6b
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    A mlir/test/Dialect/SparseTensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tensor][sparse] don't drop encoding when infer result type (#91817)

A general question is: is it possible to support hooks here to infer the
encoding? E.g., when the extracted tensor slice is rank-reduced, the
encoding need to be updated accordingly as well.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list