[Mlir-commits] [mlir] [MLIR] Fix import of calls with mismatched variadic types (PR #124286)
Tobias Gysi
llvmlistbot at llvm.org
Fri Jan 24 07:54:59 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();
----------------
gysit wrote:
```suggestion
llvm::Value* calledOperand = callInst->getCalledOperand();
```
nit: it makes sense to spell the type out here since it is not obvious from the rhs. I think it is an llvm:Value?
https://github.com/llvm/llvm-project/pull/124286
More information about the Mlir-commits
mailing list