forked from OSchip/llvm-project
[mlir] Drop LLVM dialect from TestPolynomialApproximation
No longer needed after c1ebefdf77
This commit is contained in:
parent
93e084e7e8
commit
35d6e75aba
|
@ -8,7 +8,6 @@ add_mlir_library(MLIRMathTestPasses
|
|||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRMathTransforms
|
||||
MLIRLLVMIR
|
||||
MLIRPass
|
||||
MLIRTransformUtils
|
||||
MLIRVector
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
|
||||
#include "mlir/Dialect/Math/IR/Math.h"
|
||||
#include "mlir/Dialect/Math/Transforms/Passes.h"
|
||||
#include "mlir/Dialect/Vector/VectorOps.h"
|
||||
|
@ -25,8 +24,7 @@ struct TestMathPolynomialApproximationPass
|
|||
: public PassWrapper<TestMathPolynomialApproximationPass, FunctionPass> {
|
||||
void runOnFunction() override;
|
||||
void getDependentDialects(DialectRegistry ®istry) const override {
|
||||
registry
|
||||
.insert<vector::VectorDialect, math::MathDialect, LLVM::LLVMDialect>();
|
||||
registry.insert<vector::VectorDialect, math::MathDialect>();
|
||||
}
|
||||
StringRef getArgument() const final {
|
||||
return "test-math-polynomial-approximation";
|
||||
|
|
Loading…
Reference in New Issue