[all-commits] [llvm/llvm-project] 858d48: [MLIR][Shape] Ensure to preserve op type of `shape...
frgossen via All-commits
all-commits at lists.llvm.org
Mon Apr 26 08:56:34 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 858d4885dcc2242910971607bf46428d5b563d95
https://github.com/llvm/llvm-project/commit/858d4885dcc2242910971607bf46428d5b563d95
Author: Frederik Gossen <frgossen at google.com>
Date: 2021-04-26 (Mon, 26 Apr 2021)
Changed paths:
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/test/Dialect/Shape/canonicalize.mlir
Log Message:
-----------
[MLIR][Shape] Ensure to preserve op type of `shape.broadcast`
Ensure to preserve the correct type during when folding and canonicalization.
`shape.broadcast` of of a single operand can only be folded away if the argument
type is correct.
Differential Revision: https://reviews.llvm.org/D101158
More information about the All-commits
mailing list