[all-commits] [llvm/llvm-project] 24bf55: Add type function for ConstShape op.

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Mon May 17 11:47:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24bf554b1059d1ee27040ea90fc046d75950e58d
      https://github.com/llvm/llvm-project/commit/24bf554b1059d1ee27040ea90fc046d75950e58d
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

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

  Log Message:
  -----------
  Add type function for ConstShape op.

- Enables inferring return type for ConstShape, takes into account valid return types;
- The compatible return type function could be reused, leaving that for next use refactoring;

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




More information about the All-commits mailing list