[PATCH] D142445: [mlir][tensor|memref] Harden the checks on dim op
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 26 00:16:28 PST 2023
qcolombet updated this revision to Diff 492344.
qcolombet edited the summary of this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: thopre.
- Keep only the part of the change that disallow dim up with 0-ranked shapes. (I.e., remove the check with negative indices)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142445/new/
https://reviews.llvm.org/D142445
Files:
mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
mlir/include/mlir/IR/OpBase.td
mlir/test/Dialect/MemRef/invalid.mlir
mlir/test/Dialect/Tensor/bufferize.mlir
mlir/test/Dialect/Tensor/invalid.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142445.492344.patch
Type: text/x-patch
Size: 5728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230126/e2bd3662/attachment.bin>
More information about the llvm-commits
mailing list