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

frgossen via All-commits all-commits at lists.llvm.org
Wed Apr 28 02:59:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dca536103592cf1e92aa8316ed23f33d75da25bc
      https://github.com/llvm/llvm-project/commit/dca536103592cf1e92aa8316ed23f33d75da25bc
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2021-04-28 (Wed, 28 Apr 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/D101377




More information about the All-commits mailing list