Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation cleanup when operation was removed #3061

Merged
Prev Previous commit
Next Next commit
format
Signed-off-by: Alexandre Eichenberger <[email protected]>
  • Loading branch information
AlexandreEichenberger committed Feb 1, 2025
commit a9b774d5bea287398a9af24ce3b61628b61e0899
5 changes: 3 additions & 2 deletions src/Tools/onnx-mlir-opt/RegisterPasses.cpp
Original file line number Diff line number Diff line change
@@ -70,8 +70,9 @@ void registerOMPasses(int optLevel) {
mlir::registerPass(
[]() -> std::unique_ptr<mlir::Pass> { return createInstrumentPass(); });

mlir::registerPass(
[]() -> std::unique_ptr<mlir::Pass> { return createInstrumentCleanupPass(); });
mlir::registerPass([]() -> std::unique_ptr<mlir::Pass> {
return createInstrumentCleanupPass();
});

mlir::registerPass([]() -> std::unique_ptr<mlir::Pass> {
return createInstrumentONNXSignaturePass("NONE");