torch-mlir/lib/Dialect
Ashay Rane 9017be9e9e
torch: copy uses to prevent iterator invalidation (#1033)
Prior to this patch, the code in the `torch-simplify-shape-calculations`
pass iterated on the uses of an op's result while also modifying the
value.  This caused the iterator to get invalidated, thus terminating
the loop early and producing incorrect IR.  This patch makes use of
`llvm::make_early_inc_range()` to ensure that the iterator is not
invalidated while executing the loop body.
2022-07-11 18:47:04 -07:00
..
Torch torch: copy uses to prevent iterator invalidation (#1033) 2022-07-11 18:47:04 -07:00
TorchConversion [MLIR][TORCH] Add folder for torch_c.from_i64 & torch_c.to_i64 (#933) 2022-06-24 09:34:39 +08:00
CMakeLists.txt Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00