[all-commits] [llvm/llvm-project] b55f42: [MLIR] Add canonicalization for `shape.broadcast`
frgossen via All-commits
all-commits at lists.llvm.org
Mon Mar 15 02:12:03 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b55f424ffcaca1d639ded583b9dc8ba151d92e2d
https://github.com/llvm/llvm-project/commit/b55f424ffcaca1d639ded583b9dc8ba151d92e2d
Author: Frederik Gossen <frgossen at google.com>
Date: 2021-03-15 (Mon, 15 Mar 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/canonicalize.mlir
M mlir/test/Dialect/Shape/invalid.mlir
Log Message:
-----------
[MLIR] Add canonicalization for `shape.broadcast`
Remove redundant operands and fold if only one left.
Differential Revision: https://reviews.llvm.org/D98402
More information about the All-commits
mailing list