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

Robert Konicar llvmlistbot at llvm.org
Wed Jul 16 06:28:10 PDT 2025


================
@@ -1931,3 +1931,20 @@ llvm.func @invalid_xevm_matrix_3(%a: !llvm.ptr<1>, %base_width_a: i32, %base_hei
   llvm.return %loaded_a : vector<8xi16>
 }
 
+// -----
+
+llvm.func external @resolve_foo() -> !llvm.ptr attributes {dso_local}
+// expected-error at +1 {{'llvm.mlir.ifunc' op resolver must be a definition}}
----------------
Jezurko wrote:

Do you mean in the whole file? (Can do, just confirming before I add another 100+ lines of changes to the PR)

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


More information about the Mlir-commits mailing list