[all-commits] [llvm/llvm-project] 15acdd: [MLIR][Shape] Merge `shape` to `std`/`scf` lowerings.

frgossen via All-commits all-commits at lists.llvm.org
Mon Sep 7 05:13:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 15acdd75439b402e993ebe0dbf8eb02e9b88bbdc
      https://github.com/llvm/llvm-project/commit/15acdd75439b402e993ebe0dbf8eb02e9b88bbdc
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    R mlir/include/mlir/Conversion/ShapeToSCF/ShapeToSCF.h
    R mlir/lib/Conversion/ShapeToSCF/CMakeLists.txt
    R mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp
    M mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
    R mlir/test/Conversion/ShapeToSCF/shape-to-scf.mlir
    M mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir

  Log Message:
  -----------
  [MLIR][Shape] Merge `shape` to `std`/`scf` lowerings.

Merge the two lowering passes because they are not useful by themselves. The new
pass lowers to `std` and `scf` is considered an auxiliary dialect.

See also
https://llvm.discourse.group/t/conversions-with-multiple-target-dialects/1541/12

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




More information about the All-commits mailing list