[Mlir-commits] [mlir] [MLIR] Fix import of calls with mismatched variadic types (PR #124286)
Christian Ulmann
llvmlistbot at llvm.org
Fri Jan 24 07:54:57 PST 2025
================
@@ -1593,23 +1600,21 @@ LogicalResult ModuleImport::convertInstruction(llvm::Instruction *inst) {
return success();
}
if (inst->getOpcode() == llvm::Instruction::Call) {
- auto *callInst = cast<llvm::CallInst>(inst);
+ auto callInst = cast<llvm::CallInst>(inst);
+ auto calledOperand = callInst->getCalledOperand();
----------------
Dinistro wrote:
Nit: Avoid `auto` here.
https://github.com/llvm/llvm-project/pull/124286
More information about the Mlir-commits
mailing list