[Mlir-commits] [mlir] [mlir][LLVMIR] Add IFuncOp to LLVM dialect (PR #147697)

Tobias Gysi llvmlistbot at llvm.org
Wed Jul 9 12:50:22 PDT 2025


================
@@ -1973,8 +1998,9 @@ ModuleImport::convertCallOperands(llvm::CallBase *callInst,
   // treated as indirect calls to constant operands that need to be converted.
   // Skip the callee operand if it's inline assembly, as it's handled separately
   // in InlineAsmOp.
-  if (!isa<llvm::Function>(callInst->getCalledOperand()) && !isInlineAsm) {
-    FailureOr<Value> called = convertValue(callInst->getCalledOperand());
+  llvm::Value *caleeOperand = callInst->getCalledOperand();
----------------
gysit wrote:

```suggestion
  llvm::Value *calleeOperand = callInst->getCalledOperand();
```


https://github.com/llvm/llvm-project/pull/147697


More information about the Mlir-commits mailing list