[all-commits] [llvm/llvm-project] 2bb208: [mlir] Don't allow dynamic extent tensor types for...

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Thu Oct 7 01:56:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bb208ddfd700f0fdd3028f83eecd280a8d6f3b5
      https://github.com/llvm/llvm-project/commit/2bb208ddfd700f0fdd3028f83eecd280a8d6f3b5
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/lib/Dialect/Shape/IR/ShapeCanonicalization.td
    M mlir/test/Dialect/Shape/canonicalize.mlir
    M mlir/test/Dialect/Shape/ops.mlir

  Log Message:
  -----------
  [mlir] Don't allow dynamic extent tensor types for ConstShapeOp.

ConstShapeOp has a constant shape, so its type can always be static.
We still allow it to have ShapeType though.

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




More information about the All-commits mailing list