torch-mlir/test/Dialect/Torch
Ramiro Leal-Cavazos ea371a9bf2
Fix handling of view-like ops in `maximize-value-semantics` (#611)
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 10:19:07 -08: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 [LINALG] Add E2E support for `aten.[Bool.Tensor|Float.Tensor]` op 2022-02-14 23:09:20 +05:30
decompose-complex-ops.mlir [LINALG] Decompose `aten.batch_norm` into `aten.native_batch_norm` 2022-02-16 23:41:38 +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` (#611) 2022-02-18 10:19:07 -08: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 `fill_.Scalar` (#600) 2022-02-15 11:58:03 -08:00
refine-public-return.mlir LLVM bump 2022-02-16 15:28:13 -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` (#602) 2022-02-18 09:56:48 -08:00