[all-commits] [llvm/llvm-project] 814695: [MLIR][Shape] Add constant folding to `shape.rank`

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 81469527ec99a3452c867d997d259ea70f81dda5
      https://github.com/llvm/llvm-project/commit/81469527ec99a3452c867d997d259ea70f81dda5
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2020-06-25 (Thu, 25 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] Add constant folding to `shape.rank`

Add constant folding for the `shape.rank` operation of the shape dialect.

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




More information about the All-commits mailing list