torch-mlir/test/Dialect/Torch
Ashay Rane 29bc48aedb
torch: add pass to catch non-value tensors (#1052)
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.
2022-07-13 17:11:15 -07:00
..
GlobalizeObjectGraph GlobalizeObjectGraph: Clean up handling of unused slots 2022-07-12 10:47:28 -07:00
adjust-calling-conventions.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
canonicalize.mlir canonicalizer: propagate type information across copy and cast ops (#1030) 2022-07-12 12:38:37 -07:00
decompose-complex-ops.mlir Undo shape lib changes + update function signature of sum + zero (#1035) 2022-07-11 10:56:12 -07:00
drop-shape-calculations.mlir torch: allow torch dialect ops after running drop-shape pass (#979) 2022-06-25 07:27:47 -07:00
inline-global-slots.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
invalid.mlir llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
maximize-value-semantics.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
ops.mlir Add support for ScalarType::QUInt8 2022-06-29 15:33:28 -07:00
prepare-for-globalize-object-graph.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
promote-types.mlir llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
reduce-op-variants-error.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
reduce-op-variants.mlir Add basic support for list of optional tensors in reduce-op-variants (#971) 2022-07-08 11:12:15 -07:00
refine-public-return.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
refine-types-branch.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
refine-types-ops.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
refine-types.mlir torch: handle `torch.prim.dtype` ops during type refinement (#1013) 2022-07-08 16:38:51 -07:00
reify-shape-calculations.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
simplify-shape-calculations.mlir canonicalizer: [nfc] update LIT variable names for consistency (#1051) 2022-07-13 12:28:25 -07:00
verify-conversion-to-value-semantics.mlir torch: add pass to catch non-value tensors (#1052) 2022-07-13 17:11:15 -07:00