[all-commits] [llvm/llvm-project] f67d57: [mlir][Shape] Add a pattern to turn extract from s...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue Oct 12 10:09:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f67d57c95f50fabdfa0bbd454faa564f5059d5f4
      https://github.com/llvm/llvm-project/commit/f67d57c95f50fabdfa0bbd454faa564f5059d5f4
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/lib/Dialect/Shape/IR/ShapeCanonicalization.td
    M mlir/test/Dialect/Shape/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Shape] Add a pattern to turn extract from shape_of into tensor.dim

If I remember correctly this wasn't done previously because dim used to
be in the memref dialect.

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




More information about the All-commits mailing list