[mlir] Add canonicalization for the `subtensor` op
authorNicolas Vasilache <ntv@google.com>
Fri, 2 Oct 2020 09:40:52 +0000 (05:40 -0400)
committerNicolas Vasilache <ntv@google.com>
Fri, 2 Oct 2020 10:05:52 +0000 (06:05 -0400)
commit787bf5e383a32b3ebc87332ff9e868db8f937056
tree215910ce03561bc0eb75a5d993d8cd12ecdfec73
parente3de249a4c94d6962b36c2b4747c134d152bed37
[mlir] Add canonicalization for the `subtensor` op

Differential revision: https://reviews.llvm.org/D88656
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/test/Transforms/canonicalize.mlir