[all-commits] [llvm/llvm-project] 00767c: [mlir] Delete dup code and use unified methods.

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Fri Oct 21 16:52:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00767cb45225e142ce5b5cf6312f3e689d53bb82
      https://github.com/llvm/llvm-project/commit/00767cb45225e142ce5b5cf6312f3e689d53bb82
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp

  Log Message:
  -----------
  [mlir] Delete dup code and use unified methods.

The foldMemRefCast method is defined in memref namespace; the
foldTensorCast method is defined in tensor namespace. This revision
deletes the dup code and use the unified methods.

Reviewed By: dcaballe

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




More information about the All-commits mailing list