forked from OSchip/llvm-project
Fix namespaces on a few pass factory functions.
-- PiperOrigin-RevId: 246035278
This commit is contained in:
parent
17d3acf40c
commit
e402d4330d
|
@ -386,7 +386,7 @@ void LowerUniformRealMathPass::runOnFunction() {
|
|||
applyPatternsGreedily(fn, std::move(patterns));
|
||||
}
|
||||
|
||||
FunctionPassBase *createLowerUniformRealMathPass() {
|
||||
FunctionPassBase *mlir::fxpmath::createLowerUniformRealMathPass() {
|
||||
return new LowerUniformRealMathPass();
|
||||
}
|
||||
|
||||
|
@ -406,7 +406,7 @@ void LowerUniformCastsPass::runOnFunction() {
|
|||
applyPatternsGreedily(fn, std::move(patterns));
|
||||
}
|
||||
|
||||
FunctionPassBase *createLowerUniformCastsPass() {
|
||||
FunctionPassBase *mlir::fxpmath::createLowerUniformCastsPass() {
|
||||
return new LowerUniformCastsPass();
|
||||
}
|
||||
|
||||
|
|
|
@ -126,7 +126,9 @@ void ConvertConstPass::runOnFunction() {
|
|||
applyPatternsGreedily(func, std::move(patterns));
|
||||
}
|
||||
|
||||
FunctionPassBase *createConvertConstPass() { return new ConvertConstPass(); }
|
||||
FunctionPassBase *mlir::quant::createConvertConstPass() {
|
||||
return new ConvertConstPass();
|
||||
}
|
||||
|
||||
static PassRegistration<ConvertConstPass>
|
||||
pass("quant-convert-const",
|
||||
|
|
|
@ -104,7 +104,7 @@ void ConvertSimulatedQuantPass::runOnFunction() {
|
|||
signalPassFailure();
|
||||
}
|
||||
|
||||
FunctionPassBase *createConvertSimulatedQuantPass() {
|
||||
FunctionPassBase *mlir::quant::createConvertSimulatedQuantPass() {
|
||||
return new ConvertSimulatedQuantPass();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue