[all-commits] [llvm/llvm-project] e4184c: [MLIR][Shape] Make dimension an operand of `get_ex...

frgossen via All-commits all-commits at lists.llvm.org
Wed Jun 10 04:47:53 PDT 2020


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

  Changed paths:
    M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/test/Dialect/Shape/canonicalize.mlir

  Log Message:
  -----------
  [MLIR][Shape] Make dimension an operand of `get_extent`

The operation `get_extent` now accepts the dimension as an operand and is no
longer limited to constant dimensions.
A helper function facilitates the common constant use case.

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




More information about the All-commits mailing list