[Mlir-commits] [mlir] [mlir][LLVMIR] Add IFuncOp to LLVM dialect (PR #147697)
Tobias Gysi
llvmlistbot at llvm.org
Fri Jul 11 12:13:01 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}}
----------------
gysit wrote:
```suggestion
// expected-error at below {{'llvm.mlir.ifunc' op resolver must be a definition}}
```
ultra nit: below is preferred, can you change the other tests as well?
https://github.com/llvm/llvm-project/pull/147697
More information about the Mlir-commits
mailing list