[all-commits] [llvm/llvm-project] 970bb4: [MLIR] Add `to/from_extent_tensor` lowering to the...

frgossen via All-commits all-commits at lists.llvm.org
Mon Jun 8 02:39:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 970bb4a291c0a823786efee7d572a699569ec339
      https://github.com/llvm/llvm-project/commit/970bb4a291c0a823786efee7d572a699569ec339
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
    M mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir

  Log Message:
  -----------
  [MLIR] Add `to/from_extent_tensor` lowering to the standard dialect

The operations `to_extent_tensor` and `from_extent_tensor` become no-ops when
lowered to the standard dialect.
This is possible with a lowering from `shape.shape` to `tensor<?xindex>`.

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




More information about the All-commits mailing list