File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ using namespace mlir;
26
26
using namespace mlir ::LLVM;
27
27
using mlir::LLVM::detail::getLLVMConstant;
28
28
29
+ // The include below has a static function unused in this translation unit,
30
+ // declare it as such to silence a warning.
31
+ static LLVM_ATTRIBUTE_UNUSED ::llvm::GlobalValue::LinkageTypes
32
+ convertLinkageToLLVM (::mlir::LLVM::Linkage value);
33
+
29
34
#include " mlir/Dialect/LLVMIR/LLVMConversionEnumsToLLVM.inc"
30
35
31
36
// / Convert MLIR integer comparison predicate to LLVM IR comparison predicate.
Original file line number Diff line number Diff line change @@ -46,6 +46,11 @@ using namespace mlir;
46
46
using namespace mlir ::LLVM;
47
47
using namespace mlir ::LLVM::detail;
48
48
49
+ // The include below has a static function unused in this translation unit,
50
+ // declare it as such to silence a warning.
51
+ static LLVM_ATTRIBUTE_UNUSED ::llvm::InlineAsm::AsmDialect
52
+ convertAsmDialectToLLVM (::mlir::LLVM::AsmDialect value);
53
+
49
54
#include " mlir/Dialect/LLVMIR/LLVMConversionEnumsToLLVM.inc"
50
55
51
56
// / Builds a constant of a sequential LLVM type `type`, potentially containing
You can’t perform that action at this time.
0 commit comments