[PATCH] D80600: [mlir][shape] Use IndexElementsAttr in Shape dialect.
Sean Silva via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 17:28:11 PDT 2020
silvas created this revision.
silvas added reviewers: jpienaar, tpopp, frgossen, herhut.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, grosul1, Joonsoo, stephenneuendorffer, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, rriddle, mehdi_amini, arphaman.
Herald added 1 blocking reviewer(s): jpienaar.
Herald added a project: LLVM.
Index is the proper type for storing shapes when constant folding, so
this fixes the previous code (which was using i64).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80600
Files:
mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/test/Dialect/Shape/canonicalize.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80600.266381.patch
Type: text/x-patch
Size: 5444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/3378ac7b/attachment.bin>
More information about the llvm-commits
mailing list