[Mlir-commits] [mlir] 7c16cb6 - [mlir-opt][nfc] Remove dead function decls

Cullen Rhodes llvmlistbot at llvm.org
Wed Feb 7 10:48:47 PST 2024


Author: Cullen Rhodes
Date: 2024-02-07T18:48:06Z
New Revision: 7c16cb6b3361ff4217004d0cc43f158dea221620

URL: https://github.com/llvm/llvm-project/commit/7c16cb6b3361ff4217004d0cc43f158dea221620
DIFF: https://github.com/llvm/llvm-project/commit/7c16cb6b3361ff4217004d0cc43f158dea221620.diff

LOG: [mlir-opt][nfc] Remove dead function decls

This removes 3 dead function decls from mlir-opt:
- registerTestLowerToNVVM - recently removed in #75775 when NVVM was
  productized.
- registerTestPreparationPassWithAllowedMemrefResults - removed in
  D90778 (f7bc56826616).
- registerTestGenericIRVisitorsInterruptPass - added in D116230
  (8067ced144a2) but never existed. Pass is registered by
  registerTestGenericIRVisitorsPass.

Added: 
    

Modified: 
    mlir/tools/mlir-opt/mlir-opt.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/tools/mlir-opt/mlir-opt.cpp b/mlir/tools/mlir-opt/mlir-opt.cpp
index 428bdd9691e095..52da9e98603c67 100644
--- a/mlir/tools/mlir-opt/mlir-opt.cpp
+++ b/mlir/tools/mlir-opt/mlir-opt.cpp
@@ -96,7 +96,6 @@ void registerTestMultiBuffering();
 void registerTestIntRangeInference();
 void registerTestIRVisitorsPass();
 void registerTestGenericIRVisitorsPass();
-void registerTestGenericIRVisitorsInterruptPass();
 void registerTestInterfaces();
 void registerTestLastModifiedPass();
 void registerTestLinalgDecomposeOps();
@@ -111,7 +110,6 @@ void registerTestCFGLoopInfoPass();
 void registerTestLoopMappingPass();
 void registerTestLoopUnrollingPass();
 void registerTestLowerToLLVM();
-void registerTestLowerToNVVM();
 void registerTestMakeIsolatedFromAbovePass();
 void registerTestMatchReductionPass();
 void registerTestMathAlgebraicSimplificationPass();
@@ -125,7 +123,6 @@ void registerTestNextAccessPass();
 void registerTestOneToNTypeConversionPass();
 void registerTestOpaqueLoc();
 void registerTestPadFusion();
-void registerTestPreparationPassWithAllowedMemrefResults();
 void registerTestRecursiveTypesPass();
 void registerTestSCFUtilsPass();
 void registerTestSCFWhileOpBuilderPass();


        


More information about the Mlir-commits mailing list