[all-commits] [llvm/llvm-project] 098f46: [sparse] allow unpack op to return 0-ranked tensor...

Peiming Liu via All-commits all-commits at lists.llvm.org
Wed Sep 13 11:33:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 098f46dce339ffb896218d9b3e7f638b7a333463
      https://github.com/llvm/llvm-project/commit/098f46dce339ffb896218d9b3e7f638b7a333463
  Author: Peiming Liu <36770114+PeimingLiu at users.noreply.github.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir

  Log Message:
  -----------
  [sparse] allow unpack op to return 0-ranked tensor type. (#66269)

Many frontends canonicalize scalar into 0-ranked tensor, it change will
hopefully make the operation easier to use for those cases.




More information about the All-commits mailing list