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

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a70f2eb3e39a42a71ba077247f9deafbdf1e8092
      https://github.com/llvm/llvm-project/commit/a70f2eb3e39a42a71ba077247f9deafbdf1e8092
  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
    M mlir/lib/Conversion/CMakeLists.txt
    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