[all-commits] [llvm/llvm-project] cb393f: [MLIR][Shape] Canonicalize casted extent tensor op...
frgossen via All-commits
all-commits at lists.llvm.org
Wed Apr 28 02:52:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb393f4c99c1e35d79a1017e59b00014f01daf3e
https://github.com/llvm/llvm-project/commit/cb393f4c99c1e35d79a1017e59b00014f01daf3e
Author: Frederik Gossen <frgossen at google.com>
Date: 2021-04-28 (Wed, 28 Apr 2021)
Changed paths:
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/test/Dialect/Shape/canonicalize.mlir
Log Message:
-----------
[MLIR][Shape] Canonicalize casted extent tensor operands
Both, `shape.broadcast` and `shape.cstr_broadcastable` accept dynamic and static
extent tensors. If their operands are casted, we can use the original value
instead.
Differential Revision: https://reviews.llvm.org/D101376
More information about the All-commits
mailing list