torch-mlir/lib/Dialect/Torch/Transforms
Matthias Gehre 64d7626a52
Fixes for split tensor and slice (#2314)
* RecomposeComplexOps: Remove dead slice op

* lib/Dialect/Torch/IR/TorchOps.cpp: Fold slice ops even when they are on non-value tensors

* lib/Conversion/TorchToTosa/TorchToTosa.cpp: Fix slice start/end out of range/none

* lib/Dialect/Torch/IR/TorchOps.cpp: AtenSliceTensorOp::fold: Fold slices that go from 0:int_max

* More tests for aten.split.Tensor
2023-07-20 09:53:54 +02:00
..
AbstractInterpLibrary.cpp Fix handling of `!torch.number` in abstract interpretation library (#2309) 2023-07-17 09:52:04 -07:00
AdjustCallingConventions.cpp Bump LLVM (#2176) 2023-06-13 16:17:23 +02:00
CMakeLists.txt Replace RefineTypes with dtype functions (#2105) 2023-05-12 13:40:45 -07:00
DecomposeComplexOps.cpp [torch-dialect] fix aten.type_as op's folder (#2283) 2023-07-20 09:51:58 +08:00
DropAbstractInterpCalculations.cpp Update to LLVM 029313cc979ae71877b65794b1063d4e51184cc8 2023-03-21 04:16:20 -07:00
EraseModuleInitializer.cpp update llvm to d23516e9ad477527a9db4d06b1fa9566680ac67c (#1812) 2023-01-23 16:34:22 -08:00
GlobalizeObjectGraph.cpp update llvm to d23516e9ad477527a9db4d06b1fa9566680ac67c (#1812) 2023-01-23 16:34:22 -08:00
InlineGlobalSlots.cpp update llvm to d23516e9ad477527a9db4d06b1fa9566680ac67c (#1812) 2023-01-23 16:34:22 -08:00
LowerToBackendContract.cpp [torch-dialect] fix aten.type_as op's folder (#2283) 2023-07-20 09:51:58 +08:00
MaximizeValueSemantics.cpp Add alias analysis for cast-like ops to maximize-value-semantics (#2160) 2023-05-25 17:05:41 +00:00
PassDetail.h llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
Passes.cpp Replace RefineTypes with dtype functions (#2105) 2023-05-12 13:40:45 -07:00
PrepareForGlobalizeObjectGraph.cpp update llvm to d23516e9ad477527a9db4d06b1fa9566680ac67c (#1812) 2023-01-23 16:34:22 -08:00
RecomposeComplexOps.cpp Fixes for split tensor and slice (#2314) 2023-07-20 09:53:54 +02:00
ReduceOpVariants.cpp handles 2,3,4 from https://github.com/llvm/torch-mlir/issues/1963 (#1964) 2023-03-24 21:50:01 -05:00
RefinePublicReturn.cpp Add support for returning more than one copy of the same tensor (#1228) 2022-08-18 22:41:45 +00:00
ReifyAbstractInterpCalculationsUtils.cpp Fix handling of `!torch.number` in abstract interpretation library (#2309) 2023-07-17 09:52:04 -07:00
ReifyAbstractInterpCalculationsUtils.h handles 2,3,4 from https://github.com/llvm/torch-mlir/issues/1963 (#1964) 2023-03-24 21:50:01 -05:00
ReifyDtypeCalculations.cpp handles 2,3,4 from https://github.com/llvm/torch-mlir/issues/1963 (#1964) 2023-03-24 21:50:01 -05:00
ReifyShapeCalculations.cpp handles 2,3,4 from https://github.com/llvm/torch-mlir/issues/1963 (#1964) 2023-03-24 21:50:01 -05:00
SimplifyAbstractInterpCalculationsUtils.cpp Replace RefineTypes with dtype functions (#2105) 2023-05-12 13:40:45 -07:00
SimplifyAbstractInterpCalculationsUtils.h Replace RefineTypes with dtype functions (#2105) 2023-05-12 13:40:45 -07:00
SimplifyDtypeCalculations.cpp [Torch Dialect] avoid assertion failure when PrimNumToTensorScalarOp'… (#2256) 2023-06-23 16:02:45 +08:00
SimplifyShapeCalculations.cpp Replace RefineTypes with dtype functions (#2105) 2023-05-12 13:40:45 -07:00