[all-commits] [llvm/llvm-project] f0c51c: [MLIR][Shape] Add canonicalizations for `shape.bro...

frgossen via All-commits all-commits at lists.llvm.org
Thu Apr 22 05:12:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0c51cb2d4562fb97280326202eab23ff7b29e3f
      https://github.com/llvm/llvm-project/commit/f0c51cb2d4562fb97280326202eab23ff7b29e3f
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

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

  Log Message:
  -----------
  [MLIR][Shape] Add canonicalizations for `shape.broadcast`

Eliminate empty shapes from the operands, partially fold all constant shape
operands, and fix normal folding.

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




More information about the All-commits mailing list