[all-commits] [llvm/llvm-project] 4569c1: Refactor TensorExp parameters into a union

Gus Smith via All-commits all-commits at lists.llvm.org
Fri Jul 2 07:46:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4569c14ac347180d9514f43c45c6f52569ce8f8c
      https://github.com/llvm/llvm-project/commit/4569c14ac347180d9514f43c45c6f52569ce8f8c
  Author: Gus Smith <gusss at google.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
    M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
    M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp

  Log Message:
  -----------
  Refactor TensorExp parameters into a union

To make TensorExp clearer, this change refactors the e0/e1 fields into a union: e0/e1 for a binary op tensor expression, and tensor_num for a tensor-kinded tensor expression.

Reviewed By: aartbik

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




More information about the All-commits mailing list