[all-commits] [llvm/llvm-project] fdaa39: [MLIR] Add `num_elements` to the shape dialect
frgossen via All-commits
all-commits at lists.llvm.org
Thu May 28 07:06:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fdaa391e3df3c3a555d933122b0ef85eaf5eb63c
https://github.com/llvm/llvm-project/commit/fdaa391e3df3c3a555d933122b0ef85eaf5eb63c
Author: Frederik Gossen <frgossen at google.com>
Date: 2020-05-28 (Thu, 28 May 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
Log Message:
-----------
[MLIR] Add `num_elements` to the shape dialect
The operation `num_elements` determines the number of elements for a given
shape.
That is the product of its dimensions.
Differential Revision: https://reviews.llvm.org/D80281
More information about the All-commits
mailing list