[all-commits] [llvm/llvm-project] 5d9f33: [MLIR][Shape] Add conversion for missing ops to st...

Stephan Herhut via All-commits all-commits at lists.llvm.org
Wed Jul 29 03:46:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d9f33aaa00cc02143f137387adc8dd1e51b71d3
      https://github.com/llvm/llvm-project/commit/5d9f33aaa00cc02143f137387adc8dd1e51b71d3
  Author: Stephan Herhut <herhut at google.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
    M mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
    M mlir/test/Dialect/Shape/canonicalize.mlir

  Log Message:
  -----------
  [MLIR][Shape] Add conversion for missing ops to standard

This adds conversions for const_size and to_extent_tensor. Also, cast-like operations are now folded away if the source and target types are the same.

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




More information about the All-commits mailing list