torch-mlir/test/Dialect/Torch
Ashay Rane 163fa57cde
torch: allow torch dialect ops after running drop-shape pass (#979)
In the `pyhpc_turbulent_kinetic_energy` TorchBench benchmark, the shape
calculation occurs inside loops, but because `DropShapeCalculationsPass`
does not explicitly mark the Torch dialect as legal, the pass execution
fails.

This patch adds Torch to the list of legal dialects, and adds a test to
validate the translation.
2022-06-25 07:27:47 -07:00
..
GlobalizeObjectGraph mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
adjust-calling-conventions.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
canonicalize.mlir Add canonicalization for aten.add.tensor op 2022-06-23 17:24:59 -04:00
decompose-complex-ops.mlir [MLIR][TORCH] Add decomposition of aten.numpy_T op 2022-06-16 00:01:22 +05:30
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 mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -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 mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -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 mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -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 mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00