[all-commits] [llvm/llvm-project] 5e0ded: [mlir][Standard] Canonicalize chains of tensor_cas...
Stephan Herhut via All-commits
all-commits at lists.llvm.org
Thu Sep 17 07:51:11 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5e0ded268929b87ddf2c5e077c9185554342f602
https://github.com/llvm/llvm-project/commit/5e0ded268929b87ddf2c5e077c9185554342f602
Author: Stephan Herhut <herhut at google.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
M mlir/test/Transforms/canonicalize.mlir
Log Message:
-----------
[mlir][Standard] Canonicalize chains of tensor_cast operations
Adds a pattern that replaces a chain of two tensor_cast operations by a single tensor_cast operation if doing so will not remove constraints on the shapes.
More information about the All-commits
mailing list