diff options
author | River Riddle <riverriddle@google.com> | 2019-09-13 13:33:46 -0700 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-09-13 13:34:27 -0700 |
commit | f1b100c77ba005899c60f3dea74607d5daad3f52 (patch) | |
tree | f56bf4334aaf24694db7cc33d6bbd48ba1f14a07 /mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp | |
parent | a260436714b35584bbc1cdd39834b5556b991178 (diff) | |
download | bcm5719-llvm-f1b100c77ba005899c60f3dea74607d5daad3f52.tar.gz bcm5719-llvm-f1b100c77ba005899c60f3dea74607d5daad3f52.zip |
NFC: Finish replacing FunctionPassBase/ModulePassBase with OpPassBase.
These directives were temporary during the generalization of FunctionPass/ModulePass to OpPass.
PiperOrigin-RevId: 268970259
Diffstat (limited to 'mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp')
-rw-r--r-- | mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp b/mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp index 83307da957b..a4fd98bb89e 100644 --- a/mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp +++ b/mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp @@ -372,7 +372,7 @@ void LowerUniformRealMathPass::runOnFunction() { applyPatternsGreedily(fn, patterns); } -FunctionPassBase *mlir::fxpmath::createLowerUniformRealMathPass() { +OpPassBase<FuncOp> *mlir::fxpmath::createLowerUniformRealMathPass() { return new LowerUniformRealMathPass(); } @@ -392,7 +392,7 @@ void LowerUniformCastsPass::runOnFunction() { applyPatternsGreedily(fn, patterns); } -FunctionPassBase *mlir::fxpmath::createLowerUniformCastsPass() { +OpPassBase<FuncOp> *mlir::fxpmath::createLowerUniformCastsPass() { return new LowerUniformCastsPass(); } |