Static subtensor / subtensor_insert of the same size as the source / destination tensor and root @[0..0] with strides [1..1] are folded away.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D96991
[mlir] Fold trivial subtensor / subtensor_insert ops. ClosedPublic Authored by nicolasvasilache on Feb 18 2021, 1:04 PM.
Details Summary Static subtensor / subtensor_insert of the same size as the source / destination tensor and root @[0..0] with strides [1..1] are folded away.
Diff Detail
Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 14 others. · View Herald TranscriptFeb 18 2021, 1:04 PM This revision is now accepted and ready to land.Feb 18 2021, 1:32 PM This revision was landed with ongoing or failed builds.Feb 18 2021, 1:42 PM Closed by commit rGb006902b2dfa: [mlir] Fold trivial subtensor / subtensor_insert ops. (authored by nicolasvasilache). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 324760 mlir/include/mlir/Dialect/StandardOps/IR/Ops.h
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/test/Dialect/Standard/canonicalize.mlir
|