[all-commits] [llvm/llvm-project] 9d4df9: [mlir][sparse] Canonicalizing arguments to genResh...

wren romano via All-commits all-commits at lists.llvm.org
Tue Apr 11 19:12:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d4df97ff0ef459316cdb55f17eaea9fe9b1c1d5
      https://github.com/llvm/llvm-project/commit/9d4df97ff0ef459316cdb55f17eaea9fe9b1c1d5
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp

  Log Message:
  -----------
  [mlir][sparse] Canonicalizing arguments to genReshapeDstShape and foreachInSparseConstant

These functions don't need a`PatternRewriter`, they only need an `OpBuilder`.  And, the builder should be the first argument, before the `Location`, to match the style used everywhere else in MLIR.

Reviewed By: aartbik

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




More information about the All-commits mailing list