[all-commits] [llvm/llvm-project] ee285f: [mlir] Do not bubble up extract slice when it is r...

Okwan Kwon via All-commits all-commits at lists.llvm.org
Fri Apr 22 12:25:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee285faed2e86e0f913f621ee86732ac8f0798f7
      https://github.com/llvm/llvm-project/commit/ee285faed2e86e0f913f621ee86732ac8f0798f7
  Author: Okwan Kwon <okkwon at gmail.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/BubbleUpExtractSlice.cpp
    M mlir/test/Dialect/Linalg/bubble-up-extract-slice-op.mlir

  Log Message:
  -----------
  [mlir] Do not bubble up extract slice when it is rank-reducing.

The bubble up logic was written by assuming the slice operation is
always a normal slice that outputs a tensor with the same rank.

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




More information about the All-commits mailing list