[all-commits] [llvm/llvm-project] f8d7bd: [MLIR][Shape] Remove empty extent tensor operands
frgossen via All-commits
all-commits at lists.llvm.org
Tue Apr 27 05:52:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8d7bd996f1e9a01b9d5cee39c579dd8ac71bae4
https://github.com/llvm/llvm-project/commit/f8d7bd996f1e9a01b9d5cee39c579dd8ac71bae4
Author: Frederik Gossen <frgossen at google.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M mlir/include/mlir/IR/BuiltinAttributes.h
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/test/Dialect/Shape/canonicalize.mlir
Log Message:
-----------
[MLIR][Shape] Remove empty extent tensor operands
Empty extent tensor operands were only removed when they were defined as a
constant. Additionally, we can remove them if they are known to be empty by
their type `tensor<0xindex>`.
Differential Revision: https://reviews.llvm.org/D101351
More information about the All-commits
mailing list