Skip to content

Commit 571a867

Browse files
[mlir] Fix a warning
This patch fixes: mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:128:1: error: unused function 'convertOperandBundles' [-Werror,-Wunused-function]
1 parent fde3c16 commit 571a867

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,6 @@ convertOperandBundles(OperandRangeRange bundleOperands,
124124
return bundles;
125125
}
126126

127-
static SmallVector<llvm::OperandBundleDef>
128-
convertOperandBundles(OperandRangeRange bundleOperands,
129-
std::optional<ArrayRef<std::string>> bundleTags,
130-
LLVM::ModuleTranslation &moduleTranslation) {
131-
if (!bundleTags)
132-
bundleTags.emplace();
133-
return convertOperandBundles(bundleOperands, *bundleTags, moduleTranslation);
134-
}
135-
136127
/// Builder for LLVM_CallIntrinsicOp
137128
static LogicalResult
138129
convertCallLLVMIntrinsicOp(CallIntrinsicOp op, llvm::IRBuilderBase &builder,

0 commit comments

Comments
 (0)