onnx-mlir/src/Transform
Tian Jin 01a4977c74
Remove optimize_loops/return_loops op. (#200)
* Remove optimize_loops/return_loops op in elementwise ops lowering and fix tests in onnx_lowering.mlir.

* Fix all tests.

* Remove all occurences of def_loops/return_loops.

* Fix test.

* Fix comments for defineLoops & emitKrnlLoopsAndIterationForOperand function.

* Remove emitOptimizedLoops.

* Allow not specifying optimizedLoops when creating KrnlIterateOperandPack.

* Fix style.

* Make BuildKernelLoop helper not emit optimize/return_loop operations & retire emitKrnlLoopsAndIterationForOperand by replacing it with BuildKernelLoop.

* DefineLoops -> DefineLoopsEx, remove redundant emitKrnlLoopsAndIterationForOperand function.

* BuildKrnlLoop API name update.

* Tweak comments.

* Remove unused withEmptyOptimization flag.

* Better comment for BuildKrnlLoop.

* Fully remove krnl.return_loops/optimize_loops op.

* Trigger Windows Build

* Bump windows ci python version.
2020-07-08 12:49:15 +08:00
..
ONNX Remove whole archive linkage (#173) 2020-06-19 00:21:27 +08:00
CMakeLists.txt Compiling Models with Large Constant Arrays (#146) 2020-06-12 10:27:05 +08:00
ElideKrnlGlobalConstants.cpp Remove whole archive linkage (#173) 2020-06-19 00:21:27 +08:00
ElideKrnlGlobalConstants.hpp Compiling Models with Large Constant Arrays (#146) 2020-06-12 10:27:05 +08:00
EnableMemoryPool.cpp Remove whole archive linkage (#173) 2020-06-19 00:21:27 +08:00
LowerKrnl.cpp Remove optimize_loops/return_loops op. (#200) 2020-07-08 12:49:15 +08:00
LowerToLLVM.cpp Update llvm version (#187) 2020-07-07 21:26:00 +08:00
PackKrnlGlobalConstants.cpp Compiling Models with Large Constant Arrays (#146) 2020-06-12 10:27:05 +08:00