[Mlir-commits] [mlir] c6e917d - [mlir][NFC] Remove cl::opts for LoopUnroll now that the pass uses PassOptions
River Riddle
llvmlistbot at llvm.org
Wed Apr 8 13:24:29 PDT 2020
Author: River Riddle
Date: 2020-04-08T13:24:09-07:00
New Revision: c6e917d2d3ea07960721923230c34abe3b6214cc
URL: https://github.com/llvm/llvm-project/commit/c6e917d2d3ea07960721923230c34abe3b6214cc
DIFF: https://github.com/llvm/llvm-project/commit/c6e917d2d3ea07960721923230c34abe3b6214cc.diff
LOG: [mlir][NFC] Remove cl::opts for LoopUnroll now that the pass uses PassOptions
instead.
These were missed when the opts were replaced, and are unused.
Added:
Modified:
mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp b/mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
index 1dcbc81f640a..edb21384080f 100644
--- a/mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
+++ b/mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
@@ -26,29 +26,6 @@ using namespace mlir;
#define DEBUG_TYPE "affine-loop-unroll"
-static llvm::cl::OptionCategory clOptionsCategory(DEBUG_TYPE " options");
-
-// Loop unrolling factor.
-static llvm::cl::opt<unsigned> clUnrollFactor(
- "unroll-factor",
- llvm::cl::desc("Use this unroll factor for all loops being unrolled"),
- llvm::cl::cat(clOptionsCategory));
-
-static llvm::cl::opt<bool> clUnrollFull("unroll-full",
- llvm::cl::desc("Fully unroll loops"),
- llvm::cl::cat(clOptionsCategory));
-
-static llvm::cl::opt<unsigned> clUnrollNumRepetitions(
- "unroll-num-reps",
- llvm::cl::desc("Unroll innermost loops repeatedly this many times"),
- llvm::cl::cat(clOptionsCategory));
-
-static llvm::cl::opt<unsigned> clUnrollFullThreshold(
- "unroll-full-threshold", llvm::cl::Hidden,
- llvm::cl::desc(
- "Unroll all loops with trip count less than or equal to this"),
- llvm::cl::cat(clOptionsCategory));
-
namespace {
// TODO: this is really a test pass and should be moved out of dialect
More information about the Mlir-commits
mailing list