[llvm-branch-commits] [mlir] 22eb1cf - Remove unused functions.

Eric Christopher via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 19 14:48:52 PST 2021


Author: Eric Christopher
Date: 2021-01-19T14:44:34-08:00
New Revision: 22eb1cf89f38b33aaf082326ba4dcfee4f98913d

URL: https://github.com/llvm/llvm-project/commit/22eb1cf89f38b33aaf082326ba4dcfee4f98913d
DIFF: https://github.com/llvm/llvm-project/commit/22eb1cf89f38b33aaf082326ba4dcfee4f98913d.diff

LOG: Remove unused functions.

Added: 
    

Modified: 
    mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp b/mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
index bacf2d511111..006c68bb408a 100644
--- a/mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
+++ b/mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
@@ -215,13 +215,6 @@ void VectorizerTestPass::testComposeMaps(llvm::raw_ostream &outs) {
   simplifyAffineMap(res).print(outs << "\nComposed map: ");
 }
 
-static bool affineApplyOp(Operation &op) { return isa<AffineApplyOp>(op); }
-
-static bool singleResultAffineApplyOpWithoutUses(Operation &op) {
-  auto app = dyn_cast<AffineApplyOp>(op);
-  return app && app.use_empty();
-}
-
 /// Test for 'vectorizeAffineLoopNest' utility.
 void VectorizerTestPass::testVecAffineLoopNest() {
   std::vector<SmallVector<AffineForOp, 2>> loops;


        


More information about the llvm-branch-commits mailing list