File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ using namespace mlir;
3232// TODO: Consider removing this linking functionality from the SPIR-V CPU Runner
3333// flow in favour of a more proper host/device split like other runners.
3434// https://github.com/llvm/llvm-project/issues/115348
35- static llvm::cl::opt<bool > LinkNestedModules (
35+ static llvm::cl::opt<bool > linkNestedModules (
3636 " link-nested-modules" ,
3737 llvm::cl::desc (" Link two nested MLIR modules into a single LLVM IR module. "
3838 " Useful if both the host and device code can be run on the "
@@ -56,7 +56,7 @@ convertMLIRModule(Operation *op, llvm::LLVMContext &context) {
5656 return op->emitError (" op must be a 'builtin.module" ), nullptr ;
5757
5858 std::unique_ptr<llvm::Module> kernelModule;
59- if (LinkNestedModules ) {
59+ if (linkNestedModules ) {
6060 // Verify that there is only one nested module.
6161 auto modules = module .getOps <ModuleOp>();
6262 if (!llvm::hasSingleElement (modules)) {
@@ -73,7 +73,7 @@ convertMLIRModule(Operation *op, llvm::LLVMContext &context) {
7373 std::unique_ptr<llvm::Module> mainModule =
7474 translateModuleToLLVMIR (module , context);
7575
76- if (LinkNestedModules )
76+ if (linkNestedModules )
7777 llvm::Linker::linkModules (*mainModule, std::move (kernelModule));
7878
7979 return mainModule;
You can’t perform that action at this time.
0 commit comments