mirror of https://github.com/llvm/torch-mlir
29bc48aedb
This patch adds a new pass `torch-verify-conversion-to-value-semantics`, which looks for non-value semantics tensors to catch such tensors early during compilation. This pass requires `torch-refine-public-return` pass to ensure that return operations are updated to use value tensors, followed by the canonicalize pass to remove any dead ops that may use or produce non-value tensors. |
||
---|---|---|
.. | ||
GlobalizeObjectGraph | ||
adjust-calling-conventions.mlir | ||
canonicalize.mlir | ||
decompose-complex-ops.mlir | ||
drop-shape-calculations.mlir | ||
inline-global-slots.mlir | ||
invalid.mlir | ||
maximize-value-semantics.mlir | ||
ops.mlir | ||
prepare-for-globalize-object-graph.mlir | ||
promote-types.mlir | ||
reduce-op-variants-error.mlir | ||
reduce-op-variants.mlir | ||
refine-public-return.mlir | ||
refine-types-branch.mlir | ||
refine-types-ops.mlir | ||
refine-types.mlir | ||
reify-shape-calculations.mlir | ||
simplify-shape-calculations.mlir | ||
verify-conversion-to-value-semantics.mlir |