torch-mlir/test/Dialect/Torch
Ramiro Leal-Cavazos 016f1859e0 Fix handling of view-like ops in `maximize-value-semantics`
This commit adds handling to the `maximize-value-semantics` pass for
the case where a view-like op depends on a tensor that has been
overwritten by a value tensor. The approach for removing the
dependency is to change the input to the view-like op to be a copy of
the value tensor that is being used to overwrite.

This commit also removes `AtenFill_ScalarOp` and
`AtenBernoulli_FloatOp` from the list of view-like ops, since these
ops now have a corresponding op with value semantics into which they
get converted in the `reduce-op-variants` pass.
2022-02-18 02:32:11 +00:00
..
GlobalizeObjectGraph Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
adjust-calling-conventions.mlir Add support for multiple return values 2021-11-16 21:07:45 -05:00
canonicalize.mlir Fold __is__ and unchecked_cast of derefine 2022-01-28 17:54:40 -05:00
decompose-complex-ops.mlir Add aten.bernoulli decomposition. 2022-02-11 00:35:33 +05:30
inline-global-slots.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
invalid.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
maximize-value-semantics.mlir Fix handling of view-like ops in `maximize-value-semantics` 2022-02-18 02:32:11 +00:00
ops.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
prepare-for-globalize-object-graph.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
promote-types.mlir Make broadcasting result shape more static 2022-01-06 18:39:27 -05:00
reduce-op-variants-error.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
reduce-op-variants.mlir [LINALG] Add value tensor variant to `bernoulli_.float` 2022-02-15 02:53:59 +00:00
refine-public-return.mlir Add support for multiple return values 2021-11-16 21:07:45 -05:00
refine-types-branch.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
refine-types.mlir Add static type information support to `aten.mm` 2022-02-15 23:53:42 +00:00