[MLIR][Shape] Merge `shape` to `std`/`scf` lowerings.
authorFrederik Gossen <frgossen@google.com>
Mon, 7 Sep 2020 12:09:43 +0000 (12:09 +0000)
committerFrederik Gossen <frgossen@google.com>
Mon, 7 Sep 2020 12:12:36 +0000 (12:12 +0000)
commit15acdd75439b402e993ebe0dbf8eb02e9b88bbdc
treec86d593547ed69ea2dbfe55c13c9dcae696ddcda
parente57cbcbdc18adcadc6c97ff4f3f81b0f4b81c698
[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
mlir/include/mlir/Conversion/Passes.h
mlir/include/mlir/Conversion/Passes.td
mlir/include/mlir/Conversion/ShapeToSCF/ShapeToSCF.h [deleted file]
mlir/lib/Conversion/ShapeToSCF/CMakeLists.txt [deleted file]
mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp [deleted file]
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
mlir/test/Conversion/ShapeToSCF/shape-to-scf.mlir [deleted file]
mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir