diff --git a/mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp b/mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp --- a/mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp +++ b/mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp @@ -334,5 +334,9 @@ LLVMInitializeAMDGPUAsmPrinter(); mlir::initializeLLVMPasses(); - return mlir::JitRunnerMain(argc, argv, &runMLIRPasses); + + mlir::JitRunnerConfig jitRunnerConfig; + jitRunnerConfig.mlirTransformer = &runMLIRPasses; + + return mlir::JitRunnerMain(argc, argv, jitRunnerConfig); }