diff options
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
| -rw-r--r-- | mlir/lib/Transforms/LoopTiling.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mlir/lib/Transforms/LoopTiling.cpp b/mlir/lib/Transforms/LoopTiling.cpp index 76e8e9254c9..2253d1d354a 100644 --- a/mlir/lib/Transforms/LoopTiling.cpp +++ b/mlir/lib/Transforms/LoopTiling.cpp @@ -52,13 +52,11 @@ struct LoopTiling : public FunctionPass { PassResult runOnFunction(Function *f) override; constexpr static unsigned kDefaultTileSize = 4; - static char passID; + constexpr static PassID passID = {}; }; } // end anonymous namespace -char LoopTiling::passID = 0; - // Tile size to use for all loops (overridden by -tile-sizes if provided). static llvm::cl::opt<unsigned> clTileSize("tile-size", llvm::cl::init(LoopTiling::kDefaultTileSize), |

