Skip to content

Commit

Permalink
pr: Add standard transformation passes to vast-detect-parsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
frabert committed Dec 17, 2024
1 parent 4623367 commit 4c79bb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/vast-detect-parsers/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ VAST_RELAX_WARNINGS
#include "mlir/InitAllDialects.h"
#include "mlir/Pass/PassOptions.h"
#include "mlir/Tools/mlir-opt/MlirOptMain.h"
#include "mlir/Transforms/Passes.h"

#include <llvm/Support/FileSystem.h>
#include <llvm/Support/raw_ostream.h>
Expand Down Expand Up @@ -93,6 +94,7 @@ int main(int argc, char **argv) {
vast::registerParserConversionPasses();
vast::registerSarifPasses();
mlir::registerConversionPasses();
mlir::registerTransformsPasses();
registry.insert< vast::pr::ParserDialect >();

return mlir::asMainReturnCode(
Expand Down

0 comments on commit 4c79bb3

Please sign in to comment.