[PATCH] D80004: [MLIR] Add `from_index`, `to_index`, and `num_elements` to the shape dialect
Frederik Gossen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 15 07:00:19 PDT 2020
frgossen created this revision.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, grosul1, Joonsoo, stephenneuendorffer, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, arphaman.
Herald added a reviewer: rriddle.
Herald added a reviewer: jpienaar.
Herald added a reviewer: silvas.
Herald added a project: LLVM.
frgossen added reviewers: herhut, pifon2a.
`num_elements` derives the number of elements from a given shape.
The remaining operations help with conversion between the shape and the standard
dialect types.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80004
Files:
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
mlir/include/mlir/IR/Builders.h
mlir/include/mlir/IR/StandardTypes.h
mlir/lib/IR/Builders.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80004.264224.patch
Type: text/x-patch
Size: 4390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200515/b077a348/attachment.bin>
More information about the llvm-commits
mailing list