@@ -558,7 +558,7 @@ def ConvertGpuOpsToNVVMOps : Pass<"convert-gpu-to-nvvm", "gpu::GPUModuleOp"> {
558558 /*default=*/"false",
559559 "Replace memref arguments in GPU functions with bare pointers. "
560560 "All memrefs must have static shape.">,
561- ListOption<"filterDialects ", "filter -dialects", "std::string",
561+ ListOption<"allowedDialects ", "allowed -dialects", "std::string",
562562 "Run conversion patterns of only the specified dialects">,
563563 ];
564564}
@@ -589,14 +589,14 @@ def ConvertGpuOpsToROCDLOps : Pass<"convert-gpu-to-rocdl", "gpu::GPUModuleOp"> {
589589 Option<"runtime", "runtime", "::mlir::gpu::amd::Runtime",
590590 "::mlir::gpu::amd::Runtime::Unknown",
591591 "Runtime code will be run on (default is Unknown, can also use HIP "
592- "or OpenCl )",
592+ "or OpenCL )",
593593 [{::llvm::cl::values(
594594 clEnumValN(::mlir::gpu::amd::Runtime::Unknown, "unknown",
595595 "Unknown (default)"),
596596 clEnumValN(::mlir::gpu::amd::Runtime::HIP, "HIP", "HIP"),
597597 clEnumValN(::mlir::gpu::amd::Runtime::OpenCL, "OpenCL",
598598 "OpenCL"))}]>,
599- ListOption<"filterDialects ", "filter -dialects", "std::string",
599+ ListOption<"allowedDialects ", "allowed -dialects", "std::string",
600600 "Run conversion patterns of only the specified dialects">,
601601 ];
602602}
0 commit comments