[all-commits] [llvm/llvm-project] 310499: [mlir] Fold Arithmetic::ConstantOp and Tensor::Ext...

Okwan Kwon via All-commits all-commits at lists.llvm.org
Mon Feb 28 09:47:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3104994104f0c2f274acf5e01eb6cc82e9cca06b
      https://github.com/llvm/llvm-project/commit/3104994104f0c2f274acf5e01eb6cc82e9cca06b
  Author: Okwan Kwon <okkwon at gmail.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    A mlir/test/Dialect/Tensor/fold-constant-extract-slice.mlir
    M mlir/test/lib/Dialect/Tensor/TestTensorTransforms.cpp

  Log Message:
  -----------
  [mlir] Fold Arithmetic::ConstantOp and Tensor::ExtractSliceOp.

Fold ExtractSliceOp when the source is a constant.




More information about the All-commits mailing list