[all-commits] [llvm/llvm-project] 1492ae: [mlir][Linalg] Use ReifyRankedShapedTypeOpInterfac...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Wed May 10 17:24:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1492ae750b81ec14cef0d4d044c634a4c77babc8
      https://github.com/llvm/llvm-project/commit/1492ae750b81ec14cef0d4d044c634a4c77babc8
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] Use ReifyRankedShapedTypeOpInterface for pad transforms.

The information is not tied to tensor.empty op and tensor.extract_slice
op. We can infer smallest static bounding box for pad transform if
they implement ReifyRankedShapedTypeOpInterface. The revision extends
the usability for downstream projects. No tests are added because the
existing tests cover the change, and most of MLIR
ReifyRankedShapedTypeOpInterface ops are covered in the tests, except
tensor.generate and bufferization.alloc_tensor ops.

Reviewed By: mravishankar

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




More information about the All-commits mailing list