Remove FxpMathOps dialect and Quantizer tool.
authorStella Laurenzo <stellaraccident@gmail.com>
Sun, 5 Apr 2020 02:22:05 +0000 (19:22 -0700)
committerStella Laurenzo <stellaraccident@gmail.com>
Tue, 7 Apr 2020 20:22:39 +0000 (13:22 -0700)
commitf5deb0878d9a381a246d30b87a180b4369bf4ea8
treea7bd89b703e2c6989f70c740290b5fd98d47b776
parentda4ffc64e4a13d9d5fea5acff63b24d74a065cef
Remove FxpMathOps dialect and Quantizer tool.

Summary:
* Removal of FxpMathOps was discussed on the mailing list.
* Will send a courtesy note about also removing the Quantizer (which had some dependencies on FxpMathOps).
* These were only ever used for experimental purposes and we know how to get them back from history as needed.
* There is a new proposal for more generalized quantization tooling, so moving these older experiments out of the way helps clean things up.

Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77479
53 files changed:
mlir/docs/Passes.md
mlir/docs/Quantization.md
mlir/examples/standalone/standalone-opt/CMakeLists.txt
mlir/include/mlir/CMakeLists.txt
mlir/include/mlir/Dialect/CMakeLists.txt
mlir/include/mlir/Dialect/FxpMathOps/CMakeLists.txt [deleted file]
mlir/include/mlir/Dialect/FxpMathOps/FxpMathOps.h [deleted file]
mlir/include/mlir/Dialect/FxpMathOps/FxpMathOps.td [deleted file]
mlir/include/mlir/Dialect/FxpMathOps/Passes.h [deleted file]
mlir/include/mlir/Dialect/FxpMathOps/Passes.td [deleted file]
mlir/include/mlir/InitAllDialects.h
mlir/include/mlir/InitAllPasses.h
mlir/include/mlir/Quantizer/CMakeLists.txt [deleted file]
mlir/include/mlir/Quantizer/Configurations/FxpMathConfig.h [deleted file]
mlir/include/mlir/Quantizer/Support/Configuration.h [deleted file]
mlir/include/mlir/Quantizer/Support/ConstraintAnalysisGraph.h [deleted file]
mlir/include/mlir/Quantizer/Support/ConstraintAnalysisGraphTraits.h [deleted file]
mlir/include/mlir/Quantizer/Support/Metadata.h [deleted file]
mlir/include/mlir/Quantizer/Support/Rules.h [deleted file]
mlir/include/mlir/Quantizer/Support/Statistics.h [deleted file]
mlir/include/mlir/Quantizer/Support/TypeUtils.h [deleted file]
mlir/include/mlir/Quantizer/Support/UniformConstraints.h [deleted file]
mlir/include/mlir/Quantizer/Support/UniformSolvers.h [deleted file]
mlir/include/mlir/Quantizer/Transforms/CMakeLists.txt [deleted file]
mlir/include/mlir/Quantizer/Transforms/Passes.h [deleted file]
mlir/include/mlir/Quantizer/Transforms/Passes.td [deleted file]
mlir/lib/CMakeLists.txt
mlir/lib/Dialect/CMakeLists.txt
mlir/lib/Dialect/FxpMathOps/CMakeLists.txt [deleted file]
mlir/lib/Dialect/FxpMathOps/IR/FxpMathOps.cpp [deleted file]
mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp [deleted file]
mlir/lib/Dialect/FxpMathOps/Transforms/UniformKernelUtils.h [deleted file]
mlir/lib/Quantizer/CMakeLists.txt [deleted file]
mlir/lib/Quantizer/Configurations/FxpMathConfig.cpp [deleted file]
mlir/lib/Quantizer/Support/Configuration.cpp [deleted file]
mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp [deleted file]
mlir/lib/Quantizer/Support/Metadata.cpp [deleted file]
mlir/lib/Quantizer/Support/Statistics.cpp [deleted file]
mlir/lib/Quantizer/Support/TypeUtils.cpp [deleted file]
mlir/lib/Quantizer/Support/UniformConstraints.cpp [deleted file]
mlir/lib/Quantizer/Support/UniformSolvers.cpp [deleted file]
mlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp [deleted file]
mlir/lib/Quantizer/Transforms/InferQuantizedTypesPass.cpp [deleted file]
mlir/lib/Quantizer/Transforms/RemoveInstrumentationPass.cpp [deleted file]
mlir/test/Dialect/FxpMathOps/lower-uniform-casts.mlir [deleted file]
mlir/test/Dialect/FxpMathOps/lower-uniform-real-math-addew.mlir [deleted file]
mlir/test/Dialect/FxpMathOps/lower-uniform-real-math-mulew.mlir [deleted file]
mlir/test/Quantizer/matmul.mlir [deleted file]
mlir/test/Quantizer/remove-instrumentation.mlir [deleted file]
mlir/test/mlir-opt/commandline.mlir
mlir/tools/mlir-opt/CMakeLists.txt
mlir/unittests/Quantizer/Support/RulesTest.cpp [deleted file]
mlir/unittests/Quantizer/Support/UniformSolversTest.cpp [deleted file]