[all-commits] [llvm/llvm-project] 387755: [mlir][sparse] Simplifying SparseTensorEncodingAtt...

wren romano via All-commits all-commits at lists.llvm.org
Mon Dec 12 17:06:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 387755a35d1260e65b4ed6811b492e021a05fe52
      https://github.com/llvm/llvm-project/commit/387755a35d1260e65b4ed6811b492e021a05fe52
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp

  Log Message:
  -----------
  [mlir][sparse] Simplifying SparseTensorEncodingAttr function arguments

Since STEA isa Attribute, and that's just (a wrapper around) a pointer, the extra `const` and `&` aren't necessary for function arguments.

Reviewed By: aartbik

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




More information about the All-commits mailing list