[all-commits] [llvm/llvm-project] 7c7c10: [mlir][sparse] Updating the `Merger::{exp, lat, set}...

wren romano via All-commits all-commits at lists.llvm.org
Fri Mar 24 14:48:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c7c10a0233fc8060aab4082094a189803cbe5ac
      https://github.com/llvm/llvm-project/commit/7c7c10a0233fc8060aab4082094a189803cbe5ac
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
    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] Updating the `Merger::{exp,lat,set}` methods to return const

This helps the `Merger` maintain invariants, as well as clarifying the immutability of the underlying objects (with the one exception of `TensorExp::val`).

Depends On: D146559

Reviewed By: aartbik

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




More information about the All-commits mailing list