[all-commits] [llvm/llvm-project] a81e45: [MLIR][Shape] Concretize broadcast result type if ...

frgossen via All-commits all-commits at lists.llvm.org
Mon May 10 01:24:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a81e45b8bcb8eb274ad73357e10e2cdf8a314a8c
      https://github.com/llvm/llvm-project/commit/a81e45b8bcb8eb274ad73357e10e2cdf8a314a8c
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

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

  Log Message:
  -----------
  [MLIR][Shape] Concretize broadcast result type if possible

As a canonicalization, infer the resulting shape rank if possible.

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




More information about the All-commits mailing list