summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LowerVectorTransfers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Transforms/LowerVectorTransfers.cpp')
-rw-r--r--mlir/lib/Transforms/LowerVectorTransfers.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/mlir/lib/Transforms/LowerVectorTransfers.cpp b/mlir/lib/Transforms/LowerVectorTransfers.cpp
index bd43a637665..ac8f7e064f5 100644
--- a/mlir/lib/Transforms/LowerVectorTransfers.cpp
+++ b/mlir/lib/Transforms/LowerVectorTransfers.cpp
@@ -434,13 +434,11 @@ struct LowerVectorTransfersPass
// Thread-safe RAII context with local scope. BumpPtrAllocator freed on exit.
edsc::ScopedEDSCContext raiiContext;
- static char passID;
+ constexpr static PassID passID = {};
};
} // end anonymous namespace
-char LowerVectorTransfersPass::passID = 0;
-
FunctionPass *mlir::createLowerVectorTransfersPass() {
return new LowerVectorTransfersPass();
}
OpenPOWER on IntegriCloud