[all-commits] [llvm/llvm-project] 8ef472: [mlir][shape] Fold shape.broadcast with one scalar...
Stephan Herhut via All-commits
all-commits at lists.llvm.org
Wed Jul 15 10:10:53 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8ef47244b95f7b148e072a19563f6096ed4fe43c
https://github.com/llvm/llvm-project/commit/8ef47244b95f7b148e072a19563f6096ed4fe43c
Author: Stephan Herhut <herhut at google.com>
Date: 2020-07-15 (Wed, 15 Jul 2020)
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/ops.mlir
Log Message:
-----------
[mlir][shape] Fold shape.broadcast with one scalar operand
This folds shape.broadcast where at least one operand is a scalar to the
other operand.
Also add an assemblyFormat for shape.broadcast and shape.concat.
Differential Revision: https://reviews.llvm.org/D83854
More information about the All-commits
mailing list