[all-commits] [llvm/llvm-project] 24debf: [MLIR][Shape] Lower `shape.rank`

frgossen via All-commits all-commits at lists.llvm.org
Thu Jun 25 01:44:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 24debf5a76e03cfeab6df2530151e3061eb110f2
      https://github.com/llvm/llvm-project/commit/24debf5a76e03cfeab6df2530151e3061eb110f2
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

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

  Log Message:
  -----------
  [MLIR][Shape] Lower `shape.rank`

Lower `shape.rank` to standard dialect.
A shape's size is the same as the extent of the first and only dimension of the
`tensor<?xindex>` it is represented by.

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




More information about the All-commits mailing list