From 63406bad124eb458239643d79c962def95a6f3a8 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Fri, 4 Nov 2022 17:15:31 +0800 Subject: [PATCH] fix(ycm): make ycm happy with llvm GitOrigin-RevId: 19e2db3edbd9784165dd07c6ddedf5e038ad5461 --- src/jit/impl/mlir/compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jit/impl/mlir/compiler.cpp b/src/jit/impl/mlir/compiler.cpp index ec7c9a897..c1d19cb36 100644 --- a/src/jit/impl/mlir/compiler.cpp +++ b/src/jit/impl/mlir/compiler.cpp @@ -57,7 +57,7 @@ mlir::OwnedBlob compile_ptx_to_cubin( } std::unique_ptr translate_module_to_nvvm_ir_and_link_device( - Operation* m, llvm::LLVMContext& llvmContext, llvm::StringRef name) { + Operation* m, llvm::LLVMContext& llvmContext, llvm::StringRef /*name*/) { std::unique_ptr module = mlir::translateModuleToNVVMIR(m, llvmContext); auto get_device_path = []() -> std::string { -- GitLab