[all-commits] [llvm/llvm-project] 9f7790: [mlir][shape] add outline-shape-computation pass

Yuanqiang Liu via All-commits all-commits at lists.llvm.org
Sun Oct 2 20:25:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f77909a5e07b7973fe13d4ea6391c29ff1b46b5
      https://github.com/llvm/llvm-project/commit/9f77909a5e07b7973fe13d4ea6391c29ff1b46b5
  Author: Yuanqiang Liu <liuyuanqiang.yqliu at bytedance.com>
  Date:   2022-10-02 (Sun, 02 Oct 2022)

  Changed paths:
    A mlir/include/mlir/Dialect/Shape/Analysis/ShapeMappingAnalysis.h
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
    M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Shape/Transforms/OutlineShapeComputation.cpp
    A mlir/test/Dialect/Shape/outline-shape-computation.mlir
    M mlir/test/lib/Dialect/Shape/CMakeLists.txt
    A mlir/test/lib/Dialect/Shape/TestShapeMappingAnalysis.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][shape] add outline-shape-computation pass

Add outline-shape-computation pass. This pass his pass outlines the
shape computation part in high level IR by adding shape.func and
populate corresponding mapping information into ShapeMappingAnalysis.

Reviewed By: jpienaar

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




More information about the All-commits mailing list