[Mlir-commits] [mlir] 35d6e75 - [mlir] Drop LLVM dialect from TestPolynomialApproximation

Benjamin Kramer llvmlistbot at llvm.org
Wed Aug 11 15:59:59 PDT 2021


Author: Benjamin Kramer
Date: 2021-08-12T00:58:52+02:00
New Revision: 35d6e75aba03a64449a3fdd675be6dd4d413b819

URL: https://github.com/llvm/llvm-project/commit/35d6e75aba03a64449a3fdd675be6dd4d413b819
DIFF: https://github.com/llvm/llvm-project/commit/35d6e75aba03a64449a3fdd675be6dd4d413b819.diff

LOG: [mlir] Drop LLVM dialect from TestPolynomialApproximation

No longer needed after c1ebefdf77f34cc0b23597071098c8f8a8d2839b

Added: 
    

Modified: 
    mlir/test/lib/Dialect/Math/CMakeLists.txt
    mlir/test/lib/Dialect/Math/TestPolynomialApproximation.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/Dialect/Math/CMakeLists.txt b/mlir/test/lib/Dialect/Math/CMakeLists.txt
index fbb2e6452bc8..64cae2f77c5e 100644
--- a/mlir/test/lib/Dialect/Math/CMakeLists.txt
+++ b/mlir/test/lib/Dialect/Math/CMakeLists.txt
@@ -8,7 +8,6 @@ add_mlir_library(MLIRMathTestPasses
 
   LINK_LIBS PUBLIC
   MLIRMathTransforms
-  MLIRLLVMIR
   MLIRPass
   MLIRTransformUtils
   MLIRVector

diff  --git a/mlir/test/lib/Dialect/Math/TestPolynomialApproximation.cpp b/mlir/test/lib/Dialect/Math/TestPolynomialApproximation.cpp
index bfa9a1f1a1d3..160bc8356a46 100644
--- a/mlir/test/lib/Dialect/Math/TestPolynomialApproximation.cpp
+++ b/mlir/test/lib/Dialect/Math/TestPolynomialApproximation.cpp
@@ -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 &registry) 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";


        


More information about the Mlir-commits mailing list